Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.33 KB

File metadata and controls

44 lines (30 loc) · 1.33 KB

Synonym Recognition by Embedding

Language Licence

Relation Resource

Get Started

Prepare for synonym dataset

You can use datasets/synonyms/* or dataset else you built.

Download the embedding

Download from the above Pre-train word embedding.

Dependencies

You can install dependencies by:

pip install -r requirements.txt

Run

python main.py --train datasets/synonyms/train \
               --dev datasets/synonyms/dev \
               --test datasets/synonyms/test \
               --embedding /path/to/embedding_file \
               --outputs /path/to/outputs_dir

License

@Apache 2.0 (Except for datasets)