mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Move UD scripts to bin
This commit is contained in:
parent
685fff40cf
commit
7400c7f8a7
|
@ -13,14 +13,14 @@ import srsly
|
|||
|
||||
import spacy
|
||||
import spacy.util
|
||||
from ...tokens import Token, Doc
|
||||
from ...gold import GoldParse
|
||||
from ...util import compounding, minibatch_by_words
|
||||
from ...syntax.nonproj import projectivize
|
||||
from ...matcher import Matcher
|
||||
from spacy.tokens import Token, Doc
|
||||
from spacy.gold import GoldParse
|
||||
from spacy.util import compounding, minibatch_by_words
|
||||
from spacy.syntax.nonproj import projectivize
|
||||
from spacy.matcher import Matcher
|
||||
|
||||
# from ...morphology import Fused_begin, Fused_inside
|
||||
from ... import displacy
|
||||
# from spacy.morphology import Fused_begin, Fused_inside
|
||||
from spacy import displacy
|
||||
from collections import defaultdict, Counter
|
||||
from timeit import default_timer as timer
|
||||
|
||||
|
@ -33,10 +33,10 @@ import numpy.random
|
|||
|
||||
from . import conll17_ud_eval
|
||||
|
||||
from ... import lang
|
||||
from ...lang import zh
|
||||
from ...lang import ja
|
||||
from ...lang import ru
|
||||
from spacy import lang
|
||||
from spacy.lang import zh
|
||||
from spacy.lang import ja
|
||||
from spacy.lang import ru
|
||||
|
||||
|
||||
################
|
|
@ -13,12 +13,12 @@ import json
|
|||
|
||||
import spacy
|
||||
import spacy.util
|
||||
from ...tokens import Token, Doc
|
||||
from ...gold import GoldParse
|
||||
from ...util import compounding, minibatch, minibatch_by_words
|
||||
from ...syntax.nonproj import projectivize
|
||||
from ...matcher import Matcher
|
||||
from ... import displacy
|
||||
from spacy.tokens import Token, Doc
|
||||
from spacy.gold import GoldParse
|
||||
from spacy.util import compounding, minibatch, minibatch_by_words
|
||||
from spacy.syntax.nonproj import projectivize
|
||||
from spacy.matcher import Matcher
|
||||
from spacy import displacy
|
||||
from collections import defaultdict, Counter
|
||||
from timeit import default_timer as timer
|
||||
|
||||
|
@ -28,9 +28,9 @@ import numpy.random
|
|||
|
||||
from . import conll17_ud_eval
|
||||
|
||||
from ... import lang
|
||||
from ...lang import zh
|
||||
from ...lang import ja
|
||||
from spacy import lang
|
||||
from spacy.lang import zh
|
||||
from spacy.lang import ja
|
||||
|
||||
try:
|
||||
import torch
|
|
@ -10,4 +10,3 @@ from .evaluate import evaluate # noqa: F401
|
|||
from .convert import convert # noqa: F401
|
||||
from .init_model import init_model # noqa: F401
|
||||
from .validate import validate # noqa: F401
|
||||
from .ud import ud_train, ud_evaluate # noqa: F401
|
||||
|
|
Loading…
Reference in New Issue
Block a user