Iterates over the given list of (pattern, replacement) tuples and replaces each occurrence of pattern in value by the given replacement.
Iterates over the given list of (pattern, replacement) tuples and replaces each occurrence of pattern in value by the given replacement.
list of tuples of regex pattern and replacement string
value to apply replacements to
Returns an option containing the new text if changes were performed, None if no changes occurred
Removes HTML tags from the property values of generated triples. This might help if there are some tags left after the abstract extraction.
Example call: ../run DecodeHtmlText /data/dbpedia short-abstracts,long-abstracts -tagstripped .nt.gz 10000-