Skip to content

Help wanted regarding StopWords list #326

@Ozgurujim

Description

@Ozgurujim

I am struggling to understand the operation of stopwords in the Search system code.
I see there is a stop_words array in /lib/SearchEngine/Contract.php and also in /lib/biblio_list_model.inc.php
public $stop_words = array('a', 'an', 'of', 'the', 'to', 'so', 'as', 'be');
Can additional words be added in this list to have the effect of becoming excluded in a Simple Search?
Specifically, I'm looking for a way to create a stop-list of Myanmar words including : က, ကို, တို့, တွင်, နှင့်, ဖြင့်, မှ, သို့, သော, သည်, အား, ၏ . But obviously such a list is useful for many languages.

How should I proceed, or what am I missing?

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