Tony Mechelynck wrote:
> On 29/03/09 22:29, Eric Smith wrote:
>   
>> Dutch nouns are preceded by the definite article "de" or "het" in
>> the singular.  As a non-native, I would like to configure vim to
>> check if I have used the correct form.
>>
>> Has anyone implemented this or this type of functionality?
>>
>> Thanks
>>
>>     
>
> I'm not sure it's possible with the spelling software Vim uses, since 
> this is not a pure "vocabulary" word ("this word does / doesn't belong 
> to the language") but a "grammar" rule ("this valid word is / isn't 
> permitted in this context"):
>
> het huis              OK              (the house)
> de huis                       not OK
> het grote huis                OK              (the big house)
> het groot huis                not OK
> welk huis?            OK              (which house?)
> welke huis?           not Ok
> welk groot huis?      OK              (which big house?)
> welk grote huis?      not OK
> de weg                        OK              (the way)
> het weg                       not OK
> de lange weg          OK              (the long way)
> de lang weg           not OK
> welke weg?            OK              (which way?)
> welk weg?             not OK
> welke lange weg?      OK              (which long way?)
> welke lang weg?               not OK
>
> ik wil                        OK              (I want)
> je wil                        not OK
> je wilt                       OK              (you [sg.] want)
> wilt je?              not OK
> wil je?                       OK              (do you want?)
> wij wil                       not OK
> wij willen            OK              (we want)
>
> etc.
>
> I may be wrong though, spelling software is not my forte. Maybe Dr. Chip 
> will know the details better.
>   
I'm afraid that I don't know vim's spellchecking real well; I wrote 
engspchk awhile ago, but its largely been superceded by vim's built-in 
spelling checker.  Also, I regret to admit that I don't know any Dutch 
and sit so far back in the language bus that I can't even see Tony from 
here.  However, Tony's observation concerning grammar vs spelling seems 
correct to me.  Grammar checking is an involved topic and AFAIK there 
aren't any plugins to do that for vim in any language.  I realize that 
MSWord does have grammar checking (at least it does for English), but I 
seem to recall that they paid $$$ to import some special s/w developed 
to do that in a university setting.

Regards,
Chip Campbell


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to