public class LanguageIdentificationProtosUtil extends Object
| Constructor and Description |
|---|
LanguageIdentificationProtosUtil() |
| Modifier and Type | Method and Description |
|---|---|
static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest |
buildIdentifyLanguageAndEncodingRequest(List<CommonProtos.Header> headers,
byte[] byteString,
String originalEncoding) |
static LanguageIdentificationProtos.IdentifyRequest |
buildIdentifyRequest(List<CommonProtos.Header> headers,
String text,
String originalEncoding) |
public static LanguageIdentificationProtos.IdentifyRequest buildIdentifyRequest(List<CommonProtos.Header> headers, String text, String originalEncoding)
public static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest buildIdentifyLanguageAndEncodingRequest(List<CommonProtos.Header> headers, byte[] byteString, String originalEncoding)