Git Product home page Git Product logo

ccoha's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @Reem-Alatrash
  • ๐Ÿ‘€ Iโ€™m interested in Python, Computational Linguistics, especially NLP, and MLOps.
  • ๐ŸŒฑ Iโ€™m currently learning more about Foundation models, layered prompt engineering, and multi-agentic RAG for LLMs.

ccoha's People

Contributors

reem-alatrash avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

gchronis

ccoha's Issues

What should the structure of the original COHA files?

I currently have the following structure of the COHA which is available to me:

โ”œโ”€โ”€ coha-db-001
โ”‚ย ย  โ”œโ”€โ”€ db_acad_1820.txt
โ”‚ย ย  โ”œโ”€โ”€ db_acad_1820.zip
|    .....
โ”œโ”€โ”€ coha-lexicon.txt
โ”œโ”€โ”€ coha-sources.txt
โ”œโ”€โ”€ coha-text
โ”‚ย ย  โ”œโ”€โ”€ text_acad_1820.zip
โ”‚ย ย  โ”œโ”€โ”€ text_acad_1830.zip
|    ......
โ””โ”€โ”€ coha-wlp
    โ”œโ”€โ”€ wlp_acad_1820.zip
    โ”œโ”€โ”€ wlp_acad_1830.zip
    โ”œโ”€โ”€ wlp_acad_1840.zip

Will it work with your preprocessing scripts?

Unclear instructions and code errors

Hello,

I managed to get the code running on this repository and produce a copy of CCOHA. There was some technical stuff I had to sort out, which it would be useful to include in the README for future users. These include:

  • Clarifying the code runs on Python 2.7
  • Setting up a virtual environment for the packages (docopt, HTMLParser, nltk), and specifically mentioning nltk==3.4.5 to run this code.

There were also some basic code issues I had to fix, which might be helpful to note, or add another commit for. These include:

  • Setting all tabs to spaces
  • Renaming body to results in the function write_to_file(...)

Finally, there were a tiny number of files which the given processor failed to handle. The current code logs when this occurs and then sends a raise. Given the number of files in which this occurred (5? out of 100K), it didn't seem worth addressing this and just could be skipped over - but nonetheless the raise's needed to be commented out, which would have been helpful to've been noted.

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.