de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikipedia.text
Class ReferenceParser
java.lang.Object
de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikipedia.text.ReferenceParser
public class ReferenceParser
- extends Object
Parser of wiki references <ref>...</ref>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceParser
public ReferenceParser()
expandMoveToEndOfText
public static StringBuffer expandMoveToEndOfText(StringBuffer text)
- Expands texts of the refence, and adds it to the end of text.
If the reference contains a template, e.g. <ref>{{cite book |..</ref>
then the whole reference will be deleted.
removeReferences
public static StringBuffer removeReferences(StringBuffer text)
- Removes refences from the text.
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.