GithubHelp home page GithubHelp logo

frequent-frames's Introduction

Frequent frames analysis pipeline

Details

For more information about the ACQDIV project, see: http://www.acqdiv.uzh.ch/. The research leading to these results has received funding from the European Union’s Seventh Framework Programme (FP7/2007-2013) under grant agreement no 615988 (PI Sabine Stoll).

Pipeline

  1. Generate the bigrams

Run the script: bigrams.py to generate the bigram frequencies. Note this make take a long time.

  1. Generate the trigram counts for each analysis

For words, morphemes, dyads, etc. This generates counts for the frequency calculation of the frames and for operationalization.

Call: python3 utils.py

Make sure to set the words or morphemes in the script!

  1. For global recall (DB) get the word types:

Call: sh get_types.sh

  1. Run the frames processing and PR analysis

This step requires that the bigrams are calculated and pickled first. Then run the frames analysis with frames.py. The script outputs a TSV file to load into R.

Make sure to set words or morphemes (pos or glosses) in the script!

  1. Statistical analysis with R scripts

The frames-functions.R file contains various functions for processing and plotting the frequent frames analyses. The words, morphemes and dyads analyses are in words.R, morpheme-gloss-pos.R and dyads.R.

frequent-frames's People

Contributors

bambooforest avatar

Watchers

 avatar  avatar

frequent-frames'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.