Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Technical Specifications
Lingotek XLIFF 2.0 Filter Configuration Options
Allows user to control filters (config file for filter).
xxx.
Enhancements
For
more information, click here.For highly technical or creative content (where a degree of transcreation is needed), it may be desirable to segment on a paragraph (rather than a sentence). We’ve added the ability to turn segmentation on or off for XLIFF 2.0 files via the FPRM filter. Additionally, we’ve added the option to turn segmentation on/off for a specific unit ID.
To segment a document by something other than the XLIFF 2.0 defaults,
- Enable paragraph segmentation segmentation within the FPRM filter.
- Enable paragraph segmentation within the document. This can be controlled via each unit unit within the document.
Anchor | ||||
---|---|---|---|---|
|
Adjust Segmentation (via the FPRM Filter Config)
By default, LingotekEnterprise's XLIFF 2.0 filter configuration segments documents into sentences. To adjust segmentation, use the following variables (mergeAsParagraph, needsSegmentation) in the FPRM filter config file (defined and outlined below).
Warning |
---|
A bilingual XLIFF(2) CANNOT have the filter config set to needsSegmentation.b="true" (this will cause it to error out). |
Tip | ||
---|---|---|
| ||
In the filter config, use mergeAsParagraph.b to specify how segments will be treated when the file is downloaded again.
|
Tip | ||
---|---|---|
| ||
In the filter config, use needsSegmentation.b to determine whether segmentation can be adjusted on the XLIFF 2.0 file. (XLIFF by nature already has the segments/text units defined. The default behavior in the XLIFF 2 filter is to NOT resegment).
|
Choose to segment by paragraph, sentence, or phrase.
Use the instructions below to adjust the FPRM filter config.
Tip: When uploading a document needing custom segmentation, apply the newly created FPRM filter config.
- To segment on paragraphs, add:
- mergeAsParagraph.b=true
- needsSegmentation.b=true
- To segment on sentences, leave the FPRM filter's default settings.
- To segment on on phrases (i.e. something shorter than a sentence), add:
- mergeAsParagraph.b=false
- needsSegmentation=true
Anchor | ||||
---|---|---|---|---|
|
After applying the appropriate FPRM filter, go into the XLIFF 2.0 document and adjust its segmentation. By default, the file will segment on sentences. If there is a paragraph that should not be segmented (i.e. its contents should be a single segment), you can set the canResegment variable.
Tip | ||
---|---|---|
| ||
To combine all sentences within a unit into a single segment, go into the unit and set canResegment=no. This will bundle the entire paragraph into a single segment. |
Live Search | ||||||
---|---|---|---|---|---|---|
|
On this page:
Table of Contents |
---|
Need Support?
Visit the
LingotekStyle |
---|
#children-section { display:none !important; } #comments-section { display:none !important; } #likes-and-labels-container { display:none !important; } .page-metadata {display:none;} |