kn45 / NLPIR_Py

NLPIR with Python interface and map-reduce solution (for self-use)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NLPIR_Py

NLPIR with python interface and a user-defined dictionary for testing.
Only include the library for x64-Linux, not supporting x64-OSX or other OS.
Examples for Stand-alone mode and a possible solution for Map-Reduce.

Any copy right, permmision or other license infomation of NLPIR please refer to http://ictclas.nlpir.org
If user license file(NLPIR.user) is expired, new one could be found in official website

Stand-alone mode

Refer to example.py
echo -e "杂谈\t今天tm真是走了狗屎运了\!" | ./example.py s

Cluster mode

Hive Transform Solution

Refer to run_segment.sh

Hadoop Streaming Solution

TO BE CONTINUED ...

About

NLPIR with Python interface and map-reduce solution (for self-use)


Languages

Language:Python 93.8%Language:Shell 6.2%