omorfi icon indicating copy to clipboard operation
omorfi copied to clipboard

Broken pipe problem

Open TuulaP opened this issue 9 years ago • 1 comments

We've been running omorfi-analyse-text.sh for a very long file. At certain point(s) there comes this broken pipe issue:

/work/bin/omorfiversiot/042016/bin/omorfi-analyse-text.sh: line 59: 30360 Broken pipe cat $@ 30361 | $cleanup 30362 | sed -e 's/.[]//g' 30363 Killed | /work/bin/hfst-3.10.0/bin/hfst-proc -x "$omorfifile"

Updated around last Thursday to latest omorfi and to HFST 3.10.0. The problem can be reproduced with the attached file:

omo_pipe.txt

The three first lines pass fine, but the third IQQ] or 5th line causes omorfi to hang. Not sure if it is the ] mark at the end of the line or the next one, which is just multiple -*'s.

TuulaP avatar May 02 '16 06:05 TuulaP

Seems to work for me with current master version. There has been a number of changes in similar parts of the code that may have worked around it (see #25 ). It could be changeset from commit a64500b9fd823fe6b617ed3969a5e65ff8fba323 or some of the later changes in acronym and symbol ocmpounding... I will probably make a new release soon; there has been a lot of changes after last one.

flammie avatar May 03 '16 08:05 flammie