lingtools.keylookup module¶
-
class
lingtools.keylookup.KeyLookUp(lookup_obj)[source]¶ Bases:
objectWraps around the call for looking up a key in a dictionary and returning the associated value. Current implementation uses marisa_trie (http://marisa-trie.readthedocs.io/).
Parameters: lookup_obj – The trie object where the look up will be performed.