Move morphologizer under spacy/pipes

This commit is contained in:
Matthew Honnibal 2019-03-07 01:36:04 +01:00
parent bfa52d9d8a
commit fc1cc4c529
3 changed files with 3 additions and 2 deletions

View File

@ -41,8 +41,8 @@ MOD_NAMES = [
"spacy.vocab", "spacy.vocab",
"spacy.attrs", "spacy.attrs",
"spacy.morphology", "spacy.morphology",
"spacy._morphologizer",
"spacy.pipeline.pipes", "spacy.pipeline.pipes",
"spacy.pipelines.morphologizer",
"spacy.syntax.stateclass", "spacy.syntax.stateclass",
"spacy.syntax._state", "spacy.syntax._state",
"spacy.tokenizer", "spacy.tokenizer",

View File

@ -18,7 +18,7 @@ from .pipeline import DependencyParser, Tensorizer, Tagger, EntityRecognizer
from .pipeline import SimilarityHook, TextCategorizer, SentenceSegmenter from .pipeline import SimilarityHook, TextCategorizer, SentenceSegmenter
from .pipeline import merge_noun_chunks, merge_entities, merge_subtokens from .pipeline import merge_noun_chunks, merge_entities, merge_subtokens
from .pipeline import EntityRuler from .pipeline import EntityRuler
from ._morphologizer import Morphologizer from .pipeline import Morphologizer
from .compat import izip, basestring_ from .compat import izip, basestring_
from .gold import GoldParse from .gold import GoldParse
from .scorer import Scorer from .scorer import Scorer

View File

@ -3,6 +3,7 @@ from __future__ import unicode_literals
from .pipes import Tagger, DependencyParser, EntityRecognizer # noqa from .pipes import Tagger, DependencyParser, EntityRecognizer # noqa
from .pipes import TextCategorizer, Tensorizer, Pipe # noqa from .pipes import TextCategorizer, Tensorizer, Pipe # noqa
from .morphologizer import Morphologizer
from .entityruler import EntityRuler # noqa from .entityruler import EntityRuler # noqa
from .hooks import SentenceSegmenter, SimilarityHook # noqa from .hooks import SentenceSegmenter, SimilarityHook # noqa
from .functions import merge_entities, merge_noun_chunks, merge_subtokens # noqa from .functions import merge_entities, merge_noun_chunks, merge_subtokens # noqa