edponce / FACET

Framework for Annotation and Concept Extraction in Text
Other
2 stars 0 forks source link

Apply optimizations all across the board. #1

Open edponce opened 4 years ago

edponce commented 4 years ago

There are places for improving runtime performance:

edponce commented 4 years ago

Consider LRU cache from functools, https://docs.python.org/3/library/functools.html#functools.lru_cache

edponce commented 4 years ago

Try to improve _make_feature_set() in ngrams. Solve the unique-ordering of features, that is do not append integers.