de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.word
Class WRedirect

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.word.WRedirect

public class WRedirect
extends Object

Redirect related functions in wiki and Wiktionary.


Constructor Summary
WRedirect()
           
 
Method Summary
static String getRedirect(LanguageType wikt_lang, String page_title, StringBuffer text)
          Checks whether this is a redirect page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WRedirect

public WRedirect()
Method Detail

getRedirect

public static String getRedirect(LanguageType wikt_lang,
                                 String page_title,
                                 StringBuffer text)
Checks whether this is a redirect page. If this is true then the title of the target (redirected) page will be returned.

Parameters:
wikt_lang - language of Wiktionary
page_title - word which are described in this article
text - defines source wiki text
Returns:
if this is not a redirect then return null


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