Type definitions - IBulkCheckService - Linguistic-related types
LinguisticCheckResult class
Represents document check result.
| Property | Meaning |
|---|---|
| ResultXml | Represents the input XML where found errors and terminology candidates ranges are marked with processing instructions. To distinguish range of the certain error or candidate Id property should be used. |
| Errors | Contains collection of found error details (e.g. error type, descriptions, proposals etc.). |
| TermCandidates | Collection of extracted terminology candidates. |
| Reporting | Linguistic report |
LinguisticCheckResult2 class
Represents document check result with extended error reporting.
| Property | Meaning |
|---|---|
| ResultXml | Represents the input XML where found errors and terminology candidates ranges are marked with processing instructions. To distinguish range of the certain error or candidate Id property should be used. |
| Errors | Contains collection of found error details (e.g. error type, descriptions, proposals etc.) |
| TermCandidates | Collection of extracted terminology candidates |
| Reporting | Linguistic report |
LinguisticCheckResult3 class
LinguisticCheckResult2 extended with information about failed paragraphs.
| Property | Meaning |
|---|---|
| FailedParagraphsInfo | Collection of failed paragraphs information |
ErrorInfo class
Represents description of an error.
| Property | Meaning |
|---|---|
| Id | Id of the error |
| ContextId | Id of context |
| Type | Error type |
| Descriptions | Array of available descriptions |
| Proposals | Array of proposals |
| RelatedTerms | Array of terms related to the error |
ErrorInfo2 class
Represents description of an error with extended proposals.
| Property | Meaning |
|---|---|
| Id | Id of the error |
| ContextId | Id of context |
| Type | Error type |
| Descriptions | Array of available descriptions |
| Proposals | Array of proposals |
| RelatedTerms | Array of terms related to the error |
LinguisticErrorType enumeration
Represents category of an error.
| Value | Meaning |
|---|---|
| Abbreviation | |
| Grammar | |
| Spelling | |
| Style | |
| Terminology | |
| ValidTerm |
ErrorDetailedDescription class
Represents detailed description of an error.
| Property | Meaning |
|---|---|
| Code | Code of the error |
| Description | Description text |
| Explanation | Negative examples |
| ExplanationRewrite | Positive examples |
ErrorDescription class
Represents description of an error.
| Property | Meaning |
|---|---|
| Header | Error header |
| Instruction | Instructions |
| Explanation | Error explanation |
ExplanationPart class
Represents error explanation.
| Property | Meaning |
|---|---|
| Type | Explnanation part type |
| Text | Inner text |
ExplanationPartType enumeration
Represents type of explanation part.
| Property | Meaning |
|---|---|
| Text | |
| Explanation |
Proposal class
Represents proposal.
| Property | Meaning |
|---|---|
| Text | Proposal text |
| AdditionalInfo | Additional explanation |
| BaseTermForm | Base form of the term |
Proposal2 class
Represents proposal with concept.
| Property | Meaning |
|---|---|
| Text | Proposal text |
| AdditionalInfo | Additional explanation |
| BaseTermForm | Base form of the term |
| ConceptId | Concept identifier |
FailedParagraphsInfo class
Provides information on failed paragraphs.
| Property | Meaning |
|---|---|
| FailedParagraphsAmount | Total count of paragraphs Congree was unable to check |
LinguisticReporting class
Represents linguistic report.
| Property | Meaning |
|---|---|
| TotalCheckedWords | Total count of words checked |
| ReleaseLevel | Release level (0..100) |
| RelativeReleaseLevel | Relative release level |
| SafeReleaseLevel | "Safe" release level threshold |
| SafeReleaseLevelTitle | "Safe" release level title |
| AcceptableReleaseLevel | "Acceptable" release level threshold |
| AcceptableReleaseLevelTitle | "Acceptable" release level title |
| UnsafeReleaseLevel | "Unsafe" release level threshold |
| UnsafeReleaseLevelTitle | "Unsafe" release level title |
| ReportingByTypes | Statistics per error type |
LinguisticReportingByType class
Repersents result per error type.
| Property | Meaning |
|---|---|
| Type | Error type |
| ErrorCount | Count of found errors of the type specified |
| Severity | Severity |
| RelativeSeverity | Relative severity |
Options class
Represents check options.
| Property | Meaning |
|---|---|
| IncludeValidTerms | Specifies whether to include valid terms in check result |
| IncludeReporting | Specifies whether to generate inguistic report for check result (Reporting property of LinguisticCheckResult*) |
TermCandidate class
Represents a term candidate.
| Property | Meaning |
|---|---|
| Id | Identifier |
| Text | Term candidate text |
| Context | Term candidate context |
| IsExist | Indicates whether the specified term candidate exists in Congree DataGrooming DB |
, multiple selections available,