[fix] abbreviations
This commit is contained in:
421531
src/scanner.c
421531
src/scanner.c
File diff suppressed because it is too large
Load Diff
@@ -137,9 +137,9 @@ apos_word = ("'"?({latinish_letter}+"'"){latinish_letter}+"'"?);
|
|||||||
ellipsis = ("\."{2,}|"\u2026");
|
ellipsis = ("\."{2,}|"\u2026");
|
||||||
|
|
||||||
acronym = ({letter}"\."){2,}{letter}?;
|
acronym = ({letter}"\."){2,}{letter}?;
|
||||||
multi_punct_abbreviation = ({letter}+"\.")+{letter}?;
|
multi_punct_abbreviation = ({letter}+"\.")+{letter}*;
|
||||||
|
|
||||||
abbrev_word = (({letter}|{possible_word_char})+"\.")+({letter}|{possible_word_char}*);
|
abbrev_word = (({letter}|{possible_word_char})+"\.")+({letter}|{possible_word_char})*;
|
||||||
|
|
||||||
hyphen_plus_abbreviation = ((({abbrev_word}|{any_word}){hyphen})+({abbrev_word}))|(({abbrev_word}|{any_word}){hyphen})*({abbrev_word}{hyphen})+(({abbrev_word}|{any_word}){hyphen})*({abbrev_word}|{any_word});
|
hyphen_plus_abbreviation = ((({abbrev_word}|{any_word}){hyphen})+({abbrev_word}))|(({abbrev_word}|{any_word}){hyphen})*({abbrev_word}{hyphen})+(({abbrev_word}|{any_word}){hyphen})*({abbrev_word}|{any_word});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user