Skip to content

stopwords feature #4

Description

@jeromew

Hello,

I am thinking about adding a stopwords feature inside your tokenizer implementation.

In fact, I want to
1/ use unicodesn
2/ avoid stopwords in the index
3/ use the sqlite3 snippet() feature with the original full text correctly emphasized

Since sqlite3 can not have a "chain" of tokenizer, I want to make unicodesn stopwords aware. you can look for example at abhinav-upadhyay/apropos_replacement@76b4569 where they did something similar for the porter tokenizer.

can you help me choose a strategy for implementing this in unicodesn that you could accept upstream ?

One possibility could be to add the lowercase stopwords list in each header file of libstemmer_c/src_c

Thanks for you help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions