From 6f59384d6c6a344ffc26471b9bad93edde2f5278 Mon Sep 17 00:00:00 2001 From: FengZiYjun Date: Sun, 2 Sep 2018 14:18:04 +0800 Subject: [PATCH] pass CI --- test/test_fastNLP.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_fastNLP.py b/test/test_fastNLP.py index 467c51b4..b858ba46 100644 --- a/test/test_fastNLP.py +++ b/test/test_fastNLP.py @@ -53,7 +53,7 @@ def test_interpret_cws_pos_results(): print(interpret_cws_pos_results(chars, labels)) -def test_pos_tag(): +def pos_tag(): nlp = FastNLP(model_dir=PATH_TO_POS_TAG_PICKLE_FILES) nlp.load("pos_tag_model", config_file="pos_tag.config", section_name="pos_tag_model") text = ["这是最好的基于深度学习的中文分词系统。", @@ -71,4 +71,4 @@ def test_pos_tag(): if __name__ == "__main__": - word_seg() + pos_tag()