stem_word and lower case stem output in v3.2.2
See original GitHub issueHi,
Just wanted to confirm the following things affected by the recent upgrade to v3.2.2:
- There is no
stem_word
function inPorterStemmer()
. I had to replace it withstem()
- Unlike before,
stem
returns lower case of a word e.g.stem
forStemming
(http://text-processing.com/demo/stem/ is the same as before).
Cheers, Ehsan
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Stemming | Elasticsearch Guide [8.5] | Elastic
Algorithmic stemmers, which stem words based on a set of rules ... For example, a stemmer may reduce both skies and skiing to...
Read more >Data Pre-Processing: AI End-to-End Series (Part — 2.2 - NLP)
Lower -casing is a common text preprocessing technique. ... words to their word stem but differs in the way that it makes sure...
Read more >Python - Lemmatization Approaches with Examples
The following is a step by step guide to exploring various kinds of Lemmatization approaches in python along with a few examples and...
Read more >snowballstemmer - PyPI
If PyStemmer is installed, snowballstemmer.stemmer returns a PyStemmer Stemmer object which provides the same Stemmer.stemWord() and Stemmer.
Read more >2020 Colorado Academic Standards
Reading for All Purposes. 2020 Colorado Academic Standards. RW.P.2.2 ... Recognize and name all upper- and lowercase letters of the alphabet. (CCSS: RF....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing issue, https://github.com/nltk/nltk_book/pull/216 is merged =)
Thanks @iranianpep @jayvdb @RodgerKibble for raising the issue! Thanks @ExplodingCabbage for verifying the changes!
Validating the outputs from Chapter 3.6 of the book.
The other example using
IndexedText
doesn’t change since it’s not printing the direct output of theporter.stem()
.Changes suggested on https://github.com/nltk/nltk_book/pull/216