Skip to content

Commit

Permalink
Add \s back to delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzzy authored and inukshuk committed Jan 11, 2024
1 parent c3c4f53 commit d360a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/anystyle/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Parser < ParserCore
compact: true,
threads: 4,
separator: /(?:\r?\n)+/,
delimiter: /\p{Space_Separator}+|([\uFF01-\uFF64]|。|、)/,
delimiter: /(\s|\p{Space_Separator})+|([\uFF01-\uFF64]|。|、)/,
format: :hash,
training_data: File.join(RES, 'parser', 'core.xml')
}
Expand Down

0 comments on commit d360a47

Please sign in to comment.