| Package | Description |
|---|---|
| net.sf.okapi.common.annotation |
Classes to implement and manage annotations.
|
| net.sf.okapi.lib.verification |
| Modifier and Type | Method and Description |
|---|---|
IssueType |
IssueAnnotation.getIssueType() |
static IssueType |
IssueType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IssueType[] |
IssueType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
IssueType.mapToITS(IssueType issueType)
Maps a given Issue type to an ITS issue type.
|
void |
IssueAnnotation.setIssueType(IssueType issueType)
Sets the issue type and its corresponding ITS type mapping.
|
| Constructor and Description |
|---|
IssueAnnotation(IssueType issueType,
String comment,
double severity,
String segId,
int srcStart,
int srcEnd,
int trgStart,
int trgEnd,
List<Code> codes) |
| Modifier and Type | Method and Description |
|---|---|
IssueType |
Issue.getIssueType() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractChecker.addAnnotation(TextContainer tc,
String segId,
IssueType issueType,
String comment,
int srcStart,
int srcEnd,
int trgStart,
int trgEnd,
double severity,
List<Code> codes) |
void |
AbstractChecker.addAnnotation(TextContainer tc,
String segId,
IssueType issueType,
String comment,
int srcStart,
int srcEnd,
int trgStart,
int trgEnd,
double severity,
List<Code> codes,
String itsType) |
void |
AbstractChecker.addAnnotationAndReportIssue(IssueType issueType,
ITextUnit tu,
TextContainer tc,
String segId,
String comment,
int srcStart,
int srcEnd,
int trgStart,
int trgEnd,
double severity,
String srcOri,
String trgOri,
List<Code> codes) |
void |
AbstractChecker.addAnnotationAndReportIssue(IssueType issueType,
ITextUnit tu,
TextContainer tc,
String segId,
String comment,
int srcStart,
int srcEnd,
int trgStart,
int trgEnd,
double severity,
String srcOri,
String trgOri,
List<Code> codes,
String itsType) |
void |
AbstractChecker.reportIssue(IssueType issueType,
ITextUnit tu,
String segId,
String message,
int srcStart,
int srcEnd,
int trgStart,
int trgEnd,
double severity,
String srcOri,
String trgOri,
List<Code> codes) |
| Constructor and Description |
|---|
Issue(URI docId,
String subDocId,
IssueType issueType,
String tuId,
String segId,
String message,
int srcStart,
int srcEnd,
int trgStart,
int trgEnd,
double severity,
String tuName) |
Copyright © 2021. All rights reserved.