[Checkins] SVN: topia.termextract/trunk/ Test coverage at 100% by removing an impossible case.
Stephan Richter
srichter at gmail.com
Sat May 30 11:48:36 EDT 2009
Log message for revision 100557:
Test coverage at 100% by removing an impossible case.
Changed:
_U topia.termextract/trunk/
U topia.termextract/trunk/src/topia/termextract/extract.py
-=-
Property changes on: topia.termextract/trunk
___________________________________________________________________
Modified: svn:ignore
- .installed.cfg
bin
develop-eggs
dist
parts
+ .installed.cfg
bin
coverage
develop-eggs
dist
parts
Modified: topia.termextract/trunk/src/topia/termextract/extract.py
===================================================================
--- topia.termextract/trunk/src/topia/termextract/extract.py 2009-05-30 15:42:14 UTC (rev 100556)
+++ topia.termextract/trunk/src/topia/termextract/extract.py 2009-05-30 15:48:36 UTC (rev 100557)
@@ -69,8 +69,6 @@
_add(term, norm, multiterm, terms)
elif state == NOUN and tag.startswith('N'):
_add(term, norm, multiterm, terms)
- elif state == NOUN and tag == 'JJ' and term[0].isupper():
- _add(term, norm, multiterm, terms)
elif state == NOUN and not tag.startswith('N'):
state = SEARCH
if len(multiterm) > 1:
More information about the Checkins
mailing list