I am new in this forum. I would like to find some linguists who would create a meaningful set of grammar rules for Slovak (so that we can say that LT is supported in Slovak), but first I have to learn how to create the LT rules by myself. Since Slovak is rich in forms, I think that the following problem can occur quite often:
It is a common error in Slovak that the pronoun 'koho' (meaning 'whom') is incorrectly used instead of 'čí' ('whose'). 'koho' is in this case used without inflection and should be replaced by a proper inflected form of 'čí', which depends on a matching noun.
The rule to identify the incorrect text is:
where the POS tag means: a noun (S) in any gender, number and case (the last 3 dots).
(it looks like the POS tags are language specific, aren't they?)
In the suggestion tag it is thus necessary to apply the noun category specified by the last three dots to the pronoun 'čí', so that it matches the noun. In the tutorial http://www.languagetool.org/development/ there is an example, how to do that between two verbs:
which suggests all possible forms of 'čí', and
which does not suggest anything.
Is there a way how to do that for the pair noun,pronoun?
Thank you in advance