Applying dictionaries : Problem with priority rules

34 views
Skip to first unread message

Gabrielle Bosshard

unread,
Sep 19, 2014, 11:13:08 AM9/19/14
to unitex-...@googlegroups.com
Dear all,

I work on a french banking corpus, I built a dedicated dictionary with a bank lexicon.

I have an ambiguity with the word  "montant". He can be a Noun or a Verbe in present participle. In my corpus, he's never a Verb, but he was extracted like that with my graph.
(example from my corpus : "Cela correspond au montant à débloquer.")
So I defined priority rules on my dictionary (I followed the manual's procedure in the part 3.7.1), who contains :"montant,.N:ms".
I named this dictionary "dico_lexique_metier_banque-" with "-" at the end for assign the higher priority to the dictionary, and for tagging "montant" just as Noun, and not as Verb.

So with this procedure, after applying this dictionary and a graph who search the verbs, the result shouldn't contain "montant" as the present participle for the verb "monter".
But it doesn't work, my result is (where the value for "action" is the lemma for the verb): "{S}Cela correspond au <EtapePC Occurence="montant" Action="monter" Temps="Present"/> à débloquer."

Maybe I missed something or I didn't understand something ?
Does anyone know what the problem is, and can help me ?
For information, I use Unitex 3.1 beta under Windows 7.

Thanks in Advance

Gabrielle

Gabrielle

eric.laporte

unread,
Sep 21, 2014, 10:35:40 AM9/21/14
to unitex-...@googlegroups.com
Dear Gabrielle,

Thanks for mentioning in your mail to me that your graph recognises words in morphological mode before inserting the tags. Priorities between dictionaries are invalid in morphological mode. They are valid only when the system applies lexical resources to the whole text by the "Text > Apply Lexical Resources" menu or by the Dico tool. As your graph is in morphological mode when it recognises montant, the system looks up all the morphological-mode dictionaries and finds the verb entry. If you want to take advantage of priorities between dictionaries, you can insert in your graph a right-context part (part 6.3.1 of the manual) before entering the morphological mode, to check if the next word is a verb according to the dictionaries of the text (i.e. to the Word Lists window).

Best,

Eric Laporte

Gabrielle Bosshard

unread,
Sep 21, 2014, 11:01:19 AM9/21/14
to unitex-...@googlegroups.com
Okay I understand.

thanks !

Gabrielle

Reply all
Reply to author
Forward
0 new messages