Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
/ storyteller Public archive

An Elsaticsearch-powered forward-dictionary of Korean proverbs

Notifications You must be signed in to change notification settings

wisdomify/storyteller

Repository files navigation

storyteller

.env

This project controls secrets such as user id and password or API tokens via .env file on the root directory of the project.

.env file must have format like followings.

es_user={elasticsearch user name}
es_password={elasticsearch user password}

Downloading data

Indexing a corpus

python3 -m storyteller.main.index --i="gk" --b=1500

Searching a phrase

python3 -m  storyteller.main.index --wisdom="산 넘어 산"

Building wisdom2def or wisdom2eg