This is an automated email from the ASF dual-hosted git repository. joern pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git
commit 60eb80e826a348ebece0c072e4158600b2f0ba8f Author: Jörn Kottmann <[email protected]> AuthorDate: Wed May 30 10:43:50 2018 +0200 Remove incorrectly placed space in tag name --- tf-ner-poc/src/main/python/namefinder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf-ner-poc/src/main/python/namefinder.py b/tf-ner-poc/src/main/python/namefinder.py index bc203a7..4036f01 100644 --- a/tf-ner-poc/src/main/python/namefinder.py +++ b/tf-ner-poc/src/main/python/namefinder.py @@ -98,7 +98,7 @@ class NameFinder: label = ["other"] * len(name_sample.tokens) for name in name_sample.names: - label[name[0]] = "B- " + name[2] + label[name[0]] = "B-" + name[2] for i in range(name[0] + 1, name[1]): label[i] = "I-" + name[2] sentences.append(sentence) -- To stop receiving notification emails like this one, please contact [email protected].
