Coder Social home page Coder Social logo

thesis's Introduction

Statistical Methodology for Quantitative Linguistics:
A Case Study of Learnability and Zipf’s Law

Master of Logic Thesis of Valentin Vogelmann

Contents

/figures

Figures and tables, see figures/README.md for navigation.

/data

Linguistically pre-processed (see Section 2.1 for pipeline details) and subsequently pickled (using Python module pickle) corpora: Wikipedia dumps in 7 languages. Each folder, prefixed with a language code (see below), contains the corpus split into multiple files in order to stay below GitHub's file size limit. Use wiki_from_pickles in /data/reader.pyto load a corpus from a folder in /data; corpus.py contains wrappers to turn the corpora loaded with wiki_from_pickles into Python objects with convenient functionality.

Language codes are : Esperanto - EO, Finnish - FI, Indonesian - ID, Korean - KO, Norwegian (the Bokmal variant) - NO, Turkish - TR and Vietnamese - VI.

See Table 2.1 of the thesis for the basic size characteristics of the corpora.

/src

Code used for generating subcorpora according to the Subsampling and Filtering methods and analysing those.

  • /src/stats/: Helper functionality such as calculation of ranks, frequencies, typicality or performing MLE
  • /src/subsampling: Scripts to analyse the various aspect of the Subsampling method analysed in the thesis, such as variance and convergence
  • /src/filtering: Implementations of the TypicalityFilter and SpeakerRestrictionFilter sampling algorithms, both sequential and parallelised versions (using Python's multiprocessing library)
  • /src/evaluation: Functions and scripts for evaluation of filtering results, such as lexical diversity and Jaccard distance
  • shell_scripts: Shell scripts to deploy Python code on SurfSARA's LISA computing cluster

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.