de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.constant
Class SoftRedirectType

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.constant.SoftRedirectType

public class SoftRedirectType
extends Object

Names of types of soft redirects used in all wiktionaries.

See Also:
and Help:Redirect in English Wiktionary, - a hard redirect.

Field Summary
static SoftRedirectType Misspelling
          Misspelling - soft redirect to correct spelling {{misspelling of|}} or {{wrongname|}}.
static SoftRedirectType None
          It's not a redirect, it is the usual Wiktionary entry
static SoftRedirectType Wordform
          Wordform - soft redirect to correct spelling.
 
Method Summary
static SoftRedirectType get(String _name)
          Gets a type by its name
static boolean has(String _name)
          Checks weather exists the type by its name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

None

public static final SoftRedirectType None
It's not a redirect, it is the usual Wiktionary entry


Wordform

public static final SoftRedirectType Wordform
Wordform - soft redirect to correct spelling.


Misspelling

public static final SoftRedirectType Misspelling
Misspelling - soft redirect to correct spelling {{misspelling of|}} or {{wrongname|}}.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

has

public static boolean has(String _name)
Checks weather exists the type by its name.


get

public static SoftRedirectType get(String _name)
Gets a type by its name



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