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

Latest commit

 

History

History
29 lines (18 loc) · 532 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 532 Bytes

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