Write correct dict into char_dict.txt
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 @@
 
     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))