I would like to help improve the LanguageTool for the Swedish language. But I do not feel that understand how can generate rules and I can not program java, is there anything else could help with e.g. help to correct misspelled names and add alternate spellings for names?
Are there any instructions for non java programmers that I can use to contribute?
I have only seen YouTube video rule page. But I experience there that she just set up unique rules for each word and not group of word? Have I misunderstood it and is there any more detailed guide for creating rules? It some more information about Regular expressions?
If I want to create a rule e.g. several errors at the same time all errors.
I see lot of many names are registered as incorrect, it is possible to add them to the list as they work in the same way as other names. Or do need create rule every name?
I suspect, such a guide doesn’t exist. Or, maybe, Daniel is keeping it top secret The only way I found is to examine existing rules (of similar languages) and trying to copycat.
Thank you. I saw that sv\hunspell\spelling.txt was pretty empty in the Swedish language.
List some examples of words that interpreters would fit well here in the spelling.txt for Swedish. Do I update list on repo or send to someone for update?
Must say that LanguageTool is very good for Swedish. Something that irritates me is that.
At moment is not can handle shortening like “t.ex.” because write with dot on and even if sentence is not finish yest. There are a lot of this type of shortening in Swedish. But there are also some shortening with dot end sentence then a new meaning starts capital letter.
Is it possible to add a list of all abbreviations in some file. If user hooves over it they see complete word and click on it, and it will be written out? Is this done with the XML ruls?
Ok, guess it same as Danish but this string instead for Sweidsh.
<beforebreak>\b(|bl.a|dvs|e.d|fig|f.n|fr.o.m|m.a.o|t.ex|t.o.m|s.k)\.\s</beforebreak>
<!-- Danish abbreviations - These can appear at the end of sentence, so watch out for the next letter: it shouldn't be uppercase. -->
<rule break="no">
<beforebreak>\b(etc|mv|osv)\.\s</beforebreak>
<afterbreak>\p{Ll}</afterbreak>
</rule>
We are working on aligning the Swedish tools and resources in LT to Språkrådets latest “Svenska skrivregler”, version 4 from 2017 (printed 2018) to start with. I am also interested in taking on being maintainer if Swedish is still unmaintained as it looks like. So thanks @dnaber for the pointers to the segment.srx as another resource to update.