Add roleplay.gbnf grammar (#5368)
This commit is contained in:
parent
b1463df0a1
commit
40c7977f9b
2 changed files with 5 additions and 1 deletions
4
grammars/roleplay.gbnf
Normal file
4
grammars/roleplay.gbnf
Normal file
|
@ -0,0 +1,4 @@
|
|||
phrasePattern ::= "*" [A-ZÀ-Ü] ( [A-Za-z'.?!,:;-à-üÀ-Ü0-9]+ " " )* [A-Za-z'.?!,:;-à-üÀ-Ü0-9]+ "*"
|
||||
quotedText ::= "\"" [A-ZÀ-Ü] [A-Za-z'.*?!,:;-à-üÀ-Ü0-9]* (" " [A-Za-z'.*?!,:;-à-üÀ-Ü0-9]+)* "\""
|
||||
root ::= phrasePattern singleSpace quotedText singleSpace phrasePattern singleSpace quotedText singleSpace (phrasePattern singleSpace quotedText singleSpace)?
|
||||
singleSpace ::= " "
|
Loading…
Add table
Add a link
Reference in a new issue