W dniu 2014-04-07 23:01, Daniel Naber pisze:
> On 2014-03-25 09:35, Daniel Naber wrote:
>
>> I've written an overview of how we could use readable POS tags in LT:
>>
>> http://wiki.languagetool.org/readable-part-of-speech-tags
> I'm writing a prototypical implementation on this for English now. But
> there's one point where I'm stuck. Maybe I'm missing something obvious.
> Everything is fine for grammar.xml: we have new tags but keep the old
> ones, both work. But what about disambiguation.xml? What does it now
> mean to have something like this:
>
> <disambig postag="VBD"/>
>
> Internally, we now have information like this: postag=VBD, pos=verb,
> tense=past (etc.). But the disambiguation only works on the old tag? I
> guess I will need to resolve VBD here so the action works on both the
> old and the new representation?

I think the only thing needed is to parse the tags again, if they are 
different.

> What if there's an action like this?
> Will I need to expand the 'JJ.?' against all known tags and then apply
> the change to the resolved (new) representation?
>
> <disambig action="filter" postag="JJ.?"></disambig>
Again, parse the tags again, discard the old info.

Regards,
Marcin

>
> Regards
>    Daniel
>
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
>


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to