On Dienstag 20 Dezember 2005 10:09, Laurent Godard wrote:

> +1
> if soemone helps me beginning, i may be able to help writing some parts

The easiest thing is probably to check out LanguageTool from CVS in 
Eclipse. The access data can be found here under "Anonymous CVS Access":
http://sourceforge.net/cvs/?group_id=110216

You will then also need to download the LanguageTool ZIP because it 
contains libraries that I didn't want to check in into CVS (too  big). You 
need to copy the *.jar files (except the languagetool jars) to a "libs" 
directory in <workspace>/JLanguageTool, where <workspace> is your Eclipse 
workspace. Then refresh your project in Eclipse so it notices that files 
have been changed outside of Eclipse. Then you need to go to the project's 
properties and also set the path to the OOo libraries like unoi.jar etc. 
("Java build path" -> "Libraries" tab).

Eclipse automatically compiles your stuff and you can start e.g. the "Main" 
class without calling "ant" etc. If you've never before used Eclipse the 
above process might be difficult, but I can answer your questions via 
email.

> Some more documentation in it i think
> Btw, still searching how to buils the tagged words file
> Moreover, seems that the tag names are frozen. Is it right ? can i had
> some more ?

As English and German tagging works completely different there's no 
standard way for part-of-speech tagging. You could create a class 
FrenchTagger in package de.danielnaber.languagetool.tagging.fr, just 
copying the files from tagging/de and modifying them appropriately.

The German tagging uses a Lucene index to look up the words from a word. 
You can use Luke (http://www.getopt.org/luke/) to look at the German 
part-of-speech index (the one in resource/de/categories/). The only reason 
I use Lucene is that I'm very familiar with it. What's needed it just a 
fast lookup, so Berkeley DB or anything could be used instead for French.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to