On Fri, Jun 7, 2013 at 7:42 PM, Joseph M'Bimbi-Bene
<jbi...@object-ive.com> wrote:
> I also have a problem with french opennlp. As you told me in a previous
> mail, i tried to manually specify to link specific POS returned by the POS
> tagger.
> Here is the config of the engine:
>
> *;lmmtip;uc=LINK;lc=Noun;prob=0.55;pprob=0.01
> fr;pos=NC

If you want to configure string tags you need to use

    tag={tag1},{tag2},{tag3} ...

the "pos" parameter only accepts LexicalCategory entries

> Then, just for the sake of trying, i tried
> fr;tag=NP
> Then the engine is available, but obviously it hase nothing to do with pos
> tagging, and the result is here:
>
> 07.06.2013 19:41:35.853 *DEBUG* [Thread-2002]
> org.apache.stanbol.enhancer.engines.entitylinking.impl.ProcessingState   >
> 205: Token: [1091, 1096] objet (pos:[Value [pos:
> NC([])].prob=0.981918523624271]) chunk: 'none'
> 07.06.2013 19:41:35.853 *DEBUG* [Thread-2002]
> org.apache.stanbol.enhancer.engines.entitylinking.impl.ProcessingState
> - TokenData: 'objet'[linkable=false(*linkabkePos=false*)|
> matchable=false(matchablePos=null)| alpha=true| seachLength=true|
> upperCase=false]
>

if you want to link Common Nouns (NC) and Proper Nouns (NP) , than you
will need to configure

    *;lmmtip;uc=LINK;lc=Noun;prob=0.55;pprob=0.01
    fr;tag=NC,NP

best
Rupert

--
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to