Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sil.km.nckw] NC Khmer Wordlist #131

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions release/sil/sil.km.nckw/HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
NC Khmer Wordlist Change History
====================

1.0 (2021-04-21)
----------------
* Created by SIL International
21 changes: 21 additions & 0 deletions release/sil/sil.km.nckw/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

© 2021 SIL International

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.
24 changes: 24 additions & 0 deletions release/sil/sil.km.nckw/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
NC Khmer Wordlist lexical model
===================

© 2021 SIL International

Version 1.0

Description
-----------

This wordlist contains 18,782 unique words. The second column features word frequency.

Links
-----

Supported Platforms
-------------------
* iPhone
* iPad
* Android phone
* Android tablet
* Mobile devices
* Tablet devices

83 changes: 83 additions & 0 deletions release/sil/sil.km.nckw/sil.km.nckw.kpj
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<KeymanDeveloperProject>
<Options>
<BuildPath>$PROJECTPATH\build</BuildPath>
<CompilerWarningsAsErrors>True</CompilerWarningsAsErrors>
<WarnDeprecatedCode>True</WarnDeprecatedCode>
<CheckFilenameConventions>True</CheckFilenameConventions>
<ProjectType>lexicalmodel</ProjectType>
</Options>
<Files>
<File>
<ID>id_8239e4adcb1d1662e6e1df5f97e12edd</ID>
<Filename>sil.km.nckw.model.ts</Filename>
<Filepath>source\sil.km.nckw.model.ts</Filepath>
<FileVersion>1.0</FileVersion>
<FileType>.ts</FileType>
</File>
<File>
<ID>id_e3d05d557ec3ddc29d087d79d381b714</ID>
<Filename>sil.km.nckw.model.kps</Filename>
<Filepath>source\sil.km.nckw.model.kps</Filepath>
<FileVersion>1.0</FileVersion>
<FileType>.kps</FileType>
<Details>
<Name>NC Khmer Wordlist</Name>
<Copyright>© 2021 SIL International</Copyright>
<Version>1.0</Version>
</Details>
</File>
<File>
<ID>id_ede98e4633e239f933cbfd1f4e1b766c</ID>
<Filename>HISTORY.md</Filename>
<Filepath>HISTORY.md</Filepath>
<FileVersion></FileVersion>
<FileType>.md</FileType>
</File>
<File>
<ID>id_53e892b8b41cc4caece1cfd5ef21d6e7</ID>
<Filename>LICENSE.md</Filename>
<Filepath>LICENSE.md</Filepath>
<FileVersion></FileVersion>
<FileType>.md</FileType>
</File>
<File>
<ID>id_0730bb7c2e8f9ea2438b52e419dd86c9</ID>
<Filename>README.md</Filename>
<Filepath>README.md</Filepath>
<FileVersion></FileVersion>
<FileType>.md</FileType>
</File>
<File>
<ID>id_c8ad3a2281a26529fd2424b80cb52c66</ID>
<Filename>sil.km.nckw.model_info</Filename>
<Filepath>sil.km.nckw.model_info</Filepath>
<FileVersion></FileVersion>
<FileType>.model_info</FileType>
</File>
<File>
<ID>id_201a974996ea7b4c02491371bb43b49c</ID>
<Filename>sil.km.nckw.model.js</Filename>
<Filepath>source\..\build\sil.km.nckw.model.js</Filepath>
<FileVersion></FileVersion>
<FileType>.js</FileType>
<ParentFileID>id_e3d05d557ec3ddc29d087d79d381b714</ParentFileID>
</File>
<File>
<ID>id_356e5d149c1e539356d72698c1e401a6</ID>
<Filename>welcome.htm</Filename>
<Filepath>source\welcome.htm</Filepath>
<FileVersion></FileVersion>
<FileType>.htm</FileType>
<ParentFileID>id_e3d05d557ec3ddc29d087d79d381b714</ParentFileID>
</File>
<File>
<ID>id_8da344c4cea6f467013357fe099006f5</ID>
<Filename>readme.htm</Filename>
<Filepath>source\readme.htm</Filepath>
<FileVersion></FileVersion>
<FileType>.htm</FileType>
<ParentFileID>id_e3d05d557ec3ddc29d087d79d381b714</ParentFileID>
</File>
</Files>
</KeymanDeveloperProject>
7 changes: 7 additions & 0 deletions release/sil/sil.km.nckw/sil.km.nckw.model_info
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"license": "mit",
"languages": [
"km"
],
"description": "NC Khmer Wordlist generated from template"
}
22 changes: 22 additions & 0 deletions release/sil/sil.km.nckw/source/readme.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NC Khmer Wordlist</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>NC Khmer Wordlist</h1>

<p>This wordlist contains 18,782 unique words. The second column features word frequency.</p>

<p>© 2021 SIL International</p>

</body>
</html>
54 changes: 54 additions & 0 deletions release/sil/sil.km.nckw/source/sil.km.nckw.model.kps
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<Package>
<System>
<KeymanDeveloperVersion>14.0.271.0</KeymanDeveloperVersion>
<FileVersion>12.0</FileVersion>
</System>
<Options>
<ExecuteProgram></ExecuteProgram>
<ReadMeFile>readme.htm</ReadMeFile>
<MSIFileName></MSIFileName>
<MSIOptions></MSIOptions>
</Options>
<StartMenu>
<Folder></Folder>
<Items/>
</StartMenu>
<Info>
<Name URL="">NC Khmer Wordlist</Name>
<Copyright URL="">© 2021 SIL International</Copyright>
<Author URL="">SIL International</Author>
<Version URL="">1.0</Version>
</Info>
<Files>
<File>
<Name>..\build\sil.km.nckw.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>
</Files>
<Keyboards/>
<LexicalModels>
<LexicalModel>
<Name>NC Khmer Wordlist</Name>
<ID>sil.km.nckw</ID>
<Languages>
<Language ID="km">Central Khmer</Language>
</Languages>
</LexicalModel>
</LexicalModels>
<Strings/>
</Package>
28 changes: 28 additions & 0 deletions release/sil/sil.km.nckw/source/sil.km.nckw.model.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
NC Khmer Wordlist 1.0 generated from template.

This is a minimal lexical model source that uses a tab delimited wordlist.
See documentation online at https://help.keyman.com/developer/ for
additional parameters.
*/

const source: LexicalModelSource = {
format: 'trie-1.0',
wordBreaker: 'default',
sources: ['wordlist.tsv'],,
wordBreaker: function(str: string) {
return str.split(/\s|\u200b/).map(function(token) {
return {
left: str.indexOf(token),
start: str.indexOf(token),
right: str.indexOf(token) + token.length,
end: str.indexOf(token) + token.length,
text: token
}
});
},
punctuation: {
insertAfterWord: "\u200B"
}
};
export default source;
26 changes: 26 additions & 0 deletions release/sil/sil.km.nckw/source/welcome.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Start Using NC Khmer Wordlist</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 NC Khmer Wordlist</h1>

<p>This wordlist contains 18,782 unique words. The second column features word frequency.</p>

<h1>Wordlist Model Documentation</h1>

<p>The wordlist is derived from a news corpus which have been curated and checked against the existing official Khmer monolingual dictionary published in 1967. The Khmer spelling convention has been utilized in the curation process to ensure that new words (i.e. names of famous people and places) are well-formed.</p>

<p>© 2021 SIL International</p>

</body>
</html>
Loading