Git Product home page Git Product logo

ner-restaurant-reviews's Introduction

NER for Restaurant Reviews

Set Up Virtual Environment

$ python3 -m venv ner-reviews
$ source ner-reviews/bin/activate
(ner-reviews) $ pip3 install -r requirements.txt

If you prefer conda:

$ conda create -n ner-reviews python=3.9
$ conda activate ner-reviews
(ner-reviews) $ pip3 install -r requirements.txt

Data

This directory contains the HTML files for New York Times food reviews. It includes url_list.txt listing the corresponding URLs.

This directory contains txt files for a processed dataset of New York Times food reviews. It includes cleaned_reviews.json and edit_cleaned_reviews.json, which contain all of the processed food review data. It includes unprocessed_URLs.txt, listing any unprocessed URLs.

This file contains entity types to import into an annotation tool.

This directory contains the JSON files for the annotated data from the initial small batch annotation.

This directory contains the JSON files for the annotated data, along with corresponding files that were corrected to remove encoding issues.

This file contains all annotations from all annotators in CONLL format.

This file contains adjudicated annotations in CONLL format.

This file contains counts of entities in adjudicated_annotations.txt.

This directory contains the train, dev, and test sets for the adjudicated annotations.

Scripts

This script downloads food reviews from New York Times and stores them in html_reviews.

This script processes and cleans html_reviews, and outputs raw_data.

This script prepares raw_data for annotation.

This script fixes encoding issues in annotated_data.

This script accepts annotated_data and processes the data to output all_annotations.txt.

This script includes additional functions to support data_process_pipeline.py.

This script calculates inter-annotator agreement with the processed data in all_annotations.txt.

This script runs adjudication to produce gold standard annotations and outputs adjudicated_annotations.txt.

This script accepts adjudicated_annotations.txt and splits the data into train, dev, and test sets.

This script runs the model and experiments using final_data_splits.

ner-restaurant-reviews's People

Contributors

aparnadutta avatar junehaewonkim avatar ayla-taylor avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

junehaewonkim

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.