| Package | Description |
|---|---|
| net.sf.okapi.common |
Classes commonly used across the whole Okapi Framework.
|
| 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.
|
| net.sf.okapi.common.skeleton |
Interfaces and classes for the skeleton objects.
|
| net.sf.okapi.filters.xliff2.util | |
| net.sf.okapi.steps.scopingreport | |
| net.sf.okapi.steps.wordcount | |
| net.sf.okapi.steps.wordcount.common |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IResource
Common set of features all the types of resources associated with events have.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
static String |
ITSContent.getAnnotatorsRef(IWithAnnotations nameable)
Gets the value of the ITS AnnotatorsRef information if it is present.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IMultilingual |
interface |
INameable
Provides the methods common to all resources that can be named.
|
interface |
ITextUnit
Interface for the basic unit of extraction from a filter and also the resource
associated with the filter event TEXT_UNIT.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseNameable
Implements a nameable resource.
|
class |
BaseReferenceable
Implements a nameable resource that can be a referent.
|
class |
Custom |
class |
DocumentPart
Resource associated with the filter events DOCUMENT_PART,
|
class |
Ending
Resource associated with the filter events END_DOCUMENT,
END_SUBDOCUMENT, and END_GROUP.
|
class |
EndSubfilter
Ending
IResource for StartSubfilter |
class |
MultiEvent
Special resource that holds one or more events.
|
class |
PipelineParameters
Special resource used to carry runtime parameters.
|
class |
RawDocument
Resource that carries all the information needed for a filter to open a given document, and also the resource
associated with the event RAW_DOCUMENT.
|
class |
Segment
Implement a special content part that is a segment.
|
class |
StartDocument
Resource associated with the filter event START_DOCUMENT.
|
class |
StartGroup
Resource associated with the filter event START_GROUP.
|
class |
StartSubDocument
Resource associated with the filter event START_SUBDOCUMENT.
|
class |
StartSubfilter |
class |
TextContainer
Provides methods for storing the content of a paragraph-type unit, to handle
its properties, annotations and segmentation.
|
class |
TextPart
Implements the base object for the parts that make up a content.
|
class |
TextUnit
Basic unit of extraction from a filter and also the resource associated with
the filter event TEXT_UNIT.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
IWithAnnotations.copy(IWithAnnotations from,
IWithAnnotations to)
Copy all
IWithAnnotations Unless destination already has the
annotation. |
| Modifier and Type | Class and Description |
|---|---|
class |
StorageList
provides a way to store a list of resources and implements the different
interfaces of the resources.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
NotesMapper.setAnnotations(net.sf.okapi.lib.xliff2.core.IWithNotes sourceXliffNotesHolder,
IWithAnnotations targetAnnotationsHolder)
Takes notes from XLIFF 2.0 and stores them as Okapi Core Annotations
|
static void |
NotesMapper.setNotes(IWithAnnotations sourceAnnotationsHolder,
net.sf.okapi.lib.xliff2.core.IWithNotes targetXliffNotesHolder)
Takes annotations from Okapi Core and stores them as XLIFF 2.0 notes
|
static void |
NotesMapper.setNotes(IWithAnnotations sourceAnnotationsHolder,
net.sf.okapi.lib.xliff2.core.StartFileData targetStartFileData)
A placeholder to give a warning if annotations are detected in the
StartSubDocument. |
| Modifier and Type | Method and Description |
|---|---|
protected long |
ScopingReportStep.countCategories(IWithAnnotations res,
CategoryGroup group) |
protected long |
ScopingReportStep.countNonTranslatable(IWithAnnotations res,
CategoryGroup group) |
protected void |
ScopingReportStep.setItemFields(IReportGenerator gen,
IWithAnnotations res) |
| Modifier and Type | Method and Description |
|---|---|
static long |
WordCounter.getCount(IWithAnnotations res)
Returns the word count information stored by WordCountStep in annotations of a given resource.
|
protected void |
CharacterCountStep.removeFromMetrics(IWithAnnotations res,
String metricName) |
static void |
WordCounter.setCount(IWithAnnotations res,
long count) |
static void |
CharacterCounter.setCount(IWithAnnotations res,
long count) |
| Modifier and Type | Method and Description |
|---|---|
long |
BaseCounter.doGetCount(IWithAnnotations res) |
static long |
BaseCounter.getCount(IWithAnnotations res,
String metricName) |
protected void |
BaseCountStep.removeFromMetrics(IWithAnnotations res,
String metricName) |
Copyright © 2021. All rights reserved.