Skip to content

Commit

Permalink
new version 0.3.21
Browse files Browse the repository at this point in the history
  • Loading branch information
falgore88 committed Mar 21, 2016
1 parent 93c9ce9 commit 698336b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
@@ -1,7 +1,7 @@
from setuptools import setup


VERSION = "0.3.20"
VERSION = "0.3.21"

setup(
name='ta4',
Expand Down
2 changes: 1 addition & 1 deletion ta4/__init__.py
Expand Up @@ -169,7 +169,7 @@ def absorptions(phrases):
if phrase.is_special and len(phrase) != len(candidate):
continue
if is_contains(candidate, phrase) and candidate_count > 0:
phrases[phrase] -= candidate_count
phrases[phrase] = max((phrases[phrase] - candidate_count, 0))
return [(phrase.text, float(str(count))) for phrase, count in phrases.iteritems()]


Expand Down

0 comments on commit 698336b

Please sign in to comment.