public class WQuote extends Object
Constructor and Description |
---|
WQuote(String _text,
String _translation,
String _transcription,
String _author,
String _author_wikilink,
String _title,
String _title_wikilink,
String _publisher,
String _source,
int _year_from,
int _year_to)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Gets author's name.
|
String |
getAuthorWikilink()
Gets author's name in Wikipedia (format: [[w:name|]]).
|
String |
getPublisher()
Gets quote book publisher.
|
String |
getSource()
Gets quote source.
|
String |
getText()
Gets definition line of text.
|
String |
getTitle()
Gets title of the work.
|
String |
getTitleWikilink()
Gets link to a book in Wikipedia (format: [[w:title|]]),.
|
String |
getTranscription()
Gets transcription of the example sentence.
|
String |
getTranslation()
Gets translation of the example sentence into native language.
|
int |
getYearFrom()
Gets start date of a writing book with the quote.
|
int |
getYearTo()
Gets finish date of a writing book with the quote.
|
static String |
removeHighlightedMarksFromSentence(LanguageType wikt_lang,
String text,
String start_replacement,
String end_replacement)
Removes highlighted marks from a sentence.
|
static String |
transformSentenceText(boolean is_sqlite,
LanguageType wikt_lang,
String text)
Additional treatment of the sentence text:
English Wiktionary: ?..
|
static String |
transformSentenceTextToHTML(boolean is_sqlite,
LanguageType wikt_lang,
String text)
Additional treatment of the sentence text:
English Wiktionary: ?..
|
public WQuote(String _text, String _translation, String _transcription, String _author, String _author_wikilink, String _title, String _title_wikilink, String _publisher, String _source, int _year_from, int _year_to)
_text
- text of an example sentence_translation
- translation of the example sentence into native language_transcription
- transcription of the example sentence_author
- author's name,_author_wikilink
- link to author's name in Wikipedia (format: [[w:name|]]),_title
- title of the work_title_wikilink
- link to a book in Wikipedia (format: [[w:title|]]),
it could be empty ("")_publisher
- quote book publisher_source
- quote source_year_from
- start date of a writing book with the quote_year_to
- finish date of a writing book with the quotepublic String getText()
public String getTranslation()
public String getTranscription()
public String getAuthor()
public String getAuthorWikilink()
public String getTitle()
public String getTitleWikilink()
public String getPublisher()
public String getSource()
public int getYearFrom()
public int getYearTo()
public static String removeHighlightedMarksFromSentence(LanguageType wikt_lang, String text, String start_replacement, String end_replacement)
public static String transformSentenceText(boolean is_sqlite, LanguageType wikt_lang, String text)
public static String transformSentenceTextToHTML(boolean is_sqlite, LanguageType wikt_lang, String text)
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.