Giter VIP home page Giter VIP logo

pythainlp's Introduction

PyThaiNLP

[PyPI Downloads] Codacy Badge pypi Build Status Build status Coverage Status

English

Thai natural language processing in Python.

PyThaiNLP is python module like nltk , but It's working with thai language.

It's support python 2.7 and Python 3

Project status

Developing

Version

1.5

Capability

  • Thai segment
  • Thai wordnet
  • Thai Character Clusters (TCC) and ETCC
  • Thai stop word
  • Thai meta sound
  • Thai soundex
  • Thai postaggers
  • Thai romanization
  • Check the wrong words in Thai.

and much more.

Install

using pip.

$ pip install pythainlp

Install in Windows

download pyicu from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyicu than install pyicu. install pythainlp using pip.

pip install pythainlp

Install in MacOS

$ brew install icu4c --force
$ brew link --force icu4c
$ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pythainlp

Documentation

Read on https://github.com/wannaphongcom/pythainlp/blob/dev/docs/pythainlp-1-4-eng.md

Develop : Read on https://github.com/wannaphongcom/pythainlp/blob/dev/docs/pythainlp-1-5-eng.md

License

Apache Software License 2.0

ภาษาไทย

[PyPI Downloads] pypi Build Status Build status Coverage Status

ประมวลภาษาธรรมชาติภาษาไทยในภาษา Python

Natural language processing หรือ การประมวลภาษาธรรมชาติ โมดูล PyThaiNLP เป็นโมดูลที่ถูกพัฒนาขึ้นเพื่อพัฒนาการประมวลภาษาธรรมชาติภาษาไทยในภาษา Python และมันฟรี (ตลอดไป) เพื่อคนไทยและชาวโลกทุกคน !

เพราะโลกขับเคลื่อนต่อไปด้วยการแบ่งปัน

รองรับ Python 2.7 และ Python 3

สถานะโครงการ

กำลังพัฒนา

Version

1.5

สิ่งใหม่ที่เพิ่มเข้ามาใน PyThaiNLP 1.5

  • กลับมารองรับ Python 2.7 แล้ว

ความสามารถ

  • ตัดคำภาษาไทย
  • ถอดเสียงภาษาไทยเป็น Latin
  • Postaggers ภาษาไทย
  • อ่านตัวเลขเป็นข้อความภาษาไทย
  • เรียงจำนวนคำของประโยค
  • แก้ไขปัญหาการพิมพ์ลืมเปลี่ยนภาษา
  • เช็คคำผิดในภาษาไทย
  • รองรับ Thai Character Clusters (TCC) และ ETCC
  • Thai WordNet
  • Stop Word ภาษาไทย
  • Meta Sound ภาษาไทย
  • Thai Soundex
  • และอื่น ๆ

ติดตั้ง

รองรับ Python 2.7 และ Python 3

รุ่นเสถียร

$ pip install pythainlp

วิธีติดตั้งสำหรับ Windows

ให้ทำการติดตั้ง pyicu โดยใช้ไฟล์ .whl จาก http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyicu

หากใช้ python 3.5 64 bit ให้โหลด PyICU‑1.9.7‑cp35‑cp35m‑win_amd64.whl แล้วเปิด cmd ใช้คำสั่ง

pip install PyICU‑1.9.7‑cp35‑cp35m‑win_amd64.whl

แล้วจึงใช้

pip install pythainlp

ติดตั้งบน Mac

$ brew install icu4c --force
$ brew link --force icu4c
$ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pythainlp

ข้อมูลเพิ่มเติม คลิกที่นี้

เอกสารการใช้งาน

อ่านได้ที่ https://github.com/wannaphongcom/pythainlp/blob/pythainlp1.4/docs/pythainlp-1-4-thai.md

เอกสารนักพัฒนา : Read on https://github.com/wannaphongcom/pythainlp/blob/dev/docs/pythainlp-1-5-thai.md

License

Apache Software License 2.0

พัฒนาโดย นาย วรรณพงษ์ ภัททิยไพบูลย์

สนับสนุน

คุณสามารถร่วมพัฒนาโครงการนี้ได้ โดยการ Fork และส่ง pull requests กลับมา

pythainlp's People

Contributors

c4n avatar codacy-badger avatar nonkung51 avatar quantifiedcode-bot avatar wannaphong avatar wasdee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.