| Package | Description |
|---|---|
| net.sf.okapi.common.annotation |
Classes to implement and manage annotations.
|
| net.sf.okapi.common.resource |
Interfaces and classes that represent the parsed resources attached to the
events sent by a filter.
|
| net.sf.okapi.lib.verification |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericAnnotation
Generic annotation allowing access with field names and multiple instance on the same object.
|
class |
GenericAnnotations
Provides access to a list of
GenericAnnotation. |
class |
IssueAnnotation |
class |
ITSLQIAnnotations
Annotation for ITS Language Quality Issue meta-data.
|
class |
ITSProvenanceAnnotations
Annotation for ITS Provenance meta-data.
|
| Modifier and Type | Field and Description |
|---|---|
InlineAnnotation |
AnnotatedSpan.annotation
The annotation itself (can be null).
|
| Modifier and Type | Field and Description |
|---|---|
protected LinkedHashMap<String,InlineAnnotation> |
Code.inlineAnnotations
InlineAnnotations for this code.
|
| Modifier and Type | Method and Description |
|---|---|
InlineAnnotation |
InlineAnnotation.clone()
Clones this annotation.
|
static InlineAnnotation |
InlineAnnotation.createFromString(String storage)
Creates a new InlineAnnotation object from a storage string.
|
InlineAnnotation |
Code.getAnnotation(String type)
Gets the annotation of a given type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TextFragment.annotate(int start,
int end,
String type,
InlineAnnotation annotation)
Annotates a section of this text.
|
Code |
TextFragment.append(TextFragment.TagType tagType,
String type,
InlineAnnotation annotation)
Appends an annotation-type code to this text.
|
void |
Code.setAnnotation(String type,
InlineAnnotation annotation)
Sets the annotation for this code.
|
| Constructor and Description |
|---|
AnnotatedSpan(String type,
InlineAnnotation annotation,
TextFragment span,
int start,
int end)
Creates a new AnnotatedSpan object with a give type of annotation,
its annotation and its fragment of text.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Issue |
Copyright © 2022. All rights reserved.