mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
d093d6343b
* rename Pipe to TrainablePipe * split functionality between Pipe and TrainablePipe * remove unnecessary methods from certain components * cleanup * hasattr(component, "pipe") should be sufficient again * remove serialization and vocab/cfg from Pipe * unify _ensure_examples and validate_examples * small fixes * hasattr checks for self.cfg and self.vocab * make is_resizable and is_trainable properties * serialize strings.json instead of vocab * fix KB IO + tests * fix typos * more typos * _added_strings as a set * few more tests specifically for _added_strings field * bump to 3.0.0a36
36 lines
942 B
Python
36 lines
942 B
Python
from .attributeruler import AttributeRuler
|
|
from .dep_parser import DependencyParser
|
|
from .entity_linker import EntityLinker
|
|
from .ner import EntityRecognizer
|
|
from .entityruler import EntityRuler
|
|
from .lemmatizer import Lemmatizer
|
|
from .morphologizer import Morphologizer
|
|
from .pipe import Pipe
|
|
from .trainable_pipe import TrainablePipe
|
|
from .senter import SentenceRecognizer
|
|
from .sentencizer import Sentencizer
|
|
from .tagger import Tagger
|
|
from .textcat import TextCategorizer
|
|
from .tok2vec import Tok2Vec
|
|
from .functions import merge_entities, merge_noun_chunks, merge_subtokens
|
|
|
|
__all__ = [
|
|
"AttributeRuler",
|
|
"DependencyParser",
|
|
"EntityLinker",
|
|
"EntityRecognizer",
|
|
"EntityRuler",
|
|
"Morphologizer",
|
|
"Lemmatizer",
|
|
"TrainablePipe",
|
|
"Pipe",
|
|
"SentenceRecognizer",
|
|
"Sentencizer",
|
|
"Tagger",
|
|
"TextCategorizer",
|
|
"Tok2Vec",
|
|
"merge_entities",
|
|
"merge_noun_chunks",
|
|
"merge_subtokens",
|
|
]
|