Update example compatibility statements

This commit is contained in:
ines 2017-11-07 01:11:45 +01:00
parent c37837cad1
commit 1b1c9105b4
14 changed files with 15 additions and 21 deletions

View File

@ -6,7 +6,7 @@ money and currency values (entities labelled as MONEY) and then check the
dependency tree to find the noun phrase they are referring to for example: dependency tree to find the noun phrase they are referring to for example:
$9.4 million --> Net income. $9.4 million --> Net income.
Last updated for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a18+
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -16,7 +16,7 @@ show you how computers understand [language]
I'm assuming that we can use the token.head to build these groups." I'm assuming that we can use the token.head to build these groups."
Last updated for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a18+
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -33,6 +33,8 @@ formatted in jsonl as a sequence of entries like this:
{"text":"Annapolis"} {"text":"Annapolis"}
{"text":"Appalachia"} {"text":"Appalachia"}
{"text":"Argentina"} {"text":"Argentina"}
Compatible with: spaCy 2.0.0a17+
""" """
from __future__ import print_function, unicode_literals, division from __future__ import print_function, unicode_literals, division

View File

@ -7,8 +7,7 @@ they're called on is passed in as the first argument.
* Custom pipeline components: https://alpha.spacy.io//usage/processing-pipelines#custom-components * Custom pipeline components: https://alpha.spacy.io//usage/processing-pipelines#custom-components
Developed for: spaCy 2.0.0a17 Compatible with: spaCy 2.0.0a17+
Last updated for: spaCy 2.0.0a18
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -8,8 +8,7 @@ coordinates. Can be extended with more details from the API.
* REST Countries API: https://restcountries.eu (Mozilla Public License MPL 2.0) * REST Countries API: https://restcountries.eu (Mozilla Public License MPL 2.0)
* Custom pipeline components: https://alpha.spacy.io//usage/processing-pipelines#custom-components * Custom pipeline components: https://alpha.spacy.io//usage/processing-pipelines#custom-components
Developed for: spaCy 2.0.0a17 Compatible with: spaCy 2.0.0a17+
Last updated for: spaCy 2.0.0a18
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -8,8 +8,7 @@ respectively.
* Custom pipeline components: https://alpha.spacy.io//usage/processing-pipelines#custom-components * Custom pipeline components: https://alpha.spacy.io//usage/processing-pipelines#custom-components
Developed for: spaCy 2.0.0a17 Compatible with: spaCy 2.0.0a17+
Last updated for: spaCy 2.0.0a18
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -6,7 +6,7 @@ each "sentence" on a newline, and spaces between tokens. Data is loaded from
the IMDB movie reviews dataset and will be loaded automatically via Thinc's the IMDB movie reviews dataset and will be loaded automatically via Thinc's
built-in dataset loader. built-in dataset loader.
Last updated for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a18+
""" """
from __future__ import print_function, unicode_literals from __future__ import print_function, unicode_literals
from toolz import partition_all from toolz import partition_all

View File

@ -15,8 +15,7 @@ following types of relations: ROOT, PLACE, QUALITY, ATTRIBUTE, TIME, LOCATION.
('hotel', 'PLACE', 'show') --> show PLACE hotel ('hotel', 'PLACE', 'show') --> show PLACE hotel
('berlin', 'LOCATION', 'hotel') --> hotel with LOCATION berlin ('berlin', 'LOCATION', 'hotel') --> hotel with LOCATION berlin
Developed for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a20+
Last updated for: spaCy 2.0.0a19
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -7,8 +7,7 @@ For more details, see the documentation:
* Training: https://alpha.spacy.io/usage/training * Training: https://alpha.spacy.io/usage/training
* NER: https://alpha.spacy.io/usage/linguistic-features#named-entities * NER: https://alpha.spacy.io/usage/linguistic-features#named-entities
Developed for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a20+
Last updated for: spaCy 2.0.0a19
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -23,8 +23,7 @@ For more details, see the documentation:
* Training: https://alpha.spacy.io/usage/training * Training: https://alpha.spacy.io/usage/training
* NER: https://alpha.spacy.io/usage/linguistic-features#named-entities * NER: https://alpha.spacy.io/usage/linguistic-features#named-entities
Developed for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a20+
Last updated for: spaCy 2.0.0a19
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -5,8 +5,7 @@ model or a blank model. For more details, see the documentation:
* Training: https://alpha.spacy.io/usage/training * Training: https://alpha.spacy.io/usage/training
* Dependency Parse: https://alpha.spacy.io/usage/linguistic-features#dependency-parse * Dependency Parse: https://alpha.spacy.io/usage/linguistic-features#dependency-parse
Developed for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a20+
Last updated for: spaCy 2.0.0a18
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -8,8 +8,7 @@ the documentation:
* Training: https://alpha.spacy.io/usage/training * Training: https://alpha.spacy.io/usage/training
* POS Tagging: https://alpha.spacy.io/usage/linguistic-features#pos-tagging * POS Tagging: https://alpha.spacy.io/usage/linguistic-features#pos-tagging
Developed for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a20+
Last updated for: spaCy 2.0.0a19
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function

View File

@ -8,8 +8,7 @@ see the documentation:
* Training: https://alpha.spacy.io/usage/training * Training: https://alpha.spacy.io/usage/training
* Text classification: https://alpha.spacy.io/usage/text-classification * Text classification: https://alpha.spacy.io/usage/text-classification
Developed for: spaCy 2.0.0a18 Compatible with: spaCy 2.0.0a20+
Last updated for: spaCy 2.0.0a19
""" """
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function
import plac import plac

View File

@ -2,6 +2,7 @@
# coding: utf8 # coding: utf8
"""Load vectors for a language trained using fastText """Load vectors for a language trained using fastText
https://github.com/facebookresearch/fastText/blob/master/pretrained-vectors.md https://github.com/facebookresearch/fastText/blob/master/pretrained-vectors.md
Compatible with: spaCy v2.0.0a17+
""" """
from __future__ import unicode_literals from __future__ import unicode_literals
import plac import plac