nltk.FeatDict.get

FeatDict.get(name_or_path, default=None)[source]

If the feature with the given name or path exists, return its value; otherwise, return default.