Question

I have a C++ written code that searches between a big document base (making use of CLucene). I want to make it agnostic from singular and plural during searches and so I need to inflect words. While working with python I used inflect a lot of times; is there any C++ library to do the same?

Was it helpful?

Solution

I think the search keyword you're looking for is "stemming". There's also a C++ library (BSD licensed) linked from the Wikipedia page (I can't comment on the library though, as I haven't used it).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top