Christian Schneiker, D. Seipel, Werner Wegstein, K. Prätor
{"title":"Declarative Parsing and Annotation of Electronic Dictionaries","authors":"Christian Schneiker, D. Seipel, Werner Wegstein, K. Prätor","doi":"10.5220/0002203401220132","DOIUrl":null,"url":null,"abstract":"We present a declarative annotation toolkit based on XML and PROLOG technologies, and we apply it for annotating the Campe Dictionary to obtain an electronic version in XML (TEI). For parsing flat structures, we use a very compact grammar formalism called extended definite clause grammars (EDCG’s), which is an extended version of the DCG’s that are well–known from the logic programming language PROLOG. For accessing and transforming XML structures, we use the XML query and transformation language FNQUERY. It turned out, that the declarative approach in PROLOG is much more readable, reliable, flexible, and faster than an alternative implementation which we had made in JAVA and XSLT for the TEXTGRID community project.","PeriodicalId":378427,"journal":{"name":"International Workshop on Natural Language Processing and Cognitive Science","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Workshop on Natural Language Processing and Cognitive Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5220/0002203401220132","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13
Abstract
We present a declarative annotation toolkit based on XML and PROLOG technologies, and we apply it for annotating the Campe Dictionary to obtain an electronic version in XML (TEI). For parsing flat structures, we use a very compact grammar formalism called extended definite clause grammars (EDCG’s), which is an extended version of the DCG’s that are well–known from the logic programming language PROLOG. For accessing and transforming XML structures, we use the XML query and transformation language FNQUERY. It turned out, that the declarative approach in PROLOG is much more readable, reliable, flexible, and faster than an alternative implementation which we had made in JAVA and XSLT for the TEXTGRID community project.