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

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

public class WLanguageEn
extends Object

Language lets you know the language of the word in question. It is almost always in a level two heading. ==English==, or {{-de-|schwalbe}}.

See Also:
http://en.wiktionary.org/wiki/Wiktionary:Entry_layout_explained, http://en.wiktionary.org/wiki/Wiktionary:Language_considerations, names, http://en.wiktionary.org/wiki/Category:Language_templates

Constructor Summary
WLanguageEn()
           
 
Method Summary
static LanguageType getLanguageType(Matcher m, String page_title)
          Gets language type (code) information from a Wiktionary article header and from the result of search by regular expression stored in a matcher m.
static LangText[] splitToLanguageSections(String page_title, StringBuffer text)
          Splits an article text into language sections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLanguageEn

public WLanguageEn()
Method Detail

getLanguageType

public static LanguageType getLanguageType(Matcher m,
                                           String page_title)
Gets language type (code) information from a Wiktionary article header and from the result of search by regular expression stored in a matcher m.


splitToLanguageSections

public static LangText[] splitToLanguageSections(String page_title,
                                                 StringBuffer text)
Splits an article text into language sections.

Parameters:
page_title - word which are described in this article 'text'


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