GithubHelp home page GithubHelp logo

Handling smartquotes about mitie HOT 3 CLOSED

mit-nlp avatar mit-nlp commented on July 28, 2024
Handling smartquotes

from mitie.

Comments (3)

davisking avatar davisking commented on July 28, 2024

The preprocessing and tokenization in ner_stream is pretty basic. However, we are setting up python, R, and java APIs right now that will make it easy for you to use whatever kind of preprocessing and tokenization you want (e.g. like NLTK's tokenizer) since in general different applications require different sorts of preprocessing and tokenization. But yeah, it's annoying that the default tokenizer doesn't handle a smartquote. So I just updated it and if you pull and recompile it should work properly now.

Cheers,
Davis

from mitie.

geovedi avatar geovedi commented on July 28, 2024

Thanks for the update. Will definitely wait for the APIs.

from mitie.

swadey avatar swadey commented on July 28, 2024

@geovedi the simple ner_stream tokenizer doesn't handle the more general problem of unicode normalization. We should probably do this. If you can file an issue for posterity and discussion, we can keep track of this.

As @davisking mentioned, the solution may not be to put it in ner_stream but into the bindings. The issue there is that it affects training.

from mitie.

Related Issues (20)

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.