Removing Hyphen in "accompa-gner"

23 views
Skip to first unread message

Alexis Neme

unread,
Jul 22, 2021, 9:07:50 AM7/22/21
to Unitex-GramLab
hello,

I need to remove the hyphen in the word "accompa-gner"  and check that accompagner is a valid word. The hyphen is used for justification at the end-of-line such as :

bla bla bla bla bla bla bla bla bla accompa-
gner bla bla bla bla bla bla bla bla bla    bla  .
bla  bla bla bla bla bla bla bla bla  bla    bla 


Here an FST: accompa-gner    ==> accompagner

hyphen.png

This graph checks that both parts of the accompa-gner are not valid words but asumme that the junction of both parts is a valid word, which is not necessarily true: if the word includes a spelling mistake such as "accompa-gnner".

Question: is there a simple way in Unitex 3.2 to check that the produced output accompagner belongs to the French dictionary?


Thanks, 

Alexis 


 

Reply all
Reply to author
Forward
0 new messages