de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.en
Class WRedirectEn

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.en.WRedirectEn

public class WRedirectEn
extends Object

Redirect related functions in wiki and English Wiktionary.

See Also:
http://en.wiktionary.org/wiki/Wiktionary:Redirections

Constructor Summary
WRedirectEn()
           
 
Method Summary
static String getRedirect(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

WRedirectEn

public WRedirectEn()
Method Detail

getRedirect

public static String getRedirect(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.