Toolkit for Elasticsearch Synonym files.
Project description

[![Build Status][travis-img-url]][travis-href]
This repository contains a curated dataset of synonyms in [Solr Format][1]. These
synonyms can be used for [Elasticsearch Synonym Token Filter][2] configuration.
Additional helper tools in this repository:
- `synlint`: Commandline tool to lint and validate the synonym files.
- `synonyms.sublime-syntax`: Syntax highlighting file for Sublime Text 3.
## Datasets
Following datasets are currently available:
- `be-ae`: British English and American English Spellings. From [AVKO.org](https://to.noop.pw/2sNor7C).
## Usage
- The synonym files in `data/` can be used directly in configuration.
- To use the linter tool, install python dependencies from `requirements.txt` and use:
```shell
python -m synlint [file names]
```
- To run tests:
```shell
./panda test:all
```
## License
The tools and codes are licensed under MIT.
The datasets are used under fair use and derivative of the original sources.
[1]: https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-SynonymFilter
[2]: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html#analysis-synonym-tokenfilter
[travis-img-url]: https://travis-ci.org/prashnts/elasticsearch-synonyms.svg?branch=master
[travis-href]: https://travis-ci.org/prashnts/elasticsearch-synonyms
[![Build Status][travis-img-url]][travis-href]
This repository contains a curated dataset of synonyms in [Solr Format][1]. These
synonyms can be used for [Elasticsearch Synonym Token Filter][2] configuration.
Additional helper tools in this repository:
- `synlint`: Commandline tool to lint and validate the synonym files.
- `synonyms.sublime-syntax`: Syntax highlighting file for Sublime Text 3.
## Datasets
Following datasets are currently available:
- `be-ae`: British English and American English Spellings. From [AVKO.org](https://to.noop.pw/2sNor7C).
## Usage
- The synonym files in `data/` can be used directly in configuration.
- To use the linter tool, install python dependencies from `requirements.txt` and use:
```shell
python -m synlint [file names]
```
- To run tests:
```shell
./panda test:all
```
## License
The tools and codes are licensed under MIT.
The datasets are used under fair use and derivative of the original sources.
[1]: https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-SynonymFilter
[2]: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html#analysis-synonym-tokenfilter
[travis-img-url]: https://travis-ci.org/prashnts/elasticsearch-synonyms.svg?branch=master
[travis-href]: https://travis-ci.org/prashnts/elasticsearch-synonyms
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elasticsearch-synonym-toolkit-0.1.0.tar.gz.
File metadata
- Download URL: elasticsearch-synonym-toolkit-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8c0ac0d9de139d7ee670aa36555542bc02a53c21ee036921e4ea3876df5dfd7
|
|
| MD5 |
ad02e85f2bec6c657f29d365a8f0536a
|
|
| BLAKE2b-256 |
b77938b5d9c0ca29c0a675811dce01895c66e3c98d8c591479160fd488b627a4
|
File details
Details for the file elasticsearch_synonym_toolkit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: elasticsearch_synonym_toolkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4f43e78b5fcd59ed999ef942c07163aa7b11871718ab4bbdf36e10f22a82c0a
|
|
| MD5 |
5ade35db50e6795c05e35536b69a897a
|
|
| BLAKE2b-256 |
ee531c6ea6605f923158942a760b25978d979b22221740bd37d928046a59098e
|