0.0
No release in over a year
A basic stemmer for Slovene language.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Slovene Stemmer

A basic ruby implementation of a stemmer for Slovene language. It's not perfect, but it works for most cases.

Inspired by the never implemented snowball version:

http://snowball.tartarus.org/archives/snowball-discuss/0725.html

Installation

Add this line to your application's Gemfile:

gem 'slovene_stemmer'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install slovene_stemmer

Usage

require 'slovene_stemmer'

SloveneStemmer.stem('Triglav') # => Trigl
SloveneStemmer.stem('Triglavski') # => Trigl
SloveneStemmer.stem('Triglavska') # => Trigl
SloveneStemmer.stem('Triglavskim') # => Trigl
SloveneStemmer.stem('Triglavskega') # => Trigl