GithubHelp home page GithubHelp logo

aghilassini / irisa-text-normalizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glecorve/irisa-text-normalizer

0.0 2.0 0.0 77.24 MB

Text normalization scripts from IRISA lab

License: MIT License

Perl 22.21% Shell 0.16% C 0.14% XS 0.07% Makefile 0.58% Perl 6 0.26% HTML 0.28% Java 72.98% Groff 2.38% Batchfile 0.01% Lex 0.93%

irisa-text-normalizer's Introduction

irisa-text-normalizer

Text normalisation tools from IRISA lab

Synopsis

The tools provided here are split into 3 steps:

  1. Tokenisation (adding blanks around punctation marks, dealing with special cases like URLs, etc.)
  2. General normalisation (leading to homogeneous texts where (almost) information have been lost and where tags have been added for some entities)
  3. Specific normalisation (projection the generic texts into specific forms)

Supported languages:

  • English
  • French

Configuration

See INSTALL file

Commands

Tokenisation

perl bin/basic-tokenizer.pl examples/text.raw > examples/text.tokenized

Generic normalisation

perl bin/start-generic-normalisation.pl examples/text.tokenized > examples/text.norm.step1
bash bin/tag-named-entities.sh examples/text.norm.step1 > examples/text.norm.step2
perl bin/end-generic-normalisation.pl examples/text.norm.step2 > examples/text.norm.step3

or simply:

bash bin/generic-normalisation.sh text-normalisation/examples/text.tokenized

2 examples of specific normalisations

perl bin/specific-normalisation.pl cfg/asr.cfg examples/text.norm.step3 > examples/text.asr
perl bin/specific-normalisation.pl cfg/indexing.cfg examples/text.norm.step3 > examples/text.indexing

irisa-text-normalizer's People

Contributors

glecorve avatar

Watchers

James Cloos avatar Aghilas SINI 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.