wikiparsec
wikiparsec copied to clipboard
Handle a new class of labels called 'warnings'
This change to wikiparsec helps us avoid output that detracts from ConceptNet, perhaps because it involves obsolete forms of words, or because it outputs offensive definitions that are removed from the Wiktionary context saying that they're offensive.
Definitions that are labeled with one of several Wiktionary templates (such as "archaic" or "ethnic slur") will only output a single fact about that "warning label", instead of extracting facts from the definition.