mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Merge branch 'master' into develop
This commit is contained in:
commit
9696cf16c1
|
@ -31,7 +31,7 @@ TAG_MAP = {"N": {"pos": "NOUN"}, "V": {"pos": "VERB"}, "J": {"pos": "ADJ"}}
|
||||||
# strings are unicode and that the number of tags assigned matches spaCy's
|
# strings are unicode and that the number of tags assigned matches spaCy's
|
||||||
# tokenization. If not, you can always add a 'words' key to the annotations
|
# tokenization. If not, you can always add a 'words' key to the annotations
|
||||||
# that specifies the gold-standard tokenization, e.g.:
|
# that specifies the gold-standard tokenization, e.g.:
|
||||||
# ("Eatblueham", {'words': ['Eat', 'blue', 'ham'] 'tags': ['V', 'J', 'N']})
|
# ("Eatblueham", {'words': ['Eat', 'blue', 'ham'], 'tags': ['V', 'J', 'N']})
|
||||||
TRAIN_DATA = [
|
TRAIN_DATA = [
|
||||||
("I like green eggs", {"tags": ["N", "V", "J", "N"]}),
|
("I like green eggs", {"tags": ["N", "V", "J", "N"]}),
|
||||||
("Eat blue ham", {"tags": ["V", "J", "N"]}),
|
("Eat blue ham", {"tags": ["V", "J", "N"]}),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user