Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 main

import (
"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)
}
```