Skip to content

mfekadu/582

Repository files navigation

582

CSC 582 Natural Language Processing

Getting Started

Works with macOS, Linux, Windows.

2. Setup virtual environment

poetry install

This will create a virtual environment with the required:

3. Open virtual environment

poetry shell

4. Verify your python version

$ poetry env info

Virtualenv
Python:         3.6.8
Implementation: CPython
Path:           /path/to/.../.../pypoetry/virtualenvs/582-Edwit1zX-py3.6
Valid:          True

System
Platform: darwin (example on macOS)
OS:       posix  (example on macOS)
Python:   /Library/Frameworks/Python.framework/Versions/3.6  (example on macOS)

5. Download NLP stuff

$ python -m spacy download en_core_web_sm
$ python -m spacy download en_core_web_lg

Module Examples

from labs.lab1 import producer
producer("good movie overview")
>>>
{
    "title": "A Good Movie Title",
    "director": "Good Director",
    "cast": ["Good Actress", "Good Actor"],
}
producer("bad movie overview")
>>>
{
    "title": "A Bad Movie Title",
    "director": "Bad Director",
    "cast": ["Bad Actress", "Bad Actor"],
}

Command-Line Usage

Lab1

$ python main.py lab1 inputs/in1.txt
$ python robotproducer.py inputs/in1.txt

demo.png

How it works

Assumptions

  • ...
  • ...

Pipeline

  1. ...
  2. ...
  3. ...

TODO

  • ...
  • ...

More Details

... ...

Resources

About

CSC 582 Natural Language Processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published