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/31 07:41:38 UTC
[opennlp-sandbox] branch master updated: Add missing return
parameter to fix compile error
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 a1899bb Add missing return parameter to fix compile error
a1899bb is described below
commit a1899bbab6339c85c0a7cdf5f726a8c7bca1c36c
Author: Jörn Kottmann <jo...@apache.org>
AuthorDate: Thu May 31 09:41:23 2018 +0200
Add missing return parameter to fix compile error
---
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 3bf8405..cd5a464 100644
--- a/tf-ner-poc/src/main/python/namefinder.py
+++ b/tf-ner-poc/src/main/python/namefinder.py
@@ -343,7 +343,7 @@ def main():
char_dict = {k: v for v, k in enumerate(char_set | char_set_dev)}
- embedding_ph, token_ids_ph, char_ids_ph, word_lengths_ph, sequence_lengths_ph, labels_ph, train_op \
+ embedding_ph, token_ids_ph, char_ids_ph, word_lengths_ph, sequence_lengths_ph, labels_ph, dropout_keep_prob, train_op \
= name_finder.create_graph(len(char_set | char_set_dev), embeddings)
write_mapping(word_dict, 'word_dict.txt')
--
To stop receiving notification emails like this one, please contact
joern@apache.org.