-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #306 from DavidLRowe/taigi
[cathaylab.nan-latn-tw.taigi] on behalf of author
- Loading branch information
Showing
9 changed files
with
75,784 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
experimental/cathaylab/cathaylab.nan-latn-tw.taigi/HISTORY.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
taigi Change History | ||
==================== | ||
|
||
1.0 (2025-01-24) | ||
---------------- | ||
* Created by cathaylab |
21 changes: 21 additions & 0 deletions
21
experimental/cathaylab/cathaylab.nan-latn-tw.taigi/LICENSE.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright © 2025 cathaylab | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
23 changes: 23 additions & 0 deletions
23
experimental/cathaylab/cathaylab.nan-latn-tw.taigi/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
taigi lexical model | ||
=================== | ||
|
||
Description | ||
----------- | ||
Taigi model for Tâi-gí pe̍h-ōe-jī | ||
|
||
Links | ||
----- | ||
|
||
Copyright | ||
--------- | ||
See [LICENSE.md](LICENSE.md) | ||
|
||
Supported Platforms | ||
------------------- | ||
* iPhone | ||
* iPad | ||
* Android phone | ||
* Android tablet | ||
* Mobile devices | ||
* Tablet devices | ||
|
10 changes: 10 additions & 0 deletions
10
experimental/cathaylab/cathaylab.nan-latn-tw.taigi/cathaylab.nan-latn-tw.taigi.kpj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<KeymanDeveloperProject> | ||
<Options> | ||
<Version>2.0</Version> | ||
<CompilerWarningsAsErrors>True</CompilerWarningsAsErrors> | ||
<CheckFilenameConventions>True</CheckFilenameConventions> | ||
<SkipMetadataFiles>True</SkipMetadataFiles> | ||
<ProjectType>lexicalmodel</ProjectType> | ||
</Options> | ||
</KeymanDeveloperProject> |
63 changes: 63 additions & 0 deletions
63
...mental/cathaylab/cathaylab.nan-latn-tw.taigi/source/cathaylab.nan-latn-tw.taigi.model.kps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Package> | ||
<System> | ||
<KeymanDeveloperVersion>17.0.334.0</KeymanDeveloperVersion> | ||
<FileVersion>12.0</FileVersion> | ||
</System> | ||
<Options> | ||
<ExecuteProgram></ExecuteProgram> | ||
<ReadMeFile>readme.htm</ReadMeFile> | ||
<LicenseFile>..\LICENSE.md</LicenseFile> | ||
<WelcomeFile>welcome.htm</WelcomeFile> | ||
<MSIFileName></MSIFileName> | ||
<MSIOptions></MSIOptions> | ||
</Options> | ||
<StartMenu> | ||
<Folder></Folder> | ||
<Items/> | ||
</StartMenu> | ||
<Info> | ||
<Name URL="">Taigi model for Tâi-gí pe̍h-ōe-jī</Name> | ||
<Copyright URL="">Copyright © cathaylab</Copyright> | ||
<Author URL="mailto:[email protected]">cathaylab</Author> | ||
<Version URL="">1.0</Version> | ||
<Description URL="">Taigi model for Taiwanese Tâi-gí pe̍h-ōe-jī</Description> | ||
</Info> | ||
<Files> | ||
<File> | ||
<Name>..\build\cathaylab.nan-latn-tw.taigi.model.js</Name> | ||
<Description></Description> | ||
<CopyLocation>0</CopyLocation> | ||
<FileType>.js</FileType> | ||
</File> | ||
<File> | ||
<Name>welcome.htm</Name> | ||
<Description></Description> | ||
<CopyLocation>0</CopyLocation> | ||
<FileType>.htm</FileType> | ||
</File> | ||
<File> | ||
<Name>readme.htm</Name> | ||
<Description></Description> | ||
<CopyLocation>0</CopyLocation> | ||
<FileType>.htm</FileType> | ||
</File> | ||
<File> | ||
<Name>..\LICENSE.md</Name> | ||
<Description></Description> | ||
<CopyLocation>0</CopyLocation> | ||
<FileType>.md</FileType> | ||
</File> | ||
</Files> | ||
<Keyboards/> | ||
<LexicalModels> | ||
<LexicalModel> | ||
<Name>taigi</Name> | ||
<ID>cathaylab.nan-latn-tw.taigi</ID> | ||
<Languages> | ||
<Language ID="nan-Latn-TW">Pe̍h-ōe-jī</Language> | ||
</Languages> | ||
</LexicalModel> | ||
</LexicalModels> | ||
<Strings/> | ||
</Package> |
20 changes: 20 additions & 0 deletions
20
...imental/cathaylab/cathaylab.nan-latn-tw.taigi/source/cathaylab.nan-latn-tw.taigi.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
const source: LexicalModelSource = { | ||
format: 'trie-1.0', | ||
wordBreaker: { | ||
use: 'default', // we want to use the default word breaker, BUT! | ||
// CUSTOMIZE THIS: | ||
joinWordsAt: ['-'], // join words that contain hyphens | ||
} | ||
sources: ['wordlist.tsv'], | ||
punctuation: { | ||
insertAfterWord: "" | ||
} | ||
languageUsesCasing: true, | ||
searchTermToKey: function(term, applyCasing) { | ||
return Array.from(term) | ||
.map(function(c) { return applyCasing('lower', c) }; | ||
} | ||
}; | ||
|
||
export default source; |
24 changes: 24 additions & 0 deletions
24
experimental/cathaylab/cathaylab.nan-latn-tw.taigi/source/readme.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>taigi</title> | ||
<style type="text/css"> | ||
p { font: 10pt Tahoma; } | ||
h1 { font: bold 16pt Tahoma; color: #4444cc; margin-bottom: 2px } | ||
h2 { font: bold 12pt Tahoma; color: #4444cc; } | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<h1>taigi</h1> | ||
|
||
<p> | ||
Taigi model for Tâi-gí Pe̍h-ōe-jī | ||
</p> | ||
|
||
<p>Copyright © cathaylab</p> | ||
|
||
</body> | ||
</html> |
28 changes: 28 additions & 0 deletions
28
experimental/cathaylab/cathaylab.nan-latn-tw.taigi/source/welcome.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Start Using taigi</title> | ||
<style type="text/css"> | ||
p { font: 10pt Tahoma; } | ||
h1 { font: bold 16pt Tahoma; color: #4444cc; margin-bottom: 2px } | ||
h2 { font: bold 12pt Tahoma; color: #4444cc; } | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<h1>Start Using taigi</h1> | ||
|
||
<p> | ||
Taigi model for Tâi-gí Pe̍h-ōe-jī | ||
</p> | ||
|
||
<h1>Wordlist Model Documentation</h1> | ||
|
||
<!-- Insert HTML documentation here --> | ||
|
||
<p>Copyright © cathaylab</p> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.