Giter Club home page Giter Club logo

ghalib-concordance's Introduction

ghalib-concordance

##Ghalib Concordance Project

The original data from this project comes from (our) Professor Emerita Frances Pritchett’s carefully transcribed work: http://www.columbia.edu/itc/mealac/pritchett/00ghalib.

This is a work in progress in very early stages. If you are interested in helping out, please be in touch. There is a substantial amount of proof reading and “data munging” that has to happen, so we need many eyes and ears.

We also want this to be an entirely open digital humanities project, so all data and source code will be available at all stages of production. The code/data is licensed under an MIT license. There has not yet been an official release.

Much like programming scientists, we are both programming humanists and not professional coders, so suggestions for best practices are always welcome (e.g. ‘use collections’).

##Current Status

We are proofreading the lemma forms along with the tokens in transliteration, Urdu, and devanagari forms. During the first round of proofing, we are checking the file hiur-lemmas-by-size-proofme.md in output and noting any errors. This is the stage 1 part of the process. We produce a web/print version of the concordance that will supply the complete representative verses and also link out to fp7's page.

During the next phase, we will markup the text of the poems with the corresponding lemma form for greater accuracy. We will expand to multi-token lemmas, e.g. compound verbs, and add part-of-speech markings.

##Overview of Code

The main program here is in the iPython Notebook generator.ipynb. It reads the text from input/verses.csv. The notebook generate_urdu.csv creates Urdu-(....-ur.html) and devanagari-script (....-hi.html) statistics file output based on earlier transliteration-only versions in output/statistics. (Devanagari is still rather messy).

##Description of Files

  • README.md: this file
  • bin: binary files directory
    • fw xxx: finds word xxx in text
    • load_notebooks: loads the ipython notebooks with --script parameter to generate .py files
    • og #: opens ghazal # on the web
  • generate_urdu.ipynb: creates Urdu- and devanagari-script statistics output based on earlier transliteration-only versions in output/statistics.
  • generator.ipynb: x
  • generator.py: x
  • /graphparser: submodule of graphparser
  • /input: input file directory
    • README.md: some notes on input
    • okay.csv: okay (as x), token, lemma
    • verses-orig.csv: original input file
    • verses.csv: verses file in use (###.##.#), transliterate verse,meter
  • license.txt: license
  • /old_code: old code not in use now
  • /output: output directory (all are generated)
    • conc_details.csv: lemma (transliteration),words from lemma (in transliteration)
    • hiur-lemmas-by-size-proofme.md: temporary file (copy of below) that we are proofreading now
    • hiur-lemmas-by-size-proofme.md: markdown (md) version of below
    • hiur-lemmas-by-size-ul.html: HTML of transliteration, urdu, devanagari, hyperlinks (sorted by instances of lemma)
    • hiur-lemmas.html: HTML of transliteration, urdu, devanagari, hyperlinks (sorted by instances of transliteration)
    • izafats.csv: izafats,count
    • izafatsastokens.csv: token (izafats are token), count
    • lemmas-by-size.txt: lemmas (sorted by instances), tokens (with count)
  • /statistics: directory of various statistical details
    • izafat-freq-ur.csv: just izafats with Urdu
    • izafat-freq.csv: izafats in transliteration
    • izafatastoken-freq.csv: tokens where izafat phrases are considered tokens
    • izafatastokens-freq-hiur.csv : tokens with Urdu, messy nagari where izafat phrases are considered tokens
    • izafatastoken-freq-ur.csv : tokens where izafat phrases are considered tokens with Urdu
    • lemmas-beta-freq-ur.csv: just lemmas with Urdu (very beta)
    • lemmas-beta-freq.csv: just lemmas (very beta)
    • uniquetokens-freq-ur.csv: unique tokens with urdu
    • uniquetokens-freq.csv: unique tokens in transliteration
  • tocheck.csv: transliterations to check

texts

Project Managers

A. Sean Pue (@seanpue)

Taimoor Shahid (@MohJeMa)

ghalib-concordance's People

Contributors

seanpue avatar asp49 avatar taimoorshahid avatar

Stargazers

YASH PATEL avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

ghalib-concordance's Issues

Add izafats to concordance phrases

Full length izafat phrases are not yet showing up in the concordance. These need to be added, with careful attention to izafats with -o- joined noun phrases.

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.