0.1.4 • Published 5 years ago

etri-cli v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

etri-cli usage guide

1. Install node.js (prerequisite)

1-1 On linux

1) Install nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash

2) Restart terminal

3) Install node LTS version

nvm install --lts

4) Verify installation

node -v
npm -v

1-2 On windows

1) Download LTS version installer

2) Install via the installer

3) Verify installation

node -v
npm -v

2. Install etri-cli package

npm install etri-cli -g

3. Usage

etri [options]

Options

optiondescription
-k, --key api_key set an auth key for ETRI OPEN API (required)
-c, --code analysis_code set an analysis code (default: morp)
-i, --input file_path set an input text file path (required)
-o, --output dir_path set a directory path for analyzed output (default: ./output/)
-h, --helpoutput usage information

Analysis Code

codeanalysis type
morpPOS
wsdword meaning (homonym)
wsd_polyword meaning (polysemy)
nerentity name
dparsesyntactic dependency
srlsemantic role

4. Examples

etri -k YOURE_API_KEY -i input/sample.txt
etri -k YOURE_API_KEY -i input/sample.txt -c wsd -o result/
0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago