mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Extend to weasel v0.3 (#12908)
* Extend to weasel v0.3 * Clean up unused imports in test_cli
This commit is contained in:
parent
6a4aa43164
commit
198488ee86
|
@ -12,7 +12,7 @@ catalogue>=2.0.6,<2.1.0
|
|||
typer>=0.3.0,<0.10.0
|
||||
pathy>=0.10.0
|
||||
smart-open>=5.2.1,<7.0.0
|
||||
weasel>=0.1.0,<0.3.0
|
||||
weasel>=0.1.0,<0.4.0
|
||||
# Third party dependencies
|
||||
numpy>=1.15.0; python_version < "3.9"
|
||||
numpy>=1.19.0; python_version >= "3.9"
|
||||
|
|
|
@ -56,7 +56,7 @@ install_requires =
|
|||
wasabi>=0.9.1,<1.2.0
|
||||
srsly>=2.4.3,<3.0.0
|
||||
catalogue>=2.0.6,<2.1.0
|
||||
weasel>=0.1.0,<0.3.0
|
||||
weasel>=0.1.0,<0.4.0
|
||||
# Third-party dependencies
|
||||
typer>=0.3.0,<0.10.0
|
||||
pathy>=0.10.0
|
||||
|
|
|
@ -1,18 +1,14 @@
|
|||
import math
|
||||
import os
|
||||
import time
|
||||
from collections import Counter
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Tuple
|
||||
|
||||
import numpy
|
||||
import pytest
|
||||
import srsly
|
||||
from click import NoSuchOption
|
||||
from packaging.specifiers import SpecifierSet
|
||||
from thinc.api import Config, ConfigValidationError
|
||||
from weasel.cli.remote_storage import RemoteStorage
|
||||
from weasel.cli.run import _check_requirements
|
||||
from thinc.api import Config
|
||||
|
||||
import spacy
|
||||
from spacy import about
|
||||
|
@ -39,7 +35,7 @@ from spacy.cli.validate import get_model_pkgs
|
|||
from spacy.lang.en import English
|
||||
from spacy.lang.nl import Dutch
|
||||
from spacy.language import Language
|
||||
from spacy.schemas import RecommendationSchema, validate
|
||||
from spacy.schemas import RecommendationSchema
|
||||
from spacy.tokens import Doc, DocBin
|
||||
from spacy.tokens.span import Span
|
||||
from spacy.training import Example, docs_to_json, offsets_to_biluo_tags
|
||||
|
|
Loading…
Reference in New Issue
Block a user