Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenquotes.git
M src/main/java/com/whitemagicsoftware/keenquotes/parser/Token.java
54 54
   */
55 55
  private static final Map<LexemeGlyph, String> I18N_ENTITIES = ofEntries(
56
    entry( LEX_DOUBLE_QUOTE_OPENING_LOW, "&#8222;" ),
56
    entry( LEX_DOUBLE_QUOTE_OPENING_LOW, "&ldquor;" ),
57 57
    entry( LEX_DOUBLE_CHEVRON_LEFT, "&laquo;" ),
58 58
    entry( LEX_DOUBLE_CHEVRON_RIGHT, "&raquo;" ),
M src/test/resources/com/whitemagicsoftware/keenquotes/texts/i18n.txt
3 3
# ########################################################################
4 4
«What's ‹going› on?» ,,Hey there!"
5
&laquo;What&apos;s &lsaquo;going&rsaquo; on?&raquo; &#8222;Hey there!&rdquo;
5
&laquo;What&apos;s &lsaquo;going&rsaquo; on?&raquo; &ldquor;Hey there!&rdquo;
6 6
7 7
# ########################################################################
...
18 18
# ########################################################################
19 19
,,Dit is een citaat," zei hij.
20
&#8222;Dit is een citaat,&rdquo; zei hij.
20
&ldquor;Dit is een citaat,&rdquo; zei hij.
21 21
22 22
,,Ik heb twee opa's en twee oma's," zei het meisje,„hoeveel heb jij er?"
23
&#8222;Ik heb twee opa&apos;s en twee oma&apos;s,&rdquo; zei het meisje,&#8222;hoeveel heb jij er?&rdquo;
23
&ldquor;Ik heb twee opa&apos;s en twee oma&apos;s,&rdquo; zei het meisje,&ldquor;hoeveel heb jij er?&rdquo;
24 24
25 25
"Zeg, wat betekent 'quod non' eigenlijk?", vroeg Nynke.
M src/test/resources/com/whitemagicsoftware/keenquotes/texts/unambiguous-1-pass.txt
180 180
181 181
"’Kearney lives on the banks of Killarney—’
182
&ldquo;’Kearney lives on the banks of Killarney—&rsquo;
182
&ldquo;&rsquo;Kearney lives on the banks of Killarney—&rsquo;
183 183
184 184
# ########################################################################