Coder Social home page Coder Social logo

xcoder123 / qtporterstemmer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 39 KB

B. Frakes and C. Cox Porter Stemmer reimplmented in Qt. Aim of this project is to provide a stemmer for Latvian language

License: GNU General Public License v3.0

QMake 0.55% C++ 99.45%

qtporterstemmer's Introduction

QtPorterStemmer

B. Frakes and C. Cox Porter Stemmer reimplmented in Qt. Aim of this project is to provide a stemmer for Latvian language

English

This is a quick reimplementation of Frakes & Cox Porter Stemmer in Qt.

Main aim of the project is to reimplement Karlis Kreslins Porter Stemmer in Qt/C++. https://dspace.lboro.ac.uk/dspace-jspui/bitstream/2134/7433/2/360860.pdf

Even though I have reimplemented English Porter Stemmer, for english and some other languages it is advisable to use snowball library

More projects on my blog: http://morf.lv

Usage

You have to classes available ENPorterStemmer and LVPorterStemmer, which are porter stemmer for english and latvian respectivly

For example english porter stemmer can be used like this: ENPorterStemmer::stem("driving");

And Latvian porter stemmer can be used like this: LVPorterStemmer::stem("reliģija");

stem() function in both classes are static. No need to create an object.

Latvian

Projekta mērķis ir ātri pārrakstīt Dr. Kārļa Krēsliņa Portera modificēto algoritmu uz Qt platformas https://dspace.lboro.ac.uk/dspace-jspui/bitstream/2134/7433/2/360860.pdf

Lai arī es esmu pārrakstījis orģinālo Porter Stemmer algoritmu uz Qt platformas, ieteicams angļu valodai tomēr lietot snowball bibliotēku

Mans blogs: http://morf.lv

Pielietojums

Tev ir pieejamas divas klases ENPorterStemmer un LVPorterStemmer, respektīvi "stemeris" priekš Angļu valodas un Latviešu valodas

Angļu Portera Stemera klasi var lietot šādi: ENPorterStemmer::stem("driving");

Un Latvieša šādi: LVPorterStemmer::stem("reliģija");

stem() funkcijas abās klasēs ir statiskas. Tā kā nav nepieciešams izveidot objektu.

screenshot_en screenshot_lv

qtporterstemmer's People

Contributors

xcoder123 avatar

Watchers

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