Package | Description |
---|---|
org.languagetool.markup |
Modifier and Type | Method and Description |
---|---|
AnnotatedTextBuilder |
AnnotatedTextBuilder.addGlobalMetaData(AnnotatedText.MetaDataKey key,
String value)
Add global meta data like document title or receiver name (when writing an email).
|
AnnotatedTextBuilder |
AnnotatedTextBuilder.addGlobalMetaData(String key,
String value)
Add any global meta data about the document to be checked.
|
AnnotatedTextBuilder |
AnnotatedTextBuilder.addMarkup(String markup)
Add a markup text snippet like
<b attr='something'> or <div> . |
AnnotatedTextBuilder |
AnnotatedTextBuilder.addMarkup(String markup,
String interpretAs)
Add a markup text snippet like
<b attr='something'> or <div> . |
AnnotatedTextBuilder |
AnnotatedTextBuilder.addText(String text)
Add a plain text snippet, to be checked by LanguageTool when using
JLanguageTool.check(AnnotatedText) . |