Coder Social home page Coder Social logo

robert1ridley / nlp-first Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.05 MB

This project is a dictionary lookup that will return Chinese translations and part-of-speech tags for English queries. The program also incorporates a rule-based stemmer so that results for words with grammatical suffixes are also be returned. For example, a search query of 'studying' will additionally return results for 'study'.

Python 100.00%

nlp-first's Introduction

Stemmer

This project is a dictionary lookup that will return Chinese translations and part-of-speech tags for English queries. The program also incorporates a rule-based stemmer so that results for words with grammatical suffixes are also returned. For example, a search query of 'studying' will additionally return results for 'study'.

Requirements

  • Python version: 3.5.1

Start Developing

After cloning the repository:

  • Setting up the environment:

    • cd nlp-first
    • Create a virtual environmnet: python3 -m venv virtual-environment
    • cd virtual-environment/bin
    • Enter source activate to start the virtual environment
    • cd ../.. (to return to the nlp-first folder)
    • Install the project dependencies:pip install –r requirements.txt
  • Start the program:

    • Ensure that you are inside nlp-first and that your virtual environment is running
    • Enter python __main__.py
    • Following the prompt in the terminal, enter an English word. The program will then output the results.
    • To stop the program, enter 1.
    • Deactivate your virtual environment by entering deactivate

nlp-first's People

Contributors

robert1ridley 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.