stempel

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

README

stempel

Build Status Coverage Status GoDoc Go Report Card

A Go implementation of the Stempel stemmer, an algorithmic stemmer frequently used with (but not limited to) the Polish language.

License

This Go implementation is distributed under the Apache 2 license.

This product is based on software developed by the Egothor Project.

This project now also includes the original stemming tables pretrained by Andrzej Białecki, and as noted by Lucene the tables and other additions are covered by Apache License 2.0.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(dest, diff []rune) []rune

Diff transforms the dest rune slice following the rules described in the diff command rune slice.

Types

type Trie

type Trie interface {
	GetLastOnPath([]rune) []rune
}

Trie is the external interface to work with the stempel trie

func Open

func Open(path string) (Trie, error)

Open attempts to open a file at the specified path, and use it to build a Trie

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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