From: InHong Han Date: Mon, 24 Jan 2022 08:41:06 +0000 (+0900) Subject: Remove unused open source X-Git-Tag: submit/tizen/20220124.180546~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=456f76a5b8238d28887607135de64122e673273f;p=platform%2Fcore%2Fuifw%2Fnlp.git Remove unused open source Change-Id: I117bcb546e79b8103503fb7a6bd6d80b5802ef19 --- diff --git a/nlp_resource_data/nltk/parse/malt.py b/nlp_resource_data/nltk/parse/malt.py index 2523927..5ce4f9a 100644 --- a/nlp_resource_data/nltk/parse/malt.py +++ b/nlp_resource_data/nltk/parse/malt.py @@ -73,10 +73,10 @@ def find_maltparser(parser_dirname): else: # Try to find path to maltparser directory in environment variables. _malt_dir = find_dir(parser_dirname, env_vars=('MALT_PARSER',)) # Checks that that the found directory contains all the necessary .jar - malt_dependencies = ['', '', ''] + malt_dependencies = ['', ''] _malt_jars = set(find_jars_within_path(_malt_dir)) _jars = set(os.path.split(jar)[1] for jar in _malt_jars) - malt_dependencies = set(['log4j.jar', 'libsvm.jar', 'liblinear-1.8.jar']) + malt_dependencies = set(['libsvm.jar', 'liblinear-1.8.jar']) assert malt_dependencies.issubset(_jars) assert any(