Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yookoala/cjparser
A small tool to parse RAW cangjie data into sqlite database
https://github.com/yookoala/cjparser
Last synced: 5 days ago
JSON representation
A small tool to parse RAW cangjie data into sqlite database
- Host: GitHub
- URL: https://github.com/yookoala/cjparser
- Owner: yookoala
- Created: 2014-01-22T08:08:42.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-02T08:24:12.000Z (over 10 years ago)
- Last Synced: 2024-10-23T22:52:15.828Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 1.21 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cangjie Parser
==============This is a command line parser tool that helps studying Cangjie mapping characteristics. The tool will build an sqlite database file of all the Cangjie mappings. Researchers and developers may take advantage of a relational database to analyse and output data needed.
***
Dependencies
------------- This tool is developed, and has only been tested working, on Linux
- Requires [Go](http://golang.org) version 1.1
- Requires [mattn's go-sqlite library](http://github.com/mattn/go-sqlite3)
(with internet connection, the build script will install it for you)Build the Tool and Database
---------------------------This software comes with a build script (build.sh). To build the commandline tool and the database, just run the build script in the same folder as this file is placed:
./build.sh
And a database file named "cangjie.db" will be generated in the "data" folder
***
About the Cangjie Data Used
---------------------------The Cangjie mapping data files (distributed with this tool) are from [Friends of Cangjie, Malaysia (倉頡之友 馬來西亞)](http://chinesecj.com). Thanks for their efforts. If you appreciate their efforts to organize Cangjie input method, please consider a donation to them.
For continent to process, the data files distributed are processed:
- Cangjie 3 files are converted from BIG5/GB2312 to UTF-8
(while the original files are distributed also for verification)- Cangjie 5 files are converted from *dosnoeol* to UNIX *noeol* format
***
Legalities
----------**A) Cangjie Mapping Data Files**
The Cangjie mapping data files (files under data/cj3 and data/cj5) are created and own by *Friends of Cangjie, Malaysia*.
You are free to use and share the Cangjie mapping data under the following terms:
- **Attribution:** You must give appropriate credit to *Friends of Cangjie, Malaysia*. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- **Non-Commercial:** You may not use the material for commercial purposes.
For commercial use, please contact *Friends of Cangjie, Malaysia*.
**B) All the other things**
Other than the files mentioned in (A), all other scripts, source code of cjparser are offered under the terms of the [GNU Lesser General Public License, either version 3 or any later version](http://www.gnu.org/licenses/lgpl.html).
You don't need to sign a copyright assignment or any other kind of silly and tedious legal document, so just send patches and/or pull requests!