mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
Remove unnecessary variable from make_mecab_analyzer
Former-commit-id: 548162c563
This commit is contained in:
parent
6440d81676
commit
88c93f6204
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user