Package org.languagetool.dev.wikipedia
Class MarkupAwareWikipediaResult
java.lang.Object
org.languagetool.dev.wikipedia.MarkupAwareWikipediaResult
The result of a Wikipedia check that takes markup into account so
that the suggestions can be applied to that original markup.
-
Constructor Summary
ConstructorsConstructorDescriptionMarkupAwareWikipediaResult(MediaWikiContent wikiContent, List<AppliedRuleMatch> appliedRuleMatch, int internalErrors) -
Method Summary
Modifier and TypeMethodDescriptionintMapping the Wikipedia syntax is complicated and it sometimes fails.
-
Constructor Details
-
MarkupAwareWikipediaResult
public MarkupAwareWikipediaResult(MediaWikiContent wikiContent, List<AppliedRuleMatch> appliedRuleMatch, int internalErrors)
-
-
Method Details
-
getAppliedRuleMatches
-
getInternalErrorCount
public int getInternalErrorCount()Mapping the Wikipedia syntax is complicated and it sometimes fails. We try to skip over those problems and increase this counter. Each increment here means that one rule match is missing from the rule applications. -
getOriginalWikiMarkup
-
getLastEditTimestamp
-