Giter VIP home page Giter VIP logo

freq-verbs's Introduction

freq-verb

Compute frequency of use of irregular engish verbs. Data set for "A list of verbs" iOS App.

The fequency word data comes from http://invokeit.wordpress.com/frequency-word-lists/

As a study help I've added the hint parameter based on the classification proposed in this article

Rafa Barberá
http://github.com/rbarbera
http://twitter.com/rbarbera

Dependencies

  • unicodecsv for writing CSV files with UTF-8 encoded strings
  • R to generate the graphs in this document and to analize the data

Results

The 5 more frequently used verbs are:

Verb Freq
be/am/are/is 0.225649
get 0.071703
do/does 0.070281
have 0.069897
come 0.055208

As you can see the verb To Be is very predominant, perhaps to much. We can explore the distribution to see how are distributed all the sample

Linear Distribution

As we intend to use a scroller to select the number of verbs in function of frequency of use, this kind of stepped distribution isnt' very usefull. Usually in this cases we use a logaritmic one (normalized between 0.0 and 1.0)

Log Distribution

This will be the data that we use in owr project. The adventage of using the frecuency data to select the number of verbs instead of only sort the data by frecuency and select the number of verbs in a linear way can be see with a pair of histograms

Linear Histogram

The number of verbs in each bin are constant. But natural languages are diferents. There are a small number of high frequency use, a small number of low frequency use and a lot of medium frequency. This can be see clearly on the log histogram

Linear Histogram

freq-verbs's People

Watchers

 avatar  avatar

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.