mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-12-03 02:58:27 +00:00
Add more mid and cid data
This commit is contained in:
@@ -19,21 +19,27 @@ public enum CIDData: Sendable {
|
||||
case 一般名詞
|
||||
case 固有名詞
|
||||
case 人名一般
|
||||
case 人名性
|
||||
case 人名名
|
||||
case 固有名詞組織
|
||||
case 地名一般
|
||||
case 数
|
||||
case EOS
|
||||
public var cid: Int {
|
||||
switch self {
|
||||
case .BOS: return 0
|
||||
case .記号: return 5
|
||||
case .係助詞ハ: return 261
|
||||
case .助動詞デス基本形: return 460
|
||||
case .一般名詞: return 1285
|
||||
case .固有名詞: return 1288
|
||||
case .人名一般: return 1289
|
||||
case .地名一般: return 1293
|
||||
case .数: return 1295
|
||||
case .EOS: return 1316
|
||||
case .BOS: 0
|
||||
case .記号: 5
|
||||
case .係助詞ハ: 261
|
||||
case .助動詞デス基本形: 460
|
||||
case .一般名詞: 1285
|
||||
case .固有名詞: 1288
|
||||
case .人名一般: 1289
|
||||
case .人名性: 1290
|
||||
case .人名名: 1291
|
||||
case .固有名詞組織: 1292
|
||||
case .地名一般: 1293
|
||||
case .数: 1295
|
||||
case .EOS: 1316
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,16 +20,23 @@ public enum MIDData: Sendable {
|
||||
case 小さい数字
|
||||
case 年
|
||||
case 絵文字
|
||||
case 人名姓
|
||||
case 人名名
|
||||
case 組織
|
||||
|
||||
public var mid: Int {
|
||||
switch self {
|
||||
case .BOS: return 500
|
||||
case .EOS: return 500
|
||||
case .一般: return 501
|
||||
case .年: return 237
|
||||
case .英単語: return 40
|
||||
case .数: return 452
|
||||
case .小さい数字: return 361
|
||||
case .絵文字: return 502
|
||||
case .BOS: 500
|
||||
case .EOS: 500
|
||||
case .一般: 501
|
||||
case .人名姓: 344
|
||||
case .人名名: 370
|
||||
case .組織: 378
|
||||
case .年: 237
|
||||
case .英単語: 40
|
||||
case .数: 452
|
||||
case .小さい数字: 361
|
||||
case .絵文字: 501 // 502を追加する
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user