|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.ru.WQuoteRu
public class WQuoteRu
Phrase or sentence that illustrates a meaning of a word in Russian Wiktionary.
Constructor Summary | |
---|---|
WQuoteRu()
|
Method Summary | |
---|---|
static String |
getDefinitionBeforeFirstQuote(String page_title,
String text)
Gets, extracts from 'text' a definition till first example sentence starting from {{пример|. |
static WQuote[] |
getQuotes(String page_title,
String text)
Extracts quotations from 'text' after the definition, each quotation starts from "{{пример|". |
static String |
removeHighlightedMarksFromSentence(String str,
String start_replacement,
String end_replacement)
Removes highlighted marks from a sentence. 1) Sentence with '''words'''. -> Sentence with |
static String |
transformSentenceText(boolean is_sqlite,
String str)
Additional treatment of the sentence text: 1) , -> " " 2) {{-}} -> " - " 3) poetry: "//" -> "\n" |
static String |
transformSentenceTextToHTML(boolean is_sqlite,
String str)
Additional treatment of the sentence text: 1) , -> " " 2) {{-}} -> " — " @see ru.wiktionary.org/wiki/template:- 3) poetry: "//" -> " " |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WQuoteRu()
Method Detail |
---|
public static String getDefinitionBeforeFirstQuote(String page_title, String text)
public static String removeHighlightedMarksFromSentence(String str, String start_replacement, String end_replacement)
public static String transformSentenceText(boolean is_sqlite, String str)
public static String transformSentenceTextToHTML(boolean is_sqlite, String str)
public static WQuote[] getQuotes(String page_title, String text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |