stemming
Advanced tools
+4
-4
| Metadata-Version: 1.0 | ||
| Name: stemming | ||
| Version: 1.0 | ||
| Version: 1.0.1 | ||
| Summary: Python implementations of various stemming algorithms. | ||
@@ -32,5 +32,5 @@ Home-page: http://bitbucket.org/mchaput/stemming | ||
| >> from stemming.porter2 import stem | ||
| >> stem("factionally") | ||
| faction | ||
| >> from stemming.porter2 import stem | ||
| >> stem("factionally") | ||
| faction | ||
@@ -37,0 +37,0 @@ (The Paice-Husk algorithm allows custom stemming rule sets, so the |
+1
-1
@@ -8,3 +8,3 @@ #!python | ||
| name = "stemming", | ||
| version = "1.0", | ||
| version = "1.0.1", | ||
| #package_dir = {'': ''}, | ||
@@ -11,0 +11,0 @@ packages = ["stemming"], |
| Metadata-Version: 1.0 | ||
| Name: stemming | ||
| Version: 1.0 | ||
| Version: 1.0.1 | ||
| Summary: Python implementations of various stemming algorithms. | ||
@@ -32,5 +32,5 @@ Home-page: http://bitbucket.org/mchaput/stemming | ||
| >> from stemming.porter2 import stem | ||
| >> stem("factionally") | ||
| faction | ||
| >> from stemming.porter2 import stem | ||
| >> stem("factionally") | ||
| faction | ||
@@ -37,0 +37,0 @@ (The Paice-Husk algorithm allows custom stemming rule sets, so the |
@@ -125,3 +125,3 @@ """An implementation of the Porter2 stemming algorithm. | ||
| def step_1c(word): | ||
| if word.endswith('y') or word.endswith('Y'): | ||
| if word.endswith('y') or word.endswith('Y') and len(word) > 1: | ||
| if word[-2] not in 'aeiouy': | ||
@@ -285,2 +285,6 @@ if len(word) > 2: | ||
| if __name__ == "__main__": | ||
| assert stem("bill's") == "bill" | ||
| assert stem("y's") == "y" | ||
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
40443
0.36%1147
0.26%