From 386cec1979e430d1524f5f7beda93db1625ede8f Mon Sep 17 00:00:00 2001 From: Michael Liberman Date: Tue, 19 Feb 2019 19:01:35 +0200 Subject: [PATCH] - Json fix in comment (#3294) --- examples/training/train_tagger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/training/train_tagger.py b/examples/training/train_tagger.py index 0971294e5..358979174 100644 --- a/examples/training/train_tagger.py +++ b/examples/training/train_tagger.py @@ -35,7 +35,7 @@ TAG_MAP = { # 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 # 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 = [ ("I like green eggs", {'tags': ['N', 'V', 'J', 'N']}), ("Eat blue ham", {'tags': ['V', 'J', 'N']})