use the same approach for Wikipedia text extraction in the main() method as in the web app at community.languagetool.org