1 Aug 2002 14:26
Tcl binding for Snowball stemmers
Michael Schlenker <schlenk <at> uni-oldenburg.de>
2002-08-01 12:26:25 GMT
2002-08-01 12:26:25 GMT
Hi all, i just built a small tcl binding for snowball stemmers. You can build an tcl extension (.dll / .so) with it to use the ANSI C stemmers in tcl, at the moment only 4 are included (porter1 porter2 german french), but others can be added easily. I've uploaded it to patches at www.sf.net/projects/snowball, so if you want to take a look... Michael Schlenker ------------ At little toy app for the binding (run it with wish or tclkit): #!/bin/sh # \ exec wish "$0" "$ <at> " package require Tk package require Tclsnowball proc do_stem {word} { set ::result1 [::snowball::stem porter $word] set ::result2 [::snowball::stem porter2 $word] set ::result3 [::snowball::stem german $word] set ::result4 [::snowball::stem french $word] }(Continue reading)
RSS Feed