Class GenericAnnotationType
- java.lang.Object
-
- net.sf.okapi.common.annotation.GenericAnnotationType
-
public class GenericAnnotationType extends Object
Types of Generic annotation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOWEDCHARSAnnotation identifier for the ITS Allowed Characters data category.static StringALLOWEDCHARS_VALUEAllowed characters: a string that is a regular expression (restricted to a small sub-set common to several engines.).static StringANNOTAnnotation identifier for the ITS annotators references.static StringANNOT_VALUEAnnotators references: a string in the format of a space delimited pairs of data category identifier and IRI (separated by a character '|').static StringANNOTATORREFA single annotator reference: a string IRI.static StringCUSTOM_TYPEstatic StringDOMAINAnnotation identifier for the ITS Domain data category.static StringDOMAIN_VALUEDomain value(s): a string in the format of a comma-separated list of values.static StringEXTERNALRESAnnotation identifier for the ITS External resource data category.static StringEXTERNALRES_VALUEReference: a string IRI.static StringGENERICLabel to use for a generic annotation set (e.g.static StringLANGAnnotation identifier for the Language Information data category.static StringLANG_VALUELanguage information: a string which is the language code.static StringLOCFILTERAnnotation identifier for the ITS Locale Filter data category.static StringLOCFILTER_VALUELocale filter list: a string in the format of an optional '!' followed by a comma separated list of locale BCP47 codes.static StringLOCNOTEAnnotation identifier for the ITS Localization Note data category.static StringLOCNOTE_TYPELocalization note type: a string "alert" or "description".static StringLOCNOTE_VALUELocalization note value: a string.static StringLQIAnnotation identifier for the ITS Localization Quality Issue data category.static StringLQI_COMMENTIssue comment: a string.static StringLQI_ENABLEDEnabled flag: a boolean.static StringLQI_ISSUESREFIssues reference: a string IRI.static StringLQI_PROFILEREFProfile reference: a string IRI.static StringLQI_SEVERITYSeverity: a double between 0.0 and 100.0static StringLQI_TYPEIssue type: a string (values limited to the set define in the table at http://www.w3.org/TR/its20/#lqissue-typevalues).static StringLQI_XCODESstatic StringLQI_XENDstatic StringLQI_XSEGIDstatic StringLQI_XSTARTstatic StringLQI_XTRGENDstatic StringLQI_XTRGSTARTstatic StringLQI_XTYPEstatic StringLQRAnnotation identifier for the ITS Localization Quality Rating data category.static StringLQR_PROFILEREFProfile reference: a string IRI.static StringLQR_SCOREScore: a double between 0.0 and 100.0static StringLQR_SCORETHRESHOLDScore threshold: a double between 0.0 and 100.0static StringLQR_VOTEVote: a signed integer.static StringLQR_VOTETHRESHOLDVote threshold: a signed integer.static StringMISC_METADATATextUnit Metadata generated by a filter but doesn't map to existing categories.static StringMTCONFIDENCEAnnotation identifier for the ITS MT Confidence data category.static StringMTCONFIDENCE_VALUEMT confidence: a double between 0 and 1.static StringPRESERVEWSAnnotation identifier for the Preserve Space data category.static StringPRESERVEWS_INFOPreserve space: a string 'preserve' or 'default'.static StringPROVAnnotation identifier for the ITS Provenance data category.static StringPROV_ORGOrganizational translation provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.static StringPROV_PERSONHuman translation provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.static StringPROV_PROVREFProvenance reference: A IRI string pointing to an external provenance information set.static StringPROV_RECSREFRecords reference: a IRI string.static StringPROV_REVORGOrganizational revision provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.static StringPROV_REVPERSONHuman revision provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.static StringPROV_REVTOOLTool revision provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.static StringPROV_TOOLTool translation provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.static StringREF_PREFIXPrefix used to indicate a reference value.static StringSTORAGESIZEAnnotation identifier for the ITS Storage Size data category.static StringSTORAGESIZE_ENCODINGStorage encoding: a string representing a IANA character set name.static StringSTORAGESIZE_LINEBREAKLinebreak type: a string "cr", "lf" or "crlf".static StringSTORAGESIZE_SIZEStorage size: an unsigned integer.static StringTAAnnotation identifier for the ITS Text Analysis data category.static StringTA_CLASSstatic StringTA_CONFIDENCEConfidence: a double between 0 and 1.static StringTA_IDENTstatic StringTA_SOURCEstatic StringTERMAnnotation identifier for the ITS Terminology data category.static StringTERM_CONFIDENCETerm confidence: a double between 0.0 and 1.0.static StringTERM_INFOTerm information: a string.static StringTRANSLATEAnnotation identifier for the ITS Translate data category.static StringTRANSLATE_VALUETranslate flag: a boolean.
-
Constructor Summary
Constructors Constructor Description GenericAnnotationType()
-
-
-
Field Detail
-
MISC_METADATA
public static final String MISC_METADATA
TextUnit Metadata generated by a filter but doesn't map to existing categories. In xliff 1.2 written out asXLIFFContextGroup- See Also:
- Constant Field Values
-
GENERIC
public static final String GENERIC
Label to use for a generic annotation set (e.g. on an inline code).- See Also:
- Constant Field Values
-
REF_PREFIX
public static final String REF_PREFIX
Prefix used to indicate a reference value.- See Also:
- Constant Field Values
-
ANNOT
public static final String ANNOT
Annotation identifier for the ITS annotators references.See http://www.w3.org/TR/its20/#its-tool-annotation for more information.
- See Also:
- Constant Field Values
-
ANNOT_VALUE
public static final String ANNOT_VALUE
Annotators references: a string in the format of a space delimited pairs of data category identifier and IRI (separated by a character '|'). See http://www.w3.org/TR/its20/#its-tool-annotation for the definition.- See Also:
- Constant Field Values
-
ANNOTATORREF
public static final String ANNOTATORREF
A single annotator reference: a string IRI.Use the
ANNOTannotation and itsANNOT_VALUEvalue for the list of annotators references.- See Also:
- Constant Field Values
-
TRANSLATE
public static final String TRANSLATE
Annotation identifier for the ITS Translate data category. This may be mapped to an inline code.Related field:
TRANSLATE_VALUE.- See Also:
- Constant Field Values
-
TRANSLATE_VALUE
public static final String TRANSLATE_VALUE
Translate flag: a boolean. True to translate, false to not translate.- See Also:
- Constant Field Values
-
LOCNOTE
public static final String LOCNOTE
Annotation identifier for the ITS Localization Note data category.Related fields:
LOCNOTE_TYPEandLOCNOTE_VALUE.- See Also:
- Constant Field Values
-
LOCNOTE_VALUE
public static final String LOCNOTE_VALUE
Localization note value: a string. A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
LOCNOTE_TYPE
public static final String LOCNOTE_TYPE
Localization note type: a string "alert" or "description".- See Also:
- Constant Field Values
-
TERM
public static final String TERM
Annotation identifier for the ITS Terminology data category.Related fields:
TERM_CONFIDENCE,TERM_INFO.- See Also:
- Constant Field Values
-
TERM_INFO
public static final String TERM_INFO
Term information: a string. A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
TERM_CONFIDENCE
public static final String TERM_CONFIDENCE
Term confidence: a double between 0.0 and 1.0.- See Also:
- Constant Field Values
-
LANG
public static final String LANG
Annotation identifier for the Language Information data category.Related field:
LANG_VALUE.- See Also:
- Constant Field Values
-
LANG_VALUE
public static final String LANG_VALUE
Language information: a string which is the language code.- See Also:
- Constant Field Values
-
DOMAIN
public static final String DOMAIN
Annotation identifier for the ITS Domain data category.Related field:
DOMAIN_VALUE.- See Also:
- Constant Field Values
-
DOMAIN_VALUE
public static final String DOMAIN_VALUE
Domain value(s): a string in the format of a comma-separated list of values. See the definition at http://www.w3.org/TR/its20/#domain-implementation:- See Also:
- Constant Field Values
-
TA
public static final String TA
Annotation identifier for the ITS Text Analysis data category.Related fields:
TA_CLASS,TA_CONFIDENCE,TA_IDENTandTA_SOURCE.- See Also:
- Constant Field Values
-
TA_CLASS
public static final String TA_CLASS
- See Also:
- Constant Field Values
-
TA_SOURCE
public static final String TA_SOURCE
- See Also:
- Constant Field Values
-
TA_IDENT
public static final String TA_IDENT
- See Also:
- Constant Field Values
-
TA_CONFIDENCE
public static final String TA_CONFIDENCE
Confidence: a double between 0 and 1.- See Also:
- Constant Field Values
-
PROV
public static final String PROV
Annotation identifier for the ITS Provenance data category.Related fields:
PROV_ORG,PROV_PERSON,PROV_TOOL,PROV_REVORG,PROV_REVPERSON,PROV_REVTOOL,PROV_PROVREFandPROV_RECSREF.- See Also:
- Constant Field Values
-
PROV_RECSREF
public static final String PROV_RECSREF
Records reference: a IRI string.- See Also:
- Constant Field Values
-
PROV_PERSON
public static final String PROV_PERSON
Human translation provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
PROV_ORG
public static final String PROV_ORG
Organizational translation provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
PROV_TOOL
public static final String PROV_TOOL
Tool translation provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
PROV_REVPERSON
public static final String PROV_REVPERSON
Human revision provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
PROV_REVORG
public static final String PROV_REVORG
Organizational revision provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
PROV_REVTOOL
public static final String PROV_REVTOOL
Tool revision provenance: A reference IRI if there is aREF_PREFIXprefix), a text otherwise.- See Also:
- Constant Field Values
-
PROV_PROVREF
public static final String PROV_PROVREF
Provenance reference: A IRI string pointing to an external provenance information set.- See Also:
- Constant Field Values
-
EXTERNALRES
public static final String EXTERNALRES
Annotation identifier for the ITS External resource data category.Related field:
EXTERNALRES_VALUE.- See Also:
- Constant Field Values
-
EXTERNALRES_VALUE
public static final String EXTERNALRES_VALUE
Reference: a string IRI.- See Also:
- Constant Field Values
-
PRESERVEWS
public static final String PRESERVEWS
Annotation identifier for the Preserve Space data category.Related field:
PRESERVEWS_INFO.- See Also:
- Constant Field Values
-
PRESERVEWS_INFO
public static final String PRESERVEWS_INFO
Preserve space: a string 'preserve' or 'default'.- See Also:
- Constant Field Values
-
LQI
public static final String LQI
Annotation identifier for the ITS Localization Quality Issue data category.Related fields:
LQI_COMMENT,LQI_ENABLED,LQI_ISSUESREF,LQI_PROFILEREF,LQI_SEVERITYandLQI_TYPE.And also:
LQI_XCODES,LQI_XEND,LQI_XSEGID,LQI_XSTART,LQI_XTRGEND,LQI_XTRGSTARTandLQI_XTYPE.- See Also:
- Constant Field Values
-
LQI_ISSUESREF
public static final String LQI_ISSUESREF
Issues reference: a string IRI.- See Also:
- Constant Field Values
-
LQI_TYPE
public static final String LQI_TYPE
Issue type: a string (values limited to the set define in the table at http://www.w3.org/TR/its20/#lqissue-typevalues).- See Also:
- Constant Field Values
-
LQI_COMMENT
public static final String LQI_COMMENT
Issue comment: a string.- See Also:
- Constant Field Values
-
LQI_SEVERITY
public static final String LQI_SEVERITY
Severity: a double between 0.0 and 100.0- See Also:
- Constant Field Values
-
LQI_PROFILEREF
public static final String LQI_PROFILEREF
Profile reference: a string IRI.- See Also:
- Constant Field Values
-
LQI_ENABLED
public static final String LQI_ENABLED
Enabled flag: a boolean.- See Also:
- Constant Field Values
-
LQI_XTYPE
public static final String LQI_XTYPE
- See Also:
- Constant Field Values
-
LQI_XSEGID
public static final String LQI_XSEGID
- See Also:
- Constant Field Values
-
LQI_XSTART
public static final String LQI_XSTART
- See Also:
- Constant Field Values
-
LQI_XEND
public static final String LQI_XEND
- See Also:
- Constant Field Values
-
LQI_XTRGSTART
public static final String LQI_XTRGSTART
- See Also:
- Constant Field Values
-
LQI_XTRGEND
public static final String LQI_XTRGEND
- See Also:
- Constant Field Values
-
LQI_XCODES
public static final String LQI_XCODES
- See Also:
- Constant Field Values
-
LQR
public static final String LQR
Annotation identifier for the ITS Localization Quality Rating data category.Related fields:
LQR_PROFILEREF,LQR_SCORETHRESHOLD,LQR_SCORE,LQR_VOTETHRESHOLDand "lqrVoteThreshold".- See Also:
- Constant Field Values
-
LQR_SCORE
public static final String LQR_SCORE
Score: a double between 0.0 and 100.0- See Also:
- Constant Field Values
-
LQR_VOTE
public static final String LQR_VOTE
Vote: a signed integer.- See Also:
- Constant Field Values
-
LQR_SCORETHRESHOLD
public static final String LQR_SCORETHRESHOLD
Score threshold: a double between 0.0 and 100.0- See Also:
- Constant Field Values
-
LQR_VOTETHRESHOLD
public static final String LQR_VOTETHRESHOLD
Vote threshold: a signed integer.- See Also:
- Constant Field Values
-
LQR_PROFILEREF
public static final String LQR_PROFILEREF
Profile reference: a string IRI.- See Also:
- Constant Field Values
-
MTCONFIDENCE
public static final String MTCONFIDENCE
Annotation identifier for the ITS MT Confidence data category.Related field:
MTCONFIDENCE_VALUE.- See Also:
- Constant Field Values
-
MTCONFIDENCE_VALUE
public static final String MTCONFIDENCE_VALUE
MT confidence: a double between 0 and 1.- See Also:
- Constant Field Values
-
ALLOWEDCHARS
public static final String ALLOWEDCHARS
Annotation identifier for the ITS Allowed Characters data category.Related field:
ALLOWEDCHARS_VALUE.- See Also:
- Constant Field Values
-
ALLOWEDCHARS_VALUE
public static final String ALLOWEDCHARS_VALUE
Allowed characters: a string that is a regular expression (restricted to a small sub-set common to several engines.).- See Also:
- Constant Field Values
-
STORAGESIZE
public static final String STORAGESIZE
Annotation identifier for the ITS Storage Size data category.Related fields:
STORAGESIZE_ENCODING,STORAGESIZE_LINEBREAKandSTORAGESIZE_SIZE.- See Also:
- Constant Field Values
-
STORAGESIZE_SIZE
public static final String STORAGESIZE_SIZE
Storage size: an unsigned integer.- See Also:
- Constant Field Values
-
STORAGESIZE_ENCODING
public static final String STORAGESIZE_ENCODING
Storage encoding: a string representing a IANA character set name.- See Also:
- Constant Field Values
-
STORAGESIZE_LINEBREAK
public static final String STORAGESIZE_LINEBREAK
Linebreak type: a string "cr", "lf" or "crlf".- See Also:
- Constant Field Values
-
LOCFILTER
public static final String LOCFILTER
Annotation identifier for the ITS Locale Filter data category.This is represented by a unique value, if the first character is '!' the type is 'exclude' otherwise it is 'include', the list comes after.
Related field:
LOCFILTER_VALUE.- See Also:
- Constant Field Values
-
LOCFILTER_VALUE
public static final String LOCFILTER_VALUE
Locale filter list: a string in the format of an optional '!' followed by a comma separated list of locale BCP47 codes.If the first character of this string is '!' the type is 'exclude' otherwise it is 'include'. The syntax of the list is the same as the one defined for "extended language ranges" in http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
- See Also:
- Constant Field Values
-
CUSTOM_TYPE
public static final String CUSTOM_TYPE
- See Also:
- Constant Field Values
-
-