nltk.tgrep.tgrep_compile

nltk.tgrep.tgrep_compile(tgrep_string)[source]

Parses (and tokenizes, if necessary) a TGrep search string into a lambda function.