Merge pull request #227 from azooKey/feat/mapped_input_style

feat: `.mapped(id)`を新たな入力スタイルとして導入し、カスタムローマ字かな変換テーブルに対応
This commit is contained in:
Miwa
2025-07-23 23:35:36 +09:00
committed by GitHub
parent 6192a8817e
commit d8b06e9367
18 changed files with 1126 additions and 414 deletions

View File

@@ -25,11 +25,6 @@ public enum CharacterUtils {
kogakiKana.contains(character)
}
/// (a-z, A-Z)
@inlinable public static func isRomanLetter(_ character: Character) -> Bool {
character.isASCII && character.isCased
}
///
public static func kogaki(_ character: Character) -> Character {
switch character {