Code Monkey home page Code Monkey logo

nlp_new's Introduction

This repository contains code I wrote in the class Empirical Methods in Natural Language Processing.

Hopefully this can be useful to other people who are also learning NLP techniques. The code that I wrote is licensed under WTFPL version 2.

The details are described in the report.pdf files in each sub-folder. Here's a brief summary of what they are about:

  1. hw1: Restore vowels to vowelless text using Finite-State Machines
  2. hw2: Trigram language model with improved Kneser-Ney smoothing (best performance in class)
  3. hw3: Unsupervised part-of-speech tagging using Baum–Welch Algorithm
  4. hw4: Part-of-speech tagging using Conditional Random Fields (3rd best performance in class)
  5. hw5: Context free grammar parsing using CKY algorithm, with vertical markovization
  6. final project: a modern-Chinese-to-classical-Chinese machine translation system

Most code is written in scala (except for hw5, which is written Python: the professor kindly provided a few hundred lines of useful code in Python and I was too lazy to reimplement them, so I just learnt the language instead). You may need sbt or sbt script runner to execute them.

nlp_new's People

Contributors

tomtung avatar

Watchers

James Cloos 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.