Remove unnecessary variable from make_mecab_analyzer

Former-commit-id: 548162c563
This commit is contained in:
Robyn Speer 2016-08-04 15:17:02 -04:00
parent 6440d81676
commit 88c93f6204

View File

@ -49,8 +49,7 @@ def make_mecab_analyzer(names):
Get a MeCab analyzer object, given a list of names the dictionary might
have.
"""
filename = find_mecab_dictionary(names)
return MeCab.Tagger('-d %s' % filename)
return MeCab.Tagger('-d %s' % find_mecab_dictionary(names))
# Instantiate the MeCab analyzers for each language.