mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
- 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>
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ahmia_filter.py | ||
| autodetect_search_language.py | ||
| hash_plugin.py | ||
| hostname_replace.py | ||
| limiter.py | ||
| oa_doi_rewrite.py | ||
| search_on_category_select.py | ||
| self_info.py | ||
| tor_check.py | ||
| tracker_url_remover.py | ||
| vim_hotkeys.py | ||