Skip to content

Generator of rule-based lemmatizers (based on examples) for serveral European languages.

License

Notifications You must be signed in to change notification settings

AlexPoint/LemmaGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LemmaGenerator

LemmaGenerator creates lemmatizers for several European languages that you can customize.

This project was created by Matjaz Jursic and was retrieved on https://lemmatise.ijs.si/. He's the expert and did a great job so for all questions you should check his website.

I just added this project to git to be able to fork it. In particular, I created the associated nuget package available at https://www.nuget.org/packages/LemmaGenerator/

Quickstart

If you just want to lemmatize words, you want to check the precompiled lemmatizer files here: https://github.com/AlexPoint/LemmaGenerator/tree/master/Test/Data.

Load the selected file in a stream a build a lemmatizer with it:

var path = "/path/to/the/lemmatizer/file";
var stream = File.OpenRead(dataFilePath);
var lemmatizer = new Lemmatizer(stream);
var result = lemmatizer.Lemmatize("words");
Console.WriteLine(result);
// prints "word"

Customizing the lemmatizer

As mentioned above, you can customize your lemmatizer by using your own dictionary { word, lemma }.

For more information, check Matjaz's website https://lemmatise.ijs.si/.

About

Generator of rule-based lemmatizers (based on examples) for serveral European languages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages