https://github.com/techjacker/go-stemmer
The Porter Stemming algorithm in Go
https://github.com/techjacker/go-stemmer
Last synced: 9 months ago
JSON representation
The Porter Stemming algorithm in Go
- Host: GitHub
- URL: https://github.com/techjacker/go-stemmer
- Owner: techjacker
- Created: 2016-12-13T21:13:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-13T21:30:06.000Z (over 9 years ago)
- Last Synced: 2025-04-04T02:12:57.259Z (12 months ago)
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-stemming
A simple implementation of the [porter stemming algorithm](https://tartarus.org/martin/PorterStemmer/def.txt.
-----------------------------------------------------------
## Install
```
go get github.com/techjacker/go-stemmer
```
-----------------------------------------------------------
## Example
```
$ go-stemmer
Enter text: Heigh, my hearts! cheerly, cheerly, my hearts! yare, yare! Take in the topsail.
STEM COUNT
--------------------------
heigh 1
heart 2
cheer 2
yare 2
take 1
topsail 1
```
-----------------------------------------------------------
## Tests
```
go test
```