Skip to content

Commit ad37f2a

Browse files
committed
Add #number as an allowed continuation after ABBREV3. Addresses #1396
1 parent 2852da8 commit ad37f2a

File tree

2 files changed

+50630
-50618
lines changed

2 files changed

+50630
-50618
lines changed

src/edu/stanford/nlp/process/PTBLexer.flex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ CP1252_MISC_SYMBOL = [\u0086\u0087\u0089\u0095\u0098\u0099]
11291129
}
11301130

11311131
/* Special case to get ca., fig. or Prop. before numbers */
1132-
<YyNotTokenizePerLine>{ABBREV3}/{SPACENL}?{DIGIT} {
1132+
<YyNotTokenizePerLine>{ABBREV3}/{SPACENL}?{HASHES}?{DIGIT} {
11331133
return processAbbrev3();
11341134
}
11351135
<YyTokenizePerLine>{ABBREV3}/{SPACE}?{DIGIT} {

0 commit comments

Comments
 (0)