| Package | Description |
|---|---|
| net.sf.okapi.lib.xliff2.its |
Classes to read, write and manipulate ITS data categories.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DataCategory
Provides a base implementation of
IITSItem for a given data category. |
class |
DataCategoryGroup<T extends DataCategory>
Represents a stand-off group for a given data category that can have multiple
instances.
|
class |
Domain
Implements the Domain data category.
|
class |
LocQualityIssue
Implements the Localization Quality Issue data category.
|
class |
LocQualityIssues
Implements a group of
LocQualityIssue objects. |
class |
MTConfidence
Implements the MT Confidence data category.
|
class |
Provenance
Implements the Provenance data category.
|
class |
Provenances
Implements a group of
Provenance objects. |
class |
TextAnalysis
Implements the Text Analysis data category.
|
| Modifier and Type | Method and Description |
|---|---|
static IITSItem |
ITSWriter.annotate(Fragment fragment,
int start,
int end,
IITSItem item)
Annotates a given fragment with an ITS item.
|
IITSItem |
LocQualityIssues.createCopy() |
IITSItem |
LocQualityIssue.createCopy() |
IITSItem |
IITSItem.createCopy()
Creates a deep-copy clone of this item.
|
IITSItem |
TextAnalysis.createCopy() |
IITSItem |
Domain.createCopy() |
IITSItem |
Provenance.createCopy() |
IITSItem |
Provenances.createCopy() |
IITSItem |
MTConfidence.createCopy() |
<A extends DataCategory> |
ITSItems.get(Class<A> dcType)
Gets the item for a given type of data category.
|
IITSItem |
ITSItems.get(String dcName)
Gets the item for a given data category name.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<IITSItem> |
ITSItems.iterator()
Returns an iterator for the items in this collection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ITSItems.add(IITSItem item)
Adds (or sets) a new ITS data category instance in this collection.
|
static IITSItem |
ITSWriter.annotate(Fragment fragment,
int start,
int end,
IITSItem item)
Annotates a given fragment with an ITS item.
|
static MTag |
ITSWriter.annotate(Fragment fragment,
int start,
int end,
IITSItem item,
String matchingType)
Tries to reuse an existing annotation to add an ITS item.
|
void |
ITSItems.remove(IITSItem item)
Removes a given item from this collection.
|
void |
AnnotatorsRef.set(IITSItem item)
Sets the annotator reference of a given ITS item (if available).
|
Copyright © 2020. All rights reserved.