PIME - 用 Python 和 JavaScript 快速開發 Windows 的中文輸入法Jen Yee Hong
?
Open source 的中文輸入 framework 在Linux下選擇很多,但在 Windows 上則相對缺乏, 尤其 Windows 8 之後,新 TSF 架構實做相當困難,Metro mode 又多了許多限制, 使得很多開發者空有設計輸入法的構想,卻無法落實到很多人使用的 Windows 系統上。PIME 為一個能在 Windows 上用 python 和 JavaScript 開發中文輸入法的架構,底層採用 C++ 開發的 LibIME (取自新酷音輸入 Windows 版),幫助有志於改善中文輸入環境的朋友, 在不了解太多細節,也不用會 C++ 的狀況下,也能用標準 web 技術設計新的輸入法。
PIME - 用 Python 快速開發 Windows 的中文輸入法 (COSCUP 2015)Jen Yee Hong
?
開源的中文輸入法框架,在Linux下選擇很多樣化,也已蓬勃發展多年,但在Windows 上則相對缺乏,尤其是 Windows 8 之後,新的 TSF 架構實做有相當的困難,使得很多開發者空有設計輸入法的構想,卻無法落實到很多人使用的 Windows 系統上。新的 metro mode 又加諸了許多限制,使得輸入法開發變得相當困難。本議程將介紹 PIME - 第一個嘗試在 Windows 上用 python 開發中文輸入法的架構,底層採用 C++ 開發的 LibIME (取自新酷音輸入 Windows 版),幫助有志於改善中文輸入環境的朋友,在不了解太多細節,也不用會 C++ 的狀況下,也能用 Python 語言設計新的輸入法。
我的小怪獸 Monster Processing
Processing (open-source language and environment for learning the fundamentals of electronic art and computer programming) workshop for introductory level.
我的小怪獸 Monster Processing
Processing (open-source language and environment for learning the fundamentals of electronic art and computer programming) workshop for introductory level.
8. 不是能翻譯就好
● 不同語言複數型不同
? msg = n + (n > 1 ? ' files are found' : ' file is found') X
? msg = n + 'file(s)' X
? 使用 ngettext() O
● 文法不同,翻譯後參數順序可能改變
? 英文: "String `%s' has %d characters"
? 德文: "%d Zeichen lang ist die Zeichenkette `%s'" X
? GNU 擴充: "%2$d Zeichen lang ist die Zeichenkette
`%1$s'" O
● https://www.gnu.org/software/gettext/manual/gettext.html8
36. 誰開發 Open Source 軟體?
https://medium.com/@hoffa/github-top-countries-201608-13f642493773#.wmm24st82
Top countries by number of github pushes
(Aug 2016, by Felipe Hoffa)
36
37. 跨國合作挑戰多
● 語言造成溝通障礙 – 用 code 溝通
● I18n 議題
● 文化差異 (注意禮貌)
● 來自世界各國, 各行各業的「人」
● Version control systems
● 讀懂別人的code,並且修改
● 外國人也想參加我們的專案!
37