Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thantthet/MyanmarParser-C
A C implementation to break down (currently only) Burmese syllable
https://github.com/thantthet/MyanmarParser-C
Last synced: about 2 months ago
JSON representation
A C implementation to break down (currently only) Burmese syllable
- Host: GitHub
- URL: https://github.com/thantthet/MyanmarParser-C
- Owner: thantthet
- License: lgpl-2.1
- Created: 2015-07-09T08:42:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-30T08:01:11.000Z (over 6 years ago)
- Last Synced: 2024-07-31T20:29:52.042Z (4 months ago)
- Language: C
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Myanmar - MyanmarParser-C
README
# MyanmarParser-C
This is the C version of https://github.com/thanlwinsoft/MyanmarParser## Usage
```C
const uint16 *text = "myanmar text"
int offset = 0;
while (1) {
int breakType;
int next_offset = get_next_syllable(text, (int)string.length, offset, &breakType);
offset = next_offset;
if (breakType == MY_PAIR_EOL) {
break;
}
}
```