de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikipedia.text
Class TableParser
java.lang.Object
de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikipedia.text.TableParser
public class TableParser
- extends Object
Parser of wiki tables {| .. |}.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableParser
public TableParser()
removeWikiTables
public static StringBuffer removeWikiTables(StringBuffer text)
- Removes tables, and embedded tables also, e.g.
"{| table 1 \n {| A table in the table 1 \n|}|}".
Remark: if this func is before CurlyBrackets () then it generates
warnings, since end of infobox (template) {{ |}} looks like end of table.
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.