q9uri commited on
Commit ·
f33c9c5
1
Parent(s): 664d0af
add openjtalk system dict
Browse files- src/ja/openjtalk-dictionarys/system/CHANGELOG.md +34 -0
- src/ja/openjtalk-dictionarys/system/COPYING +129 -0
- src/ja/openjtalk-dictionarys/system/README.md +13 -0
- src/ja/openjtalk-dictionarys/system/char.def +146 -0
- src/ja/openjtalk-dictionarys/system/feature.def +115 -0
- src/ja/openjtalk-dictionarys/system/lex.csv +3 -0
- src/ja/openjtalk-dictionarys/system/matrix.7z +3 -0
- src/ja/openjtalk-dictionarys/system/naist-jdic.csv +3 -0
- src/ja/openjtalk-dictionarys/system/unidic-csj.csv +3 -0
- src/ja/openjtalk-dictionarys/system/unk.def +40 -0
src/ja/openjtalk-dictionarys/system/CHANGELOG.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# from jpreprocces/naist-jdic
|
| 2 |
+
# ChangeLog
|
| 3 |
+
|
| 4 |
+
## Before v0.1.0
|
| 5 |
+
|
| 6 |
+
The files were copied from OpenJTalk to jpreprocess,
|
| 7 |
+
and then from jpreprocess to this repository.
|
| 8 |
+
|
| 9 |
+
While the files were in jpreprocess, some words were modified.
|
| 10 |
+
|
| 11 |
+
* [Broken accent rules were fixed](https://github.com/jpreprocess/jpreprocess/commit/abadf7c1a2745e2de49c0ee760c3734ada41d820#diff-59216a03e32b0f71cc9bd619896bd04e153c46db349b913001d219c8734816e4)
|
| 12 |
+
|
| 13 |
+
```diff
|
| 14 |
+
- 名詞%F2@1/形容詞%F2@-1動詞%F2@0
|
| 15 |
+
+ 名詞%F2@1/形容詞%F2@-1/動詞%F2@0
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
## v0.1.0
|
| 19 |
+
|
| 20 |
+
Initial Release. Nothing was changed.
|
| 21 |
+
|
| 22 |
+
## v0.1.1
|
| 23 |
+
|
| 24 |
+
* Add documentation by @femshima in <https://github.com/jpreprocess/naist-jdic/pull/3>
|
| 25 |
+
* fix カ往促音便 by @femshima in <https://github.com/jpreprocess/naist-jdic/pull/4>
|
| 26 |
+
|
| 27 |
+
## v0.1.2
|
| 28 |
+
|
| 29 |
+
* Apply NEologd patch on pronunciations by @femshima in <https://github.com/jpreprocess/naist-jdic/pull/5>
|
| 30 |
+
* Remove numbers from unidic by @femshima in <https://github.com/jpreprocess/naist-jdic/pull/6>
|
| 31 |
+
|
| 32 |
+
## v0.1.3
|
| 33 |
+
|
| 34 |
+
* Fix mora size by @femshima in <https://github.com/jpreprocess/naist-jdic/pull/7>
|
src/ja/openjtalk-dictionarys/system/COPYING
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2009, Nara Institute of Science and Technology, Japan.
|
| 2 |
+
|
| 3 |
+
All rights reserved.
|
| 4 |
+
|
| 5 |
+
Redistribution and use in source and binary forms, with or without
|
| 6 |
+
modification, are permitted provided that the following conditions are
|
| 7 |
+
met:
|
| 8 |
+
|
| 9 |
+
Redistributions of source code must retain the above copyright notice,
|
| 10 |
+
this list of conditions and the following disclaimer.
|
| 11 |
+
Redistributions in binary form must reproduce the above copyright
|
| 12 |
+
notice, this list of conditions and the following disclaimer in the
|
| 13 |
+
documentation and/or other materials provided with the distribution.
|
| 14 |
+
Neither the name of the Nara Institute of Science and Technology
|
| 15 |
+
(NAIST) nor the names of its contributors may be used to endorse or
|
| 16 |
+
promote products derived from this software without specific prior
|
| 17 |
+
written permission.
|
| 18 |
+
|
| 19 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 20 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 21 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 22 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 23 |
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 24 |
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 25 |
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 26 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 27 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 28 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 29 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 30 |
+
|
| 31 |
+
Copyright (c) 2011-2017, The UniDic Consortium
|
| 32 |
+
All rights reserved.
|
| 33 |
+
|
| 34 |
+
Redistribution and use in source and binary forms, with or without
|
| 35 |
+
modification, are permitted provided that the following conditions are
|
| 36 |
+
met:
|
| 37 |
+
|
| 38 |
+
* Redistributions of source code must retain the above copyright
|
| 39 |
+
notice, this list of conditions and the following disclaimer.
|
| 40 |
+
|
| 41 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 42 |
+
notice, this list of conditions and the following disclaimer in the
|
| 43 |
+
documentation and/or other materials provided with the
|
| 44 |
+
distribution.
|
| 45 |
+
|
| 46 |
+
* Neither the name of the UniDic Consortium nor the names of its
|
| 47 |
+
contributors may be used to endorse or promote products derived
|
| 48 |
+
from this software without specific prior written permission.
|
| 49 |
+
|
| 50 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 51 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 52 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 53 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 54 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 55 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 56 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 57 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 58 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 59 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 60 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 61 |
+
|
| 62 |
+
/* ----------------------------------------------------------------- */
|
| 63 |
+
/* The Japanese TTS System "Open JTalk" */
|
| 64 |
+
/* developed by HTS Working Group */
|
| 65 |
+
/* http://open-jtalk.sourceforge.net/ */
|
| 66 |
+
/* ----------------------------------------------------------------- */
|
| 67 |
+
/* */
|
| 68 |
+
/* Copyright (c) 2008-2016 Nagoya Institute of Technology */
|
| 69 |
+
/* Department of Computer Science */
|
| 70 |
+
/* */
|
| 71 |
+
/* All rights reserved. */
|
| 72 |
+
/* */
|
| 73 |
+
/* Redistribution and use in source and binary forms, with or */
|
| 74 |
+
/* without modification, are permitted provided that the following */
|
| 75 |
+
/* conditions are met: */
|
| 76 |
+
/* */
|
| 77 |
+
/* - Redistributions of source code must retain the above copyright */
|
| 78 |
+
/* notice, this list of conditions and the following disclaimer. */
|
| 79 |
+
/* - Redistributions in binary form must reproduce the above */
|
| 80 |
+
/* copyright notice, this list of conditions and the following */
|
| 81 |
+
/* disclaimer in the documentation and/or other materials provided */
|
| 82 |
+
/* with the distribution. */
|
| 83 |
+
/* - Neither the name of the HTS working group nor the names of its */
|
| 84 |
+
/* contributors may be used to endorse or promote products derived */
|
| 85 |
+
/* from this software without specific prior written permission. */
|
| 86 |
+
/* */
|
| 87 |
+
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND */
|
| 88 |
+
/* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, */
|
| 89 |
+
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
|
| 90 |
+
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
|
| 91 |
+
/* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS */
|
| 92 |
+
/* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, */
|
| 93 |
+
/* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
|
| 94 |
+
/* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */
|
| 95 |
+
/* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON */
|
| 96 |
+
/* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, */
|
| 97 |
+
/* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY */
|
| 98 |
+
/* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
|
| 99 |
+
/* POSSIBILITY OF SUCH DAMAGE. */
|
| 100 |
+
/* ----------------------------------------------------------------- */
|
| 101 |
+
|
| 102 |
+
BSD 3-Clause License
|
| 103 |
+
|
| 104 |
+
Copyright (c) 2023, JPreprocess Team
|
| 105 |
+
|
| 106 |
+
Redistribution and use in source and binary forms, with or without
|
| 107 |
+
modification, are permitted provided that the following conditions are met:
|
| 108 |
+
|
| 109 |
+
1. Redistributions of source code must retain the above copyright notice, this
|
| 110 |
+
list of conditions and the following disclaimer.
|
| 111 |
+
|
| 112 |
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
| 113 |
+
this list of conditions and the following disclaimer in the documentation
|
| 114 |
+
and/or other materials provided with the distribution.
|
| 115 |
+
|
| 116 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 117 |
+
contributors may be used to endorse or promote products derived from
|
| 118 |
+
this software without specific prior written permission.
|
| 119 |
+
|
| 120 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 121 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 122 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 123 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 124 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 125 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 126 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 127 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 128 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 129 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
src/ja/openjtalk-dictionarys/system/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# naist-jdic
|
| 2 |
+
|
| 3 |
+
Naist-jdic dictionary contained in openjtalk, and used by jpreprocess.
|
| 4 |
+
|
| 5 |
+
## Copyright
|
| 6 |
+
|
| 7 |
+
- Copyright (c) 2009, Nara Institute of Science and Technology, Japan.
|
| 8 |
+
- Copyright (c) 2011-2017, The UniDic Consortium
|
| 9 |
+
- Copyright (c) 2008-2016 Nagoya Institute of Technology Department of Computer Science
|
| 10 |
+
|
| 11 |
+
## License
|
| 12 |
+
|
| 13 |
+
BSD-3-Clause
|
src/ja/openjtalk-dictionarys/system/char.def
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#
|
| 2 |
+
# Japanese charcter category map
|
| 3 |
+
#
|
| 4 |
+
#
|
| 5 |
+
|
| 6 |
+
###################################################################################
|
| 7 |
+
#
|
| 8 |
+
# CHARACTER CATEGORY DEFINITION
|
| 9 |
+
#
|
| 10 |
+
# CATEGORY_NAME INVOKE GROUP LENGTH
|
| 11 |
+
#
|
| 12 |
+
# - CATEGORY_NAME: Name of category. you have to define DEFAULT class.
|
| 13 |
+
# - INVOKE: 1/0: always invoke unknown word processing, evan when the word can be found in the lexicon
|
| 14 |
+
# - GROUP: 1/0: make a new word by grouping the same chracter category
|
| 15 |
+
# - LENGTH: n: 1 to n length new words are added
|
| 16 |
+
#
|
| 17 |
+
DEFAULT 0 1 0 # DEFAULT is a mandatory category!
|
| 18 |
+
SPACE 0 1 0
|
| 19 |
+
KANJI 0 0 2
|
| 20 |
+
SYMBOL 1 1 0
|
| 21 |
+
NUMERIC 1 1 0
|
| 22 |
+
ALPHA 1 1 0
|
| 23 |
+
HIRAGANA 0 1 2
|
| 24 |
+
KATAKANA 0 1 2
|
| 25 |
+
KANJINUMERIC 1 1 0
|
| 26 |
+
GREEK 1 1 0
|
| 27 |
+
CYRILLIC 1 1 0
|
| 28 |
+
|
| 29 |
+
###################################################################################
|
| 30 |
+
#
|
| 31 |
+
# CODE(UCS2) TO CATEGORY MAPPING
|
| 32 |
+
#
|
| 33 |
+
|
| 34 |
+
# SPACE
|
| 35 |
+
0x0020 SPACE # DO NOT REMOVE THIS LINE, 0x0020 is reserved for SPACE
|
| 36 |
+
0x000D SPACE
|
| 37 |
+
0x0009 SPACE
|
| 38 |
+
0x000B SPACE
|
| 39 |
+
0x000A SPACE
|
| 40 |
+
|
| 41 |
+
# ASCII
|
| 42 |
+
0x0021..0x002F SYMBOL
|
| 43 |
+
0x0030..0x0039 NUMERIC
|
| 44 |
+
0x003A..0x0040 SYMBOL
|
| 45 |
+
0x0041..0x005A ALPHA
|
| 46 |
+
0x005B..0x0060 SYMBOL
|
| 47 |
+
0x0061..0x007A ALPHA
|
| 48 |
+
0x007B..0x007E SYMBOL
|
| 49 |
+
|
| 50 |
+
# Latin
|
| 51 |
+
0x00A1..0x00BF SYMBOL # Latin 1
|
| 52 |
+
0x00C0..0x00FF ALPHA # Latin 1
|
| 53 |
+
0x0100..0x017F ALPHA # Latin Extended A
|
| 54 |
+
0x0180..0x0236 ALPHA # Latin Extended B
|
| 55 |
+
0x1E00..0x1EF9 ALPHA # Latin Extended Additional
|
| 56 |
+
|
| 57 |
+
# CYRILLIC
|
| 58 |
+
0x0400..0x04F9 CYRILLIC
|
| 59 |
+
0x0500..0x050F CYRILLIC # Cyrillic supplementary
|
| 60 |
+
|
| 61 |
+
# GREEK
|
| 62 |
+
0x0374..0x03FB GREEK # Greek and Coptic
|
| 63 |
+
|
| 64 |
+
# HIRAGANA
|
| 65 |
+
0x3041..0x309F HIRAGANA
|
| 66 |
+
|
| 67 |
+
# KATAKANA
|
| 68 |
+
0x30A1..0x30FF KATAKANA
|
| 69 |
+
0x31F0..0x31FF KATAKANA # Small KU .. Small RO
|
| 70 |
+
# 0x30FC KATAKANA HIRAGANA # ー
|
| 71 |
+
0x30FC KATAKANA
|
| 72 |
+
|
| 73 |
+
# Half KATAKANA
|
| 74 |
+
0xFF66..0xFF9D KATAKANA
|
| 75 |
+
0xFF9E..0xFF9F KATAKANA
|
| 76 |
+
|
| 77 |
+
# KANJI
|
| 78 |
+
0x2E80..0x2EF3 KANJI # CJK Raidcals Supplement
|
| 79 |
+
0x2F00..0x2FD5 KANJI
|
| 80 |
+
0x3005 KANJI
|
| 81 |
+
0x3007 KANJI
|
| 82 |
+
0x3400..0x4DB5 KANJI # CJK Unified Ideographs Extention
|
| 83 |
+
0x4E00..0x9FA5 KANJI
|
| 84 |
+
0xF900..0xFA2D KANJI
|
| 85 |
+
0xFA30..0xFA6A KANJI
|
| 86 |
+
|
| 87 |
+
# KANJI-NUMERIC (一 二 三 四 五 六 七 八 九 十 百 千 万 億 兆)
|
| 88 |
+
0x4E00 KANJINUMERIC KANJI
|
| 89 |
+
0x4E8C KANJINUMERIC KANJI
|
| 90 |
+
0x4E09 KANJINUMERIC KANJI
|
| 91 |
+
0x56DB KANJINUMERIC KANJI
|
| 92 |
+
0x4E94 KANJINUMERIC KANJI
|
| 93 |
+
0x516D KANJINUMERIC KANJI
|
| 94 |
+
0x4E03 KANJINUMERIC KANJI
|
| 95 |
+
0x516B KANJINUMERIC KANJI
|
| 96 |
+
0x4E5D KANJINUMERIC KANJI
|
| 97 |
+
0x5341 KANJINUMERIC KANJI
|
| 98 |
+
0x767E KANJINUMERIC KANJI
|
| 99 |
+
0x5343 KANJINUMERIC KANJI
|
| 100 |
+
0x4E07 KANJINUMERIC KANJI
|
| 101 |
+
0x5104 KANJINUMERIC KANJI
|
| 102 |
+
0x5146 KANJINUMERIC KANJI
|
| 103 |
+
|
| 104 |
+
# ZENKAKU
|
| 105 |
+
0xFF10..0xFF19 NUMERIC
|
| 106 |
+
0xFF21..0xFF3A ALPHA
|
| 107 |
+
0xFF41..0xFF5A ALPHA
|
| 108 |
+
0xFF01..0xFF0F SYMBOL
|
| 109 |
+
0xFF1A..0xFF1F SYMBOL
|
| 110 |
+
0xFF3B..0xFF40 SYMBOL
|
| 111 |
+
0xFF5B..0xFF65 SYMBOL
|
| 112 |
+
0xFFE0..0xFFEF SYMBOL # HalfWidth and Full width Form
|
| 113 |
+
|
| 114 |
+
# OTHER SYMBOLS
|
| 115 |
+
0x2000..0x206F SYMBOL # General Punctuation
|
| 116 |
+
0x2070..0x209F NUMERIC # Superscripts and Subscripts
|
| 117 |
+
0x20A0..0x20CF SYMBOL # Currency Symbols
|
| 118 |
+
0x20D0..0x20FF SYMBOL # Combining Diaritical Marks for Symbols
|
| 119 |
+
0x2100..0x214F SYMBOL # Letterlike Symbols
|
| 120 |
+
0x2150..0x218F NUMERIC # Number forms
|
| 121 |
+
0x2100..0x214B SYMBOL # Letterlike Symbols
|
| 122 |
+
0x2190..0x21FF SYMBOL # Arrow
|
| 123 |
+
0x2200..0x22FF SYMBOL # Mathematical Operators
|
| 124 |
+
0x2300..0x23FF SYMBOL # Miscellaneuos Technical
|
| 125 |
+
0x2460..0x24FF SYMBOL # Enclosed NUMERICs
|
| 126 |
+
0x2501..0x257F SYMBOL # Box Drawing
|
| 127 |
+
0x2580..0x259F SYMBOL # Block Elements
|
| 128 |
+
0x25A0..0x25FF SYMBOL # Geometric Shapes
|
| 129 |
+
0x2600..0x26FE SYMBOL # Miscellaneous Symbols
|
| 130 |
+
0x2700..0x27BF SYMBOL # Dingbats
|
| 131 |
+
0x27F0..0x27FF SYMBOL # Supplemental Arrows A
|
| 132 |
+
0x27C0..0x27EF SYMBOL # Miscellaneous Mathematical Symbols-A
|
| 133 |
+
0x2800..0x28FF SYMBOL # Braille Patterns
|
| 134 |
+
0x2900..0x297F SYMBOL # Supplemental Arrows B
|
| 135 |
+
0x2B00..0x2BFF SYMBOL # Miscellaneous Symbols and Arrows
|
| 136 |
+
0x2A00..0x2AFF SYMBOL # Supplemental Mathematical Operators
|
| 137 |
+
0x3300..0x33FF SYMBOL
|
| 138 |
+
0x3200..0x32FE SYMBOL # ENclosed CJK Letters and Months
|
| 139 |
+
0x3000..0x303F SYMBOL # CJK Symbol and Punctuation
|
| 140 |
+
0xFE30..0xFE4F SYMBOL # CJK Compatibility Forms
|
| 141 |
+
0xFE50..0xFE6B SYMBOL # Small Form Variants
|
| 142 |
+
|
| 143 |
+
# added 2006/3/13
|
| 144 |
+
0x3007 SYMBOL KANJINUMERIC
|
| 145 |
+
|
| 146 |
+
# END OF TABLE
|
src/ja/openjtalk-dictionarys/system/feature.def
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#
|
| 2 |
+
# ここから bigram 定義
|
| 3 |
+
#
|
| 4 |
+
# %F[0..N] Unigram文脈
|
| 5 |
+
# %F?: 未定義の場合は,このテンプレートを適用しない
|
| 6 |
+
|
| 7 |
+
# POS Unigram
|
| 8 |
+
UNIGRAM U1:%F[0]
|
| 9 |
+
UNIGRAM U2:%F[0],%F?[1]
|
| 10 |
+
UNIGRAM U3:%F[0],%F[1],%F?[2]
|
| 11 |
+
UNIGRAM U4:%F[0],%F[1],%F[2],%F?[3]
|
| 12 |
+
|
| 13 |
+
# Word-POS
|
| 14 |
+
UNIGRAM W0:%F[6]
|
| 15 |
+
UNIGRAM W1:%F[0]/%F[6]
|
| 16 |
+
UNIGRAM W2:%F[0],%F?[1]/%F[6]
|
| 17 |
+
UNIGRAM W3:%F[0],%F[1],%F?[2]/%F[6]
|
| 18 |
+
UNIGRAM W4:%F[0],%F[1],%F[2],%F?[3]/%F[6]
|
| 19 |
+
|
| 20 |
+
# Word-Read-POS
|
| 21 |
+
UNIGRAM R0:%F[7]
|
| 22 |
+
UNIGRAM R1:%F[6],%F[7]
|
| 23 |
+
UNIGRAM R2:%F[0],%F[6],%F[7]
|
| 24 |
+
UNIGRAM R3:%F[0],%F?[1],%F[6],%F[7]
|
| 25 |
+
UNIGRAM R4:%F[0],%F[1],%F?[2],%F[6],%F[7]
|
| 26 |
+
UNIGRAM R5:%F[0],%F[1],%F[2],%F?[3],%F[6],%F[7]
|
| 27 |
+
|
| 28 |
+
# char type
|
| 29 |
+
UNIGRAM T0:%t
|
| 30 |
+
UNIGRAM T1:%F[0]/%t
|
| 31 |
+
UNIGRAM T2:%F[0],%F?[1]/%t
|
| 32 |
+
UNIGRAM T3:%F[0],%F[1],%F?[2]/%t
|
| 33 |
+
UNIGRAM T4:%F[0],%F[1],%F[2],%F?[3]/%t
|
| 34 |
+
|
| 35 |
+
#
|
| 36 |
+
# ここから bigram 定義
|
| 37 |
+
#
|
| 38 |
+
# %L[0..N] 左文脈
|
| 39 |
+
# %R[0..N] 右文脈
|
| 40 |
+
#
|
| 41 |
+
# %R?: 未定義の場合は,このテンプレートを適用しない
|
| 42 |
+
|
| 43 |
+
# 品詞
|
| 44 |
+
BIGRAM B00:%L[0]/%R[0]
|
| 45 |
+
BIGRAM B01:%L[0],%L?[1]/%R[0]
|
| 46 |
+
BIGRAM B02:%L[0]/%R[0],%R?[1]
|
| 47 |
+
BIGRAM B03:%L[0]/%R[0],%R[1],%R?[2]
|
| 48 |
+
BIGRAM B04:%L[0],%L?[1]/%R[0],%R[1],%R?[2]
|
| 49 |
+
BIGRAM B05:%L[0]/%R[0],%R[1],%R[2],%R?[3]
|
| 50 |
+
BIGRAM B06:%L[0],%L?[1]/%R[0],%R[1],%R[2],%R?[3]
|
| 51 |
+
BIGRAM B07:%L[0],%L[1],%L?[2]/%R[0]
|
| 52 |
+
BIGRAM B08:%L[0],%L[1],%L?[2]/%R[0],%R?[1]
|
| 53 |
+
BIGRAM B09:%L[0],%L[1],%L[2],%L?[3]/%R[0]
|
| 54 |
+
BIGRAM B10:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R?[1]
|
| 55 |
+
BIGRAM B11:%L[0],%L[1],%L?[2]/%R[0],%R[1],%R?[2]
|
| 56 |
+
BIGRAM B12:%L[0],%L[1],%L?[2]/%R[0],%R[1],%R[2],%R?[3]
|
| 57 |
+
BIGRAM B13:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R[1],%R?[2]
|
| 58 |
+
BIGRAM B14:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R[1],%R[2],%R?[3]
|
| 59 |
+
|
| 60 |
+
# 活用
|
| 61 |
+
BIGRAM B20:%L[0],%L?[4]/%R[0]
|
| 62 |
+
BIGRAM B21:%L[0],%L?[5]/%R[0]
|
| 63 |
+
BIGRAM B22:%L[0],%L?[4],%L?[5]/%R[0]
|
| 64 |
+
|
| 65 |
+
BIGRAM B23:%L[0]/%R[0],%R?[4]
|
| 66 |
+
BIGRAM B24:%L[0]/%R[0],%R?[5]
|
| 67 |
+
BIGRAM B25:%L[0]/%R[0],%R?[4],%R?[5]
|
| 68 |
+
|
| 69 |
+
BIGRAM B26:%L[0],%L?[4]/%R[0],%R?[4]
|
| 70 |
+
BIGRAM B27:%L[0],%L?[4]/%R[0],%R?[5]
|
| 71 |
+
BIGRAM B28:%L[0],%L?[5]/%R[0],%R?[4]
|
| 72 |
+
BIGRAM B29:%L[0],%L?[5]/%R[0],%R?[5]
|
| 73 |
+
|
| 74 |
+
BIGRAM B30:%L[0],%L?[4],%L?[5]/%R[0],%R?[4]
|
| 75 |
+
BIGRAM B31:%L[0],%L?[4],%L?[5]/%R[0],%R?[5]
|
| 76 |
+
|
| 77 |
+
BIGRAM B32:%L[0],%L?[4]/%R[0],%R?[4],%R?[5]
|
| 78 |
+
BIGRAM B33:%L[0],%L?[5]/%R[0],%R?[4],%R?[5]
|
| 79 |
+
|
| 80 |
+
BIGRAM B34:%L[0],%L?[4],%L?[5]/%R[0],%R?[4],%R?[5]
|
| 81 |
+
|
| 82 |
+
# POS leaf category
|
| 83 |
+
BIGRAM B40:%L[0],%L[1],%L[2],%L?[4]/%R[0],%R[1],%R[2]
|
| 84 |
+
BIGRAM B41:%L[0],%L[1],%L[2],%L?[5]/%R[0],%R[1],%R[2]
|
| 85 |
+
BIGRAM B42:%L[0],%L[1],%L[2],%L?[4],%L?[5]/%R[0],%R[1],%R[2]
|
| 86 |
+
|
| 87 |
+
BIGRAM B43:%L[0],%L[1],%L[2]/%R[0],%R[1],%R[2],%R?[4]
|
| 88 |
+
BIGRAM B44:%L[0],%L[1],%L[2]/%R[0],%R[1],%R[2],%R?[5]
|
| 89 |
+
BIGRAM B45:%L[0],%L[1],%L[2]/%R[0],%R[1],%R[2],%R?[4],%R?[5]
|
| 90 |
+
|
| 91 |
+
BIGRAM B46:%L[0],%L[1],%L[2],%L?[4]/%R[0],%R[1],%R[2],%R?[4]
|
| 92 |
+
BIGRAM B47:%L[0],%L[1],%L[2],%L?[4]/%R[0],%R[1],%R[2],%R?[5]
|
| 93 |
+
BIGRAM B48:%L[0],%L[1],%L[2],%L?[5]/%R[0],%R[1],%R[2],%R?[4]
|
| 94 |
+
BIGRAM B49:%L[0],%L[1],%L[2],%L?[5]/%R[0],%R[1],%R[2],%R?[5]
|
| 95 |
+
|
| 96 |
+
BIGRAM B50:%L[0],%L[1],%L[2],%L?[4],%L?[5]/%R[0],%R[1],%R[2],%R?[4]
|
| 97 |
+
BIGRAM B51:%L[0],%L[1],%L[2],%L?[4],%L?[5]/%R[0],%R[1],%R[2],%R?[5]
|
| 98 |
+
|
| 99 |
+
BIGRAM B52:%L[0],%L[1],%L[2],%L?[4]/%R[0],%R[1],%R[2],%R?[4],%R?[5]
|
| 100 |
+
BIGRAM B53:%L[0],%L[1],%L[2],%L?[5]/%R[0],%R[1],%R[2],%R?[4],%R?[5]
|
| 101 |
+
|
| 102 |
+
BIGRAM B54:%L[0],%L[1],%L[2],%L?[4],%L?[5]/%R[0],%R[1],%R[2],%R?[4],%R?[5]
|
| 103 |
+
|
| 104 |
+
# 語彙化
|
| 105 |
+
BIGRAM B61:%L[0],%L[1],%L[2],%L[3],%L[4],%L[5],%L?[6]/%R[0],%R[1],%R[2],%R[3]
|
| 106 |
+
BIGRAM B61:%L[0],%L[1],%L[2],%L[3],%L[4],%L[5],%L?[6]/%R[0],%R[1],%R[2],%R[3],%R[4]
|
| 107 |
+
BIGRAM B62:%L[0],%L[1],%L[2],%L[3],%L[4],%L[5],%L?[6]/%R[0],%R[1],%R[2],%R[3],%R[5]
|
| 108 |
+
BIGRAM B63:%L[0],%L[1],%L[2],%L[3],%L[4],%L[5],%L?[6]/%R[0],%R[1],%R[2],%R[3],%R[4],%R[5]
|
| 109 |
+
BIGRAM B64:%L[0],%L[1],%L[2],%L[3]/%R[0],%R[1],%R[2],%R[3],%R[4],%R[5],%R?[6]
|
| 110 |
+
BIGRAM B65:%L[0],%L[1],%L[2],%L[3],%L[4]/%R[0],%R[1],%R[2],%R[3],%R[4],%R[5],%R?[6]
|
| 111 |
+
BIGRAM B66:%L[0],%L[1],%L[2],%L[3],%L[5]/%R[0],%R[1],%R[2],%R[3],%R[4],%R[5],%R?[6]
|
| 112 |
+
BIGRAM B67:%L[0],%L[1],%L[2],%L[3],%L[4],%L[5]/%R[0],%R[1],%R[2],%R[3],%R[4],%R[5],%R?[6]
|
| 113 |
+
BIGRAM B68:%L[0],%L[1],%L[2],%L[3],%L[4],%L[5],%L?[6]/%R[0],%R[1],%R[2],%R[3],%R[4],%R[5],%R?[6]
|
| 114 |
+
|
| 115 |
+
BIGRAM B70:%L?[6]/%R?[6]
|
src/ja/openjtalk-dictionarys/system/lex.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dfbce1232df67ecb5a157fb48c617c7208f597d0d27995bb2cddf945d81ce15
|
| 3 |
+
size 88823667
|
src/ja/openjtalk-dictionarys/system/matrix.7z
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dba930416d5a25c851c5bfc432385c7420ad1bdcee0eaa70d3c9d09ce99a1975
|
| 3 |
+
size 3022201
|
src/ja/openjtalk-dictionarys/system/naist-jdic.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:140e0b8189732fa1e65d22079f399b895cb5d7e6ba8b1b1afed656d3fb10b84e
|
| 3 |
+
size 54439801
|
src/ja/openjtalk-dictionarys/system/unidic-csj.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79b937d04de948e3163f2c644e43393fd6147e0a743d17e576a61597b33ecd56
|
| 3 |
+
size 33594966
|
src/ja/openjtalk-dictionarys/system/unk.def
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DEFAULT,5,5,4190,記号,一般,*,*,*,*,*
|
| 2 |
+
SPACE,9,9,8094,記号,空白,*,*,*,*,*
|
| 3 |
+
KANJI,1345,1345,10654,名詞,一般,*,*,*,*,*
|
| 4 |
+
KANJI,1343,1343,15603,名詞,サ変接続,*,*,*,*,*
|
| 5 |
+
KANJI,1353,1353,16821,名詞,固有名詞,地域,一般,*,*,*
|
| 6 |
+
KANJI,1352,1352,12412,名詞,固有名詞,組織,*,*,*,*
|
| 7 |
+
KANJI,1349,1349,16639,名詞,固有名詞,人名,一般,*,*,*
|
| 8 |
+
KANJI,1348,1348,14827,名詞,固有名詞,一般,*,*,*,*
|
| 9 |
+
SYMBOL,1343,1343,15331,名詞,サ変接続,*,*,*,*,*
|
| 10 |
+
NUMERIC,1355,1355,25847,名詞,数,*,*,*,*,*
|
| 11 |
+
ALPHA,1345,1345,11820,名詞,一般,*,*,*,*,*
|
| 12 |
+
ALPHA,1353,1353,16647,名詞,固有名詞,地域,一般,*,*,*
|
| 13 |
+
ALPHA,1352,1352,12213,名詞,固有名詞,組織,*,*,*,*
|
| 14 |
+
ALPHA,1349,1349,16137,名詞,固有名詞,人名,一般,*,*,*
|
| 15 |
+
ALPHA,1348,1348,13239,名詞,固有名詞,一般,*,*,*,*
|
| 16 |
+
ALPHA,3,3,14043,感動詞,*,*,*,*,*,*
|
| 17 |
+
HIRAGANA,1345,1345,12341,名詞,一般,*,*,*,*,*
|
| 18 |
+
HIRAGANA,1343,1343,18559,名詞,サ変接続,*,*,*,*,*
|
| 19 |
+
HIRAGANA,1353,1353,16369,名詞,固有名詞,地域,一般,*,*,*
|
| 20 |
+
HIRAGANA,1352,1352,13427,名詞,固有名詞,組織,*,*,*,*
|
| 21 |
+
HIRAGANA,1349,1349,16248,名詞,固有名詞,人名,一般,*,*,*
|
| 22 |
+
HIRAGANA,1348,1348,13480,名詞,固有名詞,一般,*,*,*,*
|
| 23 |
+
HIRAGANA,3,3,15229,感動詞,*,*,*,*,*,*
|
| 24 |
+
KATAKANA,1345,1345,8360,名詞,一般,*,*,*,*,*
|
| 25 |
+
KATAKANA,1353,1353,12609,名詞,固有名詞,地域,一般,*,*,*
|
| 26 |
+
KATAKANA,1352,1352,10280,名詞,固有名詞,組織,*,*,*,*
|
| 27 |
+
KATAKANA,1349,1349,12691,名詞,固有名詞,人名,一般,*,*,*
|
| 28 |
+
KATAKANA,1348,1348,9877,名詞,固有名詞,一般,*,*,*,*
|
| 29 |
+
KATAKANA,3,3,13115,感動詞,*,*,*,*,*,*
|
| 30 |
+
KANJINUMERIC,1355,1355,26419,名詞,数,*,*,*,*,*
|
| 31 |
+
GREEK,1345,1345,7019,名詞,一般,*,*,*,*,*
|
| 32 |
+
GREEK,1353,1353,11718,名詞,固有名詞,地域,一般,*,*,*
|
| 33 |
+
GREEK,1352,1352,8031,名詞,固有名詞,組織,*,*,*,*
|
| 34 |
+
GREEK,1349,1349,11709,名詞,固有名詞,人名,一般,*,*,*
|
| 35 |
+
GREEK,1348,1348,9144,名詞,固有名詞,一般,*,*,*,*
|
| 36 |
+
CYRILLIC,1345,1345,6975,名詞,一般,*,*,*,*,*
|
| 37 |
+
CYRILLIC,1353,1353,11651,名詞,固有名詞,地域,一般,*,*,*
|
| 38 |
+
CYRILLIC,1352,1352,7965,名詞,固有名詞,組織,*,*,*,*
|
| 39 |
+
CYRILLIC,1349,1349,11643,名詞,固有名詞,人名,一般,*,*,*
|
| 40 |
+
CYRILLIC,1348,1348,9056,名詞,固有名詞,一般,*,*,*,*
|