Giter VIP home page Giter VIP logo

cz4045_nlp's Introduction

CZ4045 Natural Language Processing - Assignment 1

Files

Files are labelled according to the portion in the Report.

Installation manual

All python libraries need for the individual sections will be installed in the respective .ipynb file.

For 1.2, 1.3, 1.4, 1.5, 3 - only python libraries are needed.

For 2. Extraction of indicative adjective phrase.ipynb, a stanford core server is required to run in the background.

Stanford Core server

To download and install stanford core nlp

  1. Please visit https://stanfordnlp.github.io/CoreNLP/download.html to download stanford core nlp and unzip the downloaded file
  2. Download and install Java
    For windows: https://www.java.com/en/download/help/windows_manual_download.html
    For macs: https://www.java.com/en/download/help/mac_install.html
    For linux: https://java.com/en/download/help/linux_x64_install.html

To run background server

  1. open a terminal at the directory of stanfore core nlp file
  2. run the following command in terminal
java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -preload tokenize,ssplit,pos,lemma,ner,parse,depparse -status_port 9000 -port 9000 -timeout 100000000000000000000000 &

With this, the server should be started and you should be able to see [main] INFO CoreNLP - StanfordCoreNLPServer listening at /0:0:0:0:0:0:0:0:9000

After this, 2. Extraction of indicative adjective phrase.ipynb can be run.

Results for 3.4 Application

Model Results

Python dependencies

  1. VADER
  2. Natural Language Toolkit
  3. spaCy
  4. pandas
  5. Natural Language Toolkit
  6. BeautifulSoup
  7. numpy
  8. requests
  9. docx2text
  10. language_tool_python
  11. CNA Post Documents

cz4045_nlp's People

Contributors

estherc247 avatar lsscecilia avatar leah99 avatar agana99 avatar

Watchers

 avatar

Forkers

lsscecilia

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.