Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ fn is_split_punct(c: char) -> bool {
/// never occur inside glued numeric/semiotic forms (unlike `.`/`:`/`,`), so
/// splitting them cannot break decimals, times, or IPs.
fn is_interior_hard(c: char) -> bool {
matches!(c, '!' | '?' | '(' | ')' | '[' | ']' | '{' | '}')
matches!(c, '!' | '?' | '(' | ')' | '[' | ']' | '{' | '}' | '\'')
}

/// Fold NeMo's double-backtick quotes to a straight double quote so the
Expand Down
4 changes: 2 additions & 2 deletions tests/parity_baseline.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ en tn measure 14 21
en tn money 71 71
en tn normalize_with_audio 40 58
en tn ordinal 27 27
en tn punctuation 41 63
en tn punctuation_match_input 5 13
en tn punctuation 42 63
en tn punctuation_match_input 6 13
en tn range 20 20
en tn roman 4 4
en tn serial 29 32
Expand Down
Loading