You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2018/05/30 11:09:57 UTC

[opennlp-sandbox] branch master updated: Write correct dict into char_dict.txt

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


The following commit(s) were added to refs/heads/master by this push:
     new 2abc214  Write correct dict into char_dict.txt
2abc214 is described below

commit 2abc214e6698bcab4798eaa31716e2a6498b8473
Author: Jörn Kottmann <jo...@apache.org>
AuthorDate: Wed May 30 13:09:30 2018 +0200

    Write correct dict into char_dict.txt
---
 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 af5046c..8b9a73a 100644
--- a/tf-ner-poc/src/main/python/namefinder.py
+++ b/tf-ner-poc/src/main/python/namefinder.py
@@ -347,7 +347,7 @@ def main():
 
     write_mapping(word_dict, 'word_dict.txt')
     write_mapping(name_finder.label_dict, "label_dict.txt")
-    write_mapping(name_finder.label_dict, "char_dict.txt")
+    write_mapping(char_dict, "char_dict.txt")
 
     sess = tf.Session(config=tf.ConfigProto(allow_soft_placement=True,
                                             log_device_placement=True))

-- 
To stop receiving notification emails like this one, please contact
joern@apache.org.