de.tudarmstadt.ukp.jwktl.api.util
Interface ILanguage

All Superinterfaces:
Comparable<ILanguage>
All Known Implementing Classes:
Language

public interface ILanguage
extends Comparable<ILanguage>

Generic interface for languages used in Wiktionary. Instances of ILanguage are used in as entry language of IWiktionaryPages, the word language of IWiktionaryEntrys, and the target language of IWiktionaryTranslations. Each language is encoded using the international standard of language classification (ISO 639). Languages are compared by their internal code.

Author:
Christian M. Meyer, Christof Müller, Lizhen Qu

Method Summary
 String getCode()
          Returns the internal language code used by JWTKL.
 String getISO639_1()
          Returns the ISO 639-1 code or an empty string if none.
 String getISO639_2B()
          Returns the ISO 639-2b code or an empty string if none.
 String getISO639_2T()
          Returns the ISO 639-2t code or an empty string if none.
 String getISO639_3()
          Returns the ISO 639-3 code or an empty string if none.
 String getName()
          Returns the language name (in English language).
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getCode

String getCode()
Returns the internal language code used by JWTKL. These codes roughly correspond to ISO 639-3, but also include language families, deprecated classifications, and not yet classified languages.


getName

String getName()
Returns the language name (in English language).


getISO639_1

String getISO639_1()
Returns the ISO 639-1 code or an empty string if none.


getISO639_2B

String getISO639_2B()
Returns the ISO 639-2b code or an empty string if none.


getISO639_2T

String getISO639_2T()
Returns the ISO 639-2t code or an empty string if none.


getISO639_3

String getISO639_3()
Returns the ISO 639-3 code or an empty string if none.



Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.