Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Snowball Stemmer for Go

GoDoc Test

Usage

package snowball_test

import (
	"fmt"

	"github.com/tebeka/snowball"
)

func Example() {
	fmt.Printf("%d languages\n", len(snowball.Languages()))
	stemmer, err := snowball.New("english")
	if err != nil {
		fmt.Println("error", err)
		return
	}
	fmt.Println(stemmer.Stem("running"))
	// Output:
	// 26 languages
	// run
}

For bugs, comments, sources and more - head over to https://github.com/tebeka/snowball.

This project was mostly a learning exercise for me, I don't consider it production quality.


Miki Tebeka miki.tebeka@gmail.com

About

Snowball stemmer for Go

Topics

Resources

License

Packages

No packages published

Languages