aurelian / ruby-stemmer

Expose libstemmer_c to Ruby
http://locknet.ro/archive/2009-10-29-ann-ruby-stemmer.html
MIT License
251 stars 22 forks source link

Bulgarian stemmer #15

Open YavorIvanov opened 11 years ago

YavorIvanov commented 11 years ago

Hi,

I have the rules for bulgarian stemmer. Don't really have the resources to put into coding this in C. I can give the rules if someone is willing to write it in C. They are the work of P.Nakov.

Regards, Yavor

aurelian commented 11 years ago

@YavorIvanov do you have the rules as .sbl file (for snowball compiler), if so can you post them somewhere (gist maybe)?

YavorIvanov commented 11 years ago

This is pretty much all I have https://gist.github.com/YavorIvanov/6105691

It's work from P.Nakov You can find more here http://people.ischool.berkeley.edu/~nakov/bulstem/

Honestly I looked at the C stuff to try and rewrite the rules in it but it's out of my skill in C.

aurelian commented 11 years ago

@YavorIvanov libstemmer_c can generate the .c/.h files from a snowball file, basically a string-handling language, so you don't need to write C code. For reference, you can check snowball manual. You can find examples here.

YavorIvanov commented 11 years ago

Thanks! I'll try to give it a shot.

On Aug 1 2013, at 14:15, Aurelian Oancea notifications@github.com wrote:

@YavorIvanov libstemmer_c can generate the .c/.h files from a snowball file, basically a string-handling language, so you don't need to write C code. For reference, you can check snowball manual. You can find examples here.

— Reply to this email directly or view it on GitHub.

SvetlinStaev commented 8 years ago

@YavorIvanov - did you manage to compile a stemmer for Bulgarian? I am looking for a way to build a stemmer with snowball but to no success yet.