public class EnrycherClient extends Object
| Constructor and Description |
|---|
EnrycherClient()
Creates a default client object with "en" as the default locale, and the default paameters.
|
| Modifier and Type | Method and Description |
|---|---|
IParameters |
getParameters()
Gets the current parameters for this client.
|
protected void |
parseHTML(String htmlResult,
LinkedList<ITextUnit> list) |
String |
processContent(String text)
Sends an HTML string to the service and get back the same string with Enrycher's ITS annotations.
|
void |
processList(LinkedList<ITextUnit> list)
Call the Enrycher service on a list of text units.
|
void |
setLocale(LocaleId locId)
Sets the locale to use when invoking the Enrycher service.
|
void |
setParameters(Parameters params)
Sets the parameters for this client.
|
String |
unwrap(String text) |
public EnrycherClient()
public IParameters getParameters()
public void setParameters(Parameters params)
params - the new parameters to use.public void setLocale(LocaleId locId)
locId - the locale to use.public String processContent(String text)
text - the HTML string to process.public void processList(LinkedList<ITextUnit> list)
list - the list to process.protected void parseHTML(String htmlResult, LinkedList<ITextUnit> list)
Copyright © 2019. All rights reserved.