From 9da695512ecfde41b7edf138b2ea06e917721c3c Mon Sep 17 00:00:00 2001 From: Charles Whitesman Date: Mon, 9 Jan 2017 01:39:45 +0700 Subject: [PATCH 1/3] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 75ee7e96a..c059de7f3 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,19 @@ $ cd pythainlp $ python setup.py install ``` +## ติดตั้งบน Mac + +ก่อนติดตั้งให้ติดตั้ง icu library ก่อน + +```sh +$ brew install icu4c +$ ls -l /usr/local/opt/icu4c/include/ +$ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pyicu +``` + +ข้อมูลเพิ่มเติม คลิกที่นี้ + + # เอกสารการใช้งานเบื้องต้น ตัวอย่างการใช้งาน From d86d79c780a5af361dc013cde3821fffb201274f Mon Sep 17 00:00:00 2001 From: Charles Whitesman Date: Mon, 9 Jan 2017 01:41:03 +0700 Subject: [PATCH 2/3] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=95=E0=B8=B4=E0=B8=94?= =?UTF-8?q?=E0=B8=95=E0=B8=B1=E0=B9=89=E0=B8=87=E0=B8=9A=E0=B8=99=E0=B9=81?= =?UTF-8?q?=E0=B8=A1=E0=B8=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index c059de7f3..a48f1acf4 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,10 @@ $ python setup.py install ```sh $ brew install icu4c -$ ls -l /usr/local/opt/icu4c/include/ $ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pyicu ``` -ข้อมูลเพิ่มเติม คลิกที่นี้ +ข้อมูลเพิ่มเติม [คลิกที่นี้](https://medium.com/data-science-cafe/install-polyglot-on-mac-3c90445abc1f#.rdfrorxjx) # เอกสารการใช้งานเบื้องต้น From 60ed2bc6b61ef3e5ed1bd3bd39a93c4472e0c659 Mon Sep 17 00:00:00 2001 From: Charles Whitesman Date: Mon, 9 Jan 2017 01:53:07 +0700 Subject: [PATCH 3/3] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=20=E0=B8=95=E0=B8=B4=E0=B8=94=E0=B8=95=E0=B8=B1?= =?UTF-8?q?=E0=B9=89=E0=B8=87=E0=B8=9A=E0=B8=99=E0=B9=81=E0=B8=A1=E0=B8=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a48f1acf4..624678906 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ $ python setup.py install ## ติดตั้งบน Mac -ก่อนติดตั้งให้ติดตั้ง icu library ก่อน ```sh -$ brew install icu4c -$ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pyicu +$ 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://medium.com/data-science-cafe/install-polyglot-on-mac-3c90445abc1f#.rdfrorxjx)