Giter Club home page Giter Club logo

reverse-stemmer's Introduction

Objective

Generating a reverse lookup stemming table

Example: declaration,declar

About the code

There are two implementations of the this work in Python and Matlab C++ is under development

How it works

Takes and input file and generates a reverse stemming lookup file the output file is called "output.txt" and it is in csv format and is readable by excel

Perfromance

The Matlab implementation is 35 times slower than Python Also the Matlab version tool much more time for development :)

Comparison

I have used a large corpus to compare the two implementations. Below is how much it took for each code to generate the lookup table

Matlab: 56.223619 (sec) Python: 1.606278 (sec)

Input/Output

example input:

The decleration of independence

Example output:

the,the

declaration,declar

of,of

independence,independ

a,a

transcription,transcript

in,in

congress,congress

july,juli

the,the

unanimous,unanim

declaration,declar

reverse-stemmer's People

Contributors

faridani avatar

Stargazers

MS/1 Design avatar Pantelis Koukousoulas avatar fabio fumarola avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

marengz noumanmd

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.