| Package | Description |
|---|---|
| net.sf.okapi.common.annotation |
Classes to implement and manage annotations.
|
| net.sf.okapi.common.filterwriter |
Interfaces and classes to allow the output of a document in its original
format.
|
| net.sf.okapi.common.resource |
Interfaces and classes that represent the parsed resources attached to the
events sent by a filter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ITSLQIAnnotations
Annotation for ITS Language Quality Issue meta-data.
|
class |
ITSProvenanceAnnotations
Annotation for ITS Provenance meta-data.
|
| Modifier and Type | Method and Description |
|---|---|
GenericAnnotations |
GenericAnnotations.clone()
Clones this annotation and make sure its still has a unique ID.
|
static GenericAnnotations |
GenericAnnotations.createFromString(String storage)
Creates a new GenericAnnotations object from a storage string.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericAnnotations.addAll(GenericAnnotations annotations)
Adds all annotations of a given set of annotations to this object.
|
static void |
GenericAnnotations.addAnnotations(Code code,
GenericAnnotations newSet)
Adds a set of annotations to a given inline code.
|
static void |
GenericAnnotations.addAnnotations(IWithAnnotations nameable,
GenericAnnotations newSet)
Adds a set of annotations to a given INameable object (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
List<GenericAnnotations> |
XLIFFContent.getStandoff()
Gets the standoff information for a possible list of annotations.
|
List<GenericAnnotations> |
ITSContent.getStandoff()
Gets the current standoff markup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ITSContent.outputAnnotations(GenericAnnotations anns,
StringBuilder output,
boolean inline,
boolean mrk,
boolean mtypeNeeded,
LocaleId trgLocId)
Generates the markup for the ITS attributes for a given annotation set.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ITSContent.writeStandoffLQI(List<GenericAnnotations> annotations)
Output all the Localization Quality issue annotation groups in a given list.
|
String |
ITSContent.writeStandoffProvenance(List<GenericAnnotations> annotations) |
| Constructor and Description |
|---|
XLIFFContent(String codedText,
List<Code> codes,
XLIFFContent innerContent,
CharsetEncoder chsEnc,
List<GenericAnnotations> standoff,
ITSContent itsCont) |
| Modifier and Type | Method and Description |
|---|---|
GenericAnnotations |
Code.getGenericAnnotations()
Gets the generic annotation set assigned to the code if any.
|
Copyright © 2021. All rights reserved.