Giter Site home page Giter Site logo

whitespace-normalizer's Introduction

Whitespace Normalization

Problem

Given a non-standard term t (eg. Senatoradmits), split the term into two words a (Senator) and b(admits) such that both a and b are valid terms.

This project aims to build simple lightweight systems that use N-gram counts and likelihood ratios to address this problem.

Approach

Refer to our paper to understand our approach to solving the problem. This note shows the basic math in even greater detail.

Code and Data

  • The modules directory contains the code for the implementation of all the models described in the note.
  • The examples directory contains a jupyter notebook which demonstrates how the approach works in practice.

Contact

[email protected]

Reference

Please cite our paper if you end up using the code of this repository.

@inproceedings{soni2019correcting,
  title={Correcting Whitespace Errors in Digitized Historical Texts},
  author={Soni, Sandeep and Klein, Lauren and Eisenstein, Jacob},
  booktitle={Proceedings of the 3rd Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature},
  pages={98--103},
  year={2019}
}

TODO

  • Update this README about the organization of the code once its stable.
  • Improve the readability of the code.
  • Include more description of the code in the README file.
  • Add evaluation scripts, annotations and results from the paper when accepted.

whitespace-normalizer's People

Watchers

James Cloos avatar Sandeep Soni avatar paper2code - bot avatar

Forkers

jb-altana

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.