3 ms·
How do you get the text without all the wiki markup?
by sp332 11y ago
How do you get the text without all the wiki markup?
- agumonkey 11y agohttp://stackoverflow.com/questions/8555320/is-there-a-clean-wikipedia-api-just-for-retrieve-content-summary http://stackoverflow.com/questions/8555320/is-there-a-clean-... https://www.mediawiki.org/wiki/API:Data_formats https://www.mediawiki.org/wiki/API:Data_formats https://en.wikipedia.org/w/api.php?action=query&prop=extracts&format=json&exintro=&titles=Stack%20Overflow https://en.wikipedia.org/w/api.php?action=query&prop=extract...
- sp332 11y agoWell most of those answers just replace the MediaWiki markup with HTML markup. At least one of the answers strips the HTML tags out. I already have the MediaWiki version (taken from an XML dump), I was just wondering if there's an easy way to make that useful for NLP projects.