Help us shape the future of Go! Take the 2026 Go Developer Survey

kpstemmer

package module
v0.0.0-...-03b17aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2017 License: MIT Imports: 1 Imported by: 0

README

KP-Stemmer package for Go

Implements the Kraaij-Pohlmann stemmer as described at http://snowball.tartarus.org/algorithms/kraaij_pohlmann/stemmer.html

Installation

go get github.com/mmartina/kpstemmer

Example

import "github.com/mmartina/kpstemmer"

kpstemmer.Stem("lichamelijke") // => lichamelijk
kpstemmer.Stem("opglimpende")  // => opglimp

Tests

Included test_diffs.txt as listed at http://snowball.tartarus.org/algorithms/kraaij_pohlmann/diffs.txt

Used only when running tests with go test.

License

MIT License (see LICENSE file).

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stem

func Stem(value string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL