Skip to content

Commit

Permalink
fix for foliastats
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Sep 21, 2016
1 parent de23a08 commit 81dc939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clam/wrappers/foliastats.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
if 'lowercase' in clamdata and clamdata['lowercase']:
opts += " --lower"
if 'n' in clamdata and clamdata['n']:
opts += " --ngram " + str(clamdata['n'])
pts += " --ngram " + str(clamdata['n'])

r = os.system("FoLiA-stats -t 1 -o " + outputdir + "/output " + opts + " " + " ".join(inputfiles))
r = os.system("FoLiA-stats --class=\"current\" --lang none -t 1 -o " + outputdir + "/output " + opts + " " + " ".join(inputfiles))


clam.common.status.write(statusfile, "Done",100)
Expand Down

0 comments on commit 81dc939

Please sign in to comment.