Giter Site home page Giter Site logo

news_corpus's Introduction

List of sub directories, in chronological order of when they're created:

  • clean*
  • word_count*
  • concat
  • stat*
  • ccr*
  • ocr*
  • dic*

Description:

  • clean*: cleans the original raw html files, extract all the text, put them into a giant csv file. The final csv file would have "file path identifier" mapped with "document text content". Note that a single file is too big to handle, so we've split it up into chunks; each chunk now has 20 million documents (out of ~230 million)
  • word_count*: word counts each document, using the cleaned-up csv files.
  • concat*: not essential; basically concatenates all the word_count csv results into one.
  • stat*: some statistics.
  • ccr*: apply the CCR algorithm to a subset of the corpus.
  • ocr*: apply post-OCR correction to the corpus. We've only included the processing scripts for one chunk (20 million documents) here.
  • dic*: dictionary-based word counting approach; to compare with CCR.
    • in dic6_individualism: the workflow was slightly more automated; we simply need to edit config.json and upload a new dictionary to data/ to count a different dictionary; no need to edit python code.

All the resulting datasets from running these scripts are stored on the HPC:

Go to this directory (/n/henrich_lab/Lab), you should then see a few sub folders (clean, ocr, ccr, etc.).

news_corpus's People

Contributors

tomzhang255 avatar

Watchers

 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.