The Parsoid project gives the ability to parse HTML, however the results definitely need to be examined to see how it might be able to work
<sourcelang="bash">cat uvm.html | webapps/wiki/extensions/parsoid/tests/parse.js --html2wt</source>
[[Category:Wiki]]