[Top][All Lists]

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

Re: [Varnamproject-discuss] stemmer functionality

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

Sorry, the previous commit would have produced merge conflict. So I removed the branch from origin, solved the conflict (my master in origin did not have strbuf_chars - I forgot to push the changes after fetching into my local master) and pushed the branch again.

On Sat, Jun 14, 2014 at 12:40 PM, Kevin Martin <address@hidden> wrote:
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]