Design and Implementation of the Sweble Wikitext Parser: Unlocking the Structured Data of Wikipedia

Conference contribution
(Original article)


Publication Details

Author(s): Dohrn H, Riehle D
Title edited volumes: WikiSym 2011 Conference Proceedings - 7th Annual International Symposium on Wikis and Open Collaboration
Publisher: ACM Press
Publication year: 2011
Conference Proceedings Title: Proceedings of the 7th International Symposium on Wikis and Open Collaboration
Pages range: 72-81
Language: English


Abstract


The heart of each wiki, including Wikipedia, is its content. Most machine processing starts and ends with this content. At present, such processing is limited, because most wiki engines today cannot provide a complete and precise representation of the wiki's content. They can only generate HTML. The main reason is the lack of well-defined parsers that can handle the complexity of modern wiki markup. This applies to Media Wiki, the software running Wikipedia, and most other wiki engines. This paper shows why it has been so difficult to develop comprehensive parsers for wiki markup. It presents the design and implementation of a parser for Wikitext, the wiki markup language of MediaWiki. We use parsing expression grammars where most parsers used no grammars or grammars poorly suited to the task. Using this parser it is possible to directly and precisely query the structured data within wikis, including Wikipedia. The parser is available as open source from http://sweble.org. © 2011 ACM.



FAU Authors / FAU Editors

Dohrn, Hannes
Professur für Open Source Software
Riehle, Dirk Prof. Dr.
Professur für Open Source Software


How to cite

APA:
Dohrn, H., & Riehle, D. (2011). Design and Implementation of the Sweble Wikitext Parser: Unlocking the Structured Data of Wikipedia. In Proceedings of the 7th International Symposium on Wikis and Open Collaboration (pp. 72-81). Mountain View: ACM Press.

MLA:
Dohrn, Hannes, and Dirk Riehle. "Design and Implementation of the Sweble Wikitext Parser: Unlocking the Structured Data of Wikipedia." Proceedings of the WikiSym 2011, Mountain View ACM Press, 2011. 72-81.

BibTeX: 

Last updated on 2018-09-08 at 22:53