mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-02 18:06:46 +03:00
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. |
||
---|---|---|
.. | ||
__init__.py | ||
entityruler.py | ||
functions.py | ||
hooks.py | ||
pipes.pyx |