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

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

public class WLanguageRu
extends Object

Language lets you know the language of the word in question. It is almost always in a level two heading. ==English==, {{-ru-}}, {{заголовок|ru|..}, or {{-de-|schwalbe}}.

See Also:
and http://ru.wiktionary.org/wiki/Викисловарь:Правила оформления статей http://ru.wiktionary.org/wiki/Категория:Викисловарь:Шаблоны:Языки http://en.wiktionary.org/wiki/Category:Language_templates todo: create LanguageTypeRu with list of all languages in Russian ...

Constructor Summary
WLanguageRu()
           
 
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

WLanguageRu

public WLanguageRu()
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.