def __init__(self, words=None, model=None, entity=None, case_sensitive=None, lexicon=None):
        """

        :param list(list(string)) words: list of words, each of which is a list of tokens.
        """
        self._dawg = dawg.CompletionDAWG()
        self.model = model if model is not None else self.model
        self.entity = entity if entity is not None else self.entity
        self.case_sensitive = case_sensitive if case_sensitive is not None else self.case_sensitive
        self.lexicon = lexicon if lexicon is not None else self.lexicon
        self._loaded_model = False
        if words is not None:
            self.build(words)
def __init__ ( self , words = None , model = None , entity = None , case_sensitive = None , lexicon = None ) : self . _dawg = dawg . CompletionDAWG ( ) self . model = model if model is not None else self . model self . entity = entity if entity is not None else self . entity self . case_sensitive = case_sensitive if case_sensitive is not None else self . case_sensitive self . lexicon = lexicon if lexicon is not None else self . lexicon self . _loaded_model = False if words is not None : self . build ( words )
:param list(list(string)) words: list of words, each of which is a list of tokens.