Skip to content

marknorrislinguist/concord

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

What is concord?

A home for the scripts I write to process/manage the data for the concord typology (static archive at SHAREOK: Nominal concord; academic project archived here: Nominal concord at OSF.

Contents

conctypo-data/

This directory contains all of the JSON files containing the coded data for the project.

lgs_with_wals.csv

This CSV contains all of the processed data as one CSV, including cross-referenced WALS data that is relevant for the project. Some of the WALS data was coded by me (as opposed to the author of the original WALS chapters). Those cells end with an asterisk *.

conctypo-to-csv.py

Processes individual JSON files and saves the data as one CSV. Command to run the script:

python conctypo-to-csv.py [-s] [-n] [-d]

Optional arguments for desired sample (s; options are 'WALS-100', 'WALS-174','Hasp-100' or nothing. Defaults to nothing, which gathers all data), directory where data is locatied (d; defaults to 'conctypo-data/' in the same folder as the script), and filename for the csv (n; defaults to conctypo-data.csv).

Output contains relevant classificatory data for the languages (based on WALS and Glottolog) as well as the values for the each of the CATegories Dem(onstrative), Num(eral > 1), Adj(ective):

  • Exist_CAT: does CAT exist in the language? (primarily relevant for Adjectives, which do not exist in some languages)
  • Gender_CAT: does CAT show gender concord?
  • Number_CAT: does CAT show number concord?
  • Case_CAT: does CAT show case concord?

"Yes" is coded 1, "No" is coded 0.

About

This will contain data and information for my database documenting nominal agreement in the world's languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages