Metadata-Version: 2.1
Name: modifiedstemmer
Version: 0.0.2
Summary: A modified Porter stemmer for verbs and other additional rules.
Home-page: https://github.com/abhinav16aero/PorterStemmerModified
Author: Abhinav Kumar
Author-email: anu55abhi@gmail.com
Project-URL: Bug Tracker, https://github.com/abhinav16aero/PorterStemmerModified/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENCE.txt

### What is stemming?

Stemming is a technique in Natural Language Processing that reduces various inflected forms of a word to a single invariant root form. This root form, known as the stem, may or may not be identical to the word's morphological root.

### What is it good for?

Stemming is highly useful in various applications, with query expansion in information retrieval being a prime example. For instance, in a search engine, if a user searches for "cat," it would be beneficial for the search to return documents containing the word "cats" as well. This won't happen unless both the query and the document index undergo stemming. Essentially, stemming reduces the specificity of queries, enabling the retrieval of more relevant results, though this involves a trade-off.

### What type of stemmer is this?

Porterstemmer_Modified is a suffix-stripping stemmer, which means it transforms words into stems by applying a predetermined sequence of changes to the word's suffix. Other stemmers may function differently, such as by using a lookup table to map inflected forms to their roots or by employing clustering techniques to group various forms around a central form. Each approach comes with its own set of pros and cons. Porterstemmer_Modified, specifically, is a modified version of the original Porter stemmer and includes more comprehensive rules for handling verbs and suffixes.

### How do I use it?

Using the Porterstemmer_Modified is straightforward. Simply import the stemmer, create an instance, and use it to stem words:

```python
from Porterstemmer_Modified import Porterstemmer_Modified
stemmer = Porterstemmer_Modified()
print(stemmer.stem('consistent'))
```

This process will convert the word 'consistent' to its stem form.
