Excerpt |
---|
Breaks TEXT_BLOCK tokens into other TEXT_BLOCK tokens, separating the non quoted text from the quoted one. This breaker respects the grammatical rules of quotes. |
...
Note |
---|
This stage follows the correct gramatical grammatical rules for quotation. |
Include Page | ||||
---|---|---|---|---|
|
...
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "type": "QuotationBreaker", "singleQuotes": true } |
Code Block | ||||
---|---|---|---|---|
| ||||
V----[Lamarr said, "The case is far from over, and we will win."]----V ^--[Lamarr said,]--V--[The case is far from over, and we will win.]--^ V----[He said, "I don't care."]----V ^--[He said,]--V--[I don't care.]--^ With nested quotes V----------[Dan said: "In a town outside Brisbane, I saw 'Tourists go home' written on a wall. But then someone told me, 'Pay it no mind, lad.' "]-----------V ^--[Dan said:]--V---------[In a town outside Brisbane, I saw 'Tourists go home' written on a wall. But then someone told me, 'Pay it no mind, lad.']---------^ ^--[In a town outside Brisbane, I saw]--V--[Tourists go home]--V--[written on a wall. But then someone told me,]--V--[Pay it no mind, lad.]--^ |
...
...
...