1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-04 20:30:11 +01:00
searxng/searx/plugins
Markus Heiser ed901ab18e [mod] improve 'Autodetect search language' plugin
- Add documentation to the plugin
- Harmonize FastText language model with SearXNG's language model

Reosurces::

    import fasttext                                    # --> +10 MB
    fasttext.load_model(str(data_dir / 'lid.176.ftz')) # --> +4MB

Suggested-by: @dalf

- To speed up and simplify the deployment use fasttext-wheel instead of fasttext
- Building numpy on the Alpine Linux of docker-images takes ages --> install
  py3-numpy from Alpines package manager (apk)
- Alpine Linux on docker-images (musl libc) do not support fasttext-wheel (gnu
  libc) --> patch Dockerfile and build from fastetxt:

     sed -i s/fasttext-wheel/fasttext/ requirements.txt

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-12-11 11:26:07 +01:00
..
__init__.py [fix] prepare for pylint 2.14.0 2022-06-03 15:41:52 +02:00
ahmia_filter.py plugins: refactor initialization 2021-10-06 19:18:19 +02:00
autodetect_search_language.py [mod] improve 'Autodetect search language' plugin 2022-12-11 11:26:07 +01:00
hash_plugin.py [mod] oscar theme /preferences: reorganize the preferences 2021-06-17 15:29:07 +02:00
hostname_replace.py [mod] templates: rename field for <iframe> URL to iframe_src 2022-02-18 19:00:49 +01:00
limiter.py The checker requires Redis 2022-11-05 12:04:50 +01:00
oa_doi_rewrite.py oa_doi_rewrite: add the doi to the result when it is found. 2022-09-23 20:45:58 +02:00
search_on_category_select.py [fix] prepare for pylint 2.14.0 2022-06-03 15:41:52 +02:00
self_info.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
tor_check.py [mod] add tor_check plugin - convenient tor checking trough searxng 2022-07-19 07:34:54 +02:00
tracker_url_remover.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
vim_hotkeys.py theme: remove __common__ 2022-05-07 19:40:48 +02:00