Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piger/go-porterstemmer-it
A native Go implementation of the Porter Stemmer Algorithm for the italian language.
https://github.com/piger/go-porterstemmer-it
italian language porterstemmer search
Last synced: about 6 hours ago
JSON representation
A native Go implementation of the Porter Stemmer Algorithm for the italian language.
- Host: GitHub
- URL: https://github.com/piger/go-porterstemmer-it
- Owner: piger
- License: other
- Created: 2014-10-23T22:10:41.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T23:37:42.000Z (about 3 years ago)
- Last Synced: 2024-06-20T19:32:16.029Z (5 months ago)
- Topics: italian, language, porterstemmer, search
- Language: Go
- Homepage:
- Size: 167 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Porter Stemmer for italian language
A native Go implementation of the Porter Stemmer Algorithm for the italian language with a public API compatible with [go-porterstemmer](https://github.com/blevesearch/go-porterstemmer).
**NOTE**: this package needs a lot more testing before I can consider it *stable*.
For more informations see:
http://snowball.tartarus.org/algorithms/italian/stemmer.html
## Usage
A basic example:
``` go
package mainimport (
"fmt"
"github.com/piger/go-porterstemmer-it"
)func main() {
word := "abbandonerò"
stem := porterstemmer.Stem(word)
fmt.Printf("The word %q has the stem %q\n", word, stem)
}
```