Parsoid
A bidirectional parser between wikitext and HTML5
|
An oracle that gives you a predicted "source language" for every node in a DOM, which is used when converting the result back to the source language during round-tripping. More...
Public Member Functions | |
guessLang (Element $node) | |
An oracle that gives you a predicted "source language" for every node in a DOM, which is used when converting the result back to the source language during round-tripping.
|
abstract |
Element | $node |
Reimplemented in Wikimedia\Parsoid\Language\ConstantLanguageGuesser, and Wikimedia\Parsoid\Language\MachineLanguageGuesser.