Lars, To write rules that detect syntactic mistakes you'll need to port CoGrOO to Swedish language. What resources do you need?
-A morpho-syntactic annotated corpus; -A Java programmer to adapt some pieces of code; -A linguist to write down rules of common mistakes. We are porting CoGrOO to English and Spanish rigth now we'll be glad of advising you to port it to your language! Regards, Carlos Menezes On Nov 17, 2007 9:30 AM, Marcin Miłkowski <[EMAIL PROTECTED]> wrote: > Lars Aronsson pisze: > > > > How can I create a minimal grammar? Is there an independent > > command-line program (similar to the hunspell program for spell > > checking) that can be used for testing the grammar? > > > There is no built-in grammar checker in OOo. You can reuse one of the > grammar-checking extensions. I don't know how difficult it is to start > with grammar checking in CoGrOOo, but in LT, all it takes for starters, > is to run LanguageTool and edit one XML file. Then you can add more > items to it. > > The easiest path for LT: > > For the XML file, download the rules.css and rules.dtd from here: > > > http://languagetool.cvs.sourceforge.net/languagetool/JLanguageTool/src/rules/ > > And use XML Mind Edit (free edition) to create the file in a > subdirectory. I advise you to start with looking at existing English > file and demo file. > > The created file can be loaded in LT and tested online. > > Start LT as Java Web Start: > > http://www.languagetool.org/webstart/LanguageTool.jnlp > > And use File > Load Rule File. > > There is more explanation of the xml format here: > > http://www.languagetool.org/development/ > > All in all, starting this development process shouldn't take more than > 20 minutes. Of course, if you want more options, like part of speech > tagging and Java rules, you'd need to work much more. > > Regards, > Marcin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
