This repository contains an implementation of a Greek stemmer library written in Go, based on this paper written by Georgios Ntais. The stemmer is designed to extract the stem or root form of Greek words, enabling various natural language processing (NLP) tasks such as text analysis, information retrieval, and machine translation.
The Greek stemmer is developed as a computational linguistics tool that applies a set of rules and algorithms to transform inflected Greek words into their base or root form. This process, known as stemming, allows for improved analysis and comparison of Greek texts by reducing words to their essential forms. The algorithm implemented in this project is based on the research paper "Development of a Stemmer for the Greek Language" by Georgios Ntais. The paper serves as a reference guide, providing insights into the Greek language morphology and the rules employed in the stemming process.
To use the Greek stemmer in your Go projects, follow these steps:
- Make sure you are running
go version 1.20.x
- Get the libary
go get github.com/petersid2022/greek_stemmer@latest
- Import it
import "github.com/petersid2022/greek_stemmer"
package main
import (
"fmt"
"github.com/petersid2022/greek_stemmer"
)
func main(){
x := greek_stemmer.GreekStemmer("ΑΠΑΓΩΓΗ")
fmt.Println(x)
}
Contributions to this Greek stemmer implementation are welcome! If you find any issues, have suggestions for improvements, or want to extend the functionality, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. Please see the LICENSE file for more details.