Koboldcpp / grammars /japanese.gbnf
Illumotion's picture
Upload folder using huggingface_hub
6ba25f7
raw
history blame
249 Bytes
# A probably incorrect grammar for Japanese
root ::= jp-char+ ([ \t\n] jp-char+)*
jp-char ::= hiragana | katakana | punctuation | cjk
hiragana ::= [ぁ-ゟ]
katakana ::= [ァ-ヿ]
punctuation ::= [、-〾]
cjk ::= [一-鿿]