Skip to content
Lemma frequency list created from parsed monolingual OPUS XML files, made with Python and ❤️.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
export
movies-info
LICENSE
OMDb-fetch.py
README.md
create-freq-list.py
list_comparison.py
single_file_extract.py

README.md

Frequency Dictionary and Scripts

Supplementary Materials for "Creating a Frequency Dictionary of Spoken Hebrew"

DOI

This repository houses all the scripts and files used to create the Frequency Dictionary of Spoken Hebrew (FDOSH), along with the dictionary itself. This project was created as part of my MA thesis at the University of Texas at Austin in 2018. The thesis itself describes the creation process—and the use of each script—in depth, and can be found in the University of Texas thesis repository. A GitHub repository for the thesis manuscript can also be found at https://github.com/juandpinto/thesis-manuscript.

The scripts make use of OPUS's OpenSubtitles2018 collection, which is a mega-corpus of cleaned, tokenized, and parsed versions of XML files originally obtained from opensubtitles.org. The final frequency dictionary consists of Hebrew lemmas, and is arranged based on a usage coefficient of Gries' (2008) deviation of proportions, or UDP. It also includes frequency and range measures for each entry.

The most important files in this repository are listed below.

The script used to fetch movie metadata (OMDb-fetch.py) uses Derrick Gilland's omdb.py library, which is a Python wrapper around the OMDb API (Open Movie Database API). OMDb is, in turn, a project that makes use of IMDb (Internet Movie Database) for its data. For each subtitle file in the corpus, the script finds the IMDB ID, title, year, and original language(s). The movies-info folder contains extensive lists of the metadata found for the movies used to create the FDOSH.

Each script includes detailed notes within the comments to allow them to be clear and easily customizable. This project is licensed under the MIT License, so feel free to clone and use as you see fit. Suggestions and pull requests are also welcome.

You can’t perform that action at this time.