https://github.com/abadojack/stemmer
Simple stemmer for Esperanto
https://github.com/abadojack/stemmer
golang nlp-stemming stemmer
Last synced: 3 months ago
JSON representation
Simple stemmer for Esperanto
- Host: GitHub
- URL: https://github.com/abadojack/stemmer
- Owner: abadojack
- License: lgpl-3.0
- Created: 2017-01-03T18:11:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-13T22:03:05.000Z (over 9 years ago)
- Last Synced: 2024-06-20T14:26:18.564Z (almost 2 years ago)
- Topics: golang, nlp-stemming, stemmer
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stemmer
[](https://travis-ci.org/abadojack/stemmer) [](http://godoc.org/github.com/abadojack/stemmer)
Stemmer is a light and aggressive stemmer for Esperanto. It is still under active development
and a lot of things are likely to change.
## Install
```sh
go get -u github.com/abadojack/stemmer
```
## Usage
```go
import "github.com/abadojack/stemmer"
```
### Light stemming
```go
s := stemmer.Stem("ludas")
fmt.Println(s) //ludi
```
### Aggressive stemming
```go
s := stemmer.StemAggressive("ludas")
fmt.Println(s) //lud
```