public class WordBase extends Object
Constructor and Description |
---|
WordBase(String _page_title,
LanguageType wikt_lang,
StringBuffer text)
Parses the article text.
|
Modifier and Type | Method and Description |
---|---|
WLanguage[] |
getAllLanguages()
Gets all languages.
|
String |
getPageTitle()
Gets an article title in Wiktionary.
|
String |
getRedirect()
Gets a redirected page, i.e.
|
boolean |
hasOnlyTemplatesWithoutDefinitions()
True if there are template (e.g.
|
boolean |
isEmpty()
Word is empty if there are no recognized data in the parsed wiki text.
|
boolean |
isRedirect()
Checks is the entry a REDIRECT.
|
public WordBase(String _page_title, LanguageType wikt_lang, StringBuffer text)
public boolean hasOnlyTemplatesWithoutDefinitions()
public String getPageTitle()
public WLanguage[] getAllLanguages()
public boolean isRedirect()
public String getRedirect()
public boolean isEmpty()
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.