ICML filter: <Br /> element should create a new segment by default
The attached ICML file has a bullet list with four items. When I run this through a segmentation-only pipeline in Rainbow using the current ICML filter, I get a single segment in the result XLIFF file. My expectation would be that one segment per item on the bullet list is created. I think the default behavior of the filter should be to create a new segment on each <Br/> element.
Comments (6)
-
-
reporter OK, thank you, Yves, for the background information. Good to know that others have noticed this also.
-
reporter -
assigned issue to
- edited description
-
assigned issue to
-
reporter this one seems to be down to a hard-coded filter parameter in net.sf.okapi.filters.icml.Parameters:
newTuOnBr = false;
need to set this parameter correctly for the unit test....
-
reporter The filter configuration can be adjusted by adding a .fprm file with newTuOnBr = true and adding a filter mapping to the pipeline. Issue can be closed.
-
reporter - changed status to resolved
Adjust filter config.
- Log in to comment
The ICML filter is based on the IDML filter and this issue is related to issues
#245and#471.The bottom line is that we have not been able to really tackle this problem so far, mostly because the current structure often causes merging errors.