[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Varnamproject-discuss] stemmer functionality

From: Kevin Martin
Subject: [Varnamproject-discuss] stemmer functionality
Date: Sat, 14 Jun 2014 12:40:40 +0530

I've added a --stem <word> option to varnamc. It can only do one simple stemming right now : ാ to ്.

for example:

address@hidden ~/Development/libvarnam/examples $ varnamc -s ml -m പരീക്ഷയാ
Using /usr/local/lib/

This is because I haven't added the code to check for more complex ending if the first ending is not in the stemrules table in ml.vst

varnamc -c schemes/ml now inserts the stem rules to a table stemrules in ml.vst

A small helper function strbuf_get_ending() as been added that makes use of the recently added strbuf_chars()

The commit :

I haven't written any tests yet.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]