LanguageDetectionOutput

Inheritance: java.lang.Object

public class LanguageDetectionOutput

Languages detected in the image text.

Constructors

ConstructorDescription
LanguageDetectionOutput(String _source, List<Map.Entry<Language,Float» _languages, int _page)

Fields

FieldDescription
languagesA ranked list of languages detected in the image text, ordered by likelihood.
pagePage number.
sourceThe full path to the file or URL, if any.

LanguageDetectionOutput(String _source, List<Map.Entry<Language,Float» _languages, int _page)

public LanguageDetectionOutput(String _source, List<Map.Entry<Language,Float>> _languages, int _page)

Parameters:

ParameterTypeDescription
_sourcejava.lang.String
_languagesjava.util.List<java.util.Map.Entry<com.aspose.ocr.models.Language,java.lang.Float»
_pageint

languages

public List<Map.Entry<Language,Float>> languages

A ranked list of languages detected in the image text, ordered by likelihood.

page

public int page

Page number.

source

public String source

The full path to the file or URL, if any. Empty for streams, byte arrays, base64.