english

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 3 Imported by: 0

README

Snowball English

This package implements the English language Snowball stemmer.

Implementation

The English language stemmer comprises preprocessing, a number of steps, and postprocessing. Each of these is defined in a separate file in this package. All of the steps operate on a SnowballWord from the snowballword package and modify the word in place.

Caveats

There is a single difference between this implementation and the original. Here, all apostrophes on the left hand side of a word are stripped off before the word is stemmed.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stem

func Stem(word string, stemStopwWords bool) string

Stem an English word. This is the only exported function in this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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