spaCy/spacy/pipeline
Matthew Honnibal b7c75049f7 Support 'bow' architecture for TextCategorizer
This allows efficient ngram bag-of-words models, which are better when
the classifier needs to run quickly, especially when the texts are long.
Pass architecture="bow" to use it. The extra arguments ngram_size and
attr are also available, e.g. ngram_size=2 means unigram and bigram
features will be extracted.
2019-03-23 16:08:27 +01:00
..
__init__.py 💫 Add better and serializable sentencizer (#3471) 2019-03-23 15:45:02 +01:00
entityruler.py 💫 Add better and serializable sentencizer (#3471) 2019-03-23 15:45:02 +01:00
functions.py Tidy up and improve docs and docstrings (#3370) 2019-03-08 11:42:26 +01:00
hooks.py 💫 Add better and serializable sentencizer (#3471) 2019-03-23 15:45:02 +01:00
pipes.pyx Support 'bow' architecture for TextCategorizer 2019-03-23 16:08:27 +01:00