Skip to content

pisa-engine/Porter2

Repository files navigation

Porter2

Porter2 stemming library

Build Status

Usage

#include <iostream>
#include "Porter2/Porter2.hpp"

int main(int argc, char **argv) {
    porter2::Stemmer stemmer;
    auto thestem = stemmer.stem("eating");
    std::cout << thestem << std::endl; // eat
    return 0;
}