Skip to content

Allow loading the lindera dictionaries at runtime instead of compiling them in #322

@slatian

Description

@slatian

Currently charabia uses lindera with the option to download the dictionary (~150MB) at build time from a CDN at build time which causes problems on multiple occasions, bot in terms of binary size and in terms of running a pretty complicated build script, that does what many build pipelines intentionally forbid (#265).

My concrete feature request would be some additional code that if enabled via feature flag allows loading the required dictionaries at runtime from external files, that can be managed decoupled from the software. (especially helpful when for example a backend tool and server are split up, but both need charabia + dictionaries as a dependencies)

Related: Meilisearch Discussion #800: [Charabia] Add possibility to load dictionaries from external files

Metadata

Metadata

Assignees

No one assigned

    Labels

    V2breaking changeThe related changes are breaking for the users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions