Giter Site home page Giter Site logo

lenakmeth / wikinflection Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 2.0 21 KB

Code for the paper: Wikinflection: Massive semi-supervised generation of multilingual inflectional corpus from Wiktionary (Metheniti and Neumann, 2018)

Home Page: https://www.dfki.de/fileadmin/user_upload/import/10149_ecp18155014.pdf

Python 100.00%
wiktionary computational-linguistics morphology inflection linguistics wiktionary-parser

wikinflection's Introduction

Wikinflection

Find the extracted, ready-to-use corpus at github.com/lenakmeth/Wikinflection-Corpus.

Massive semi-supervised generation of multilingual inflectional corpus from Wiktionary. Corresponding publication: Metheniti, E., & Neumann, G. (2018, December). Wikinflection: Massive Semi-Supervised Generation of Multilingual Inflectional Corpus from Wiktionary. In Proceedings of the 17th International Workshop on Treebanks and Linguistic Theories (TLT 2018), December 13–14, 2018, Oslo University, Norway (No. 155, pp. 147-161). Linköping University Electronic Press.

Getting Started

  • Download the XML wiki dump for the Englsih version of Wiktionary.
  • Clone the project.

Prerequisites

  • Python3
  • BeautifulSoup
  • Pandas

Run

From command line: python main.py [dump file]

Notes

  • The first time running, module pull_templates.py will pull 7K text files from en.wiktionary.org. This process will take several hours, because of pauses between requests, and will use up ~210MB.
  • The output will be a .JSON file with inflectional paradigms, evaluated and corrected, separated per lemma, then separated by template ID. Every word in the inflectional paradigm has: template ID, [list of morphological features], POS, [prefixes, suffixes, [infixes]], stem.
  • Currently, there are problems with the HTML table parsing (merged cells, nested tables in tables), and as a result not all features are identified per wordform. This is a known issue and is under work.

Authors

wikinflection's People

Contributors

lenakmeth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wikinflection's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.