Skip to content

Commit

Permalink
thanks we have tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Mar 29, 2024
1 parent a2005c3 commit 014d82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/grobid/core/utilities/WordsToNumber.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class WordsToNumber {

private final Pattern NUMERIC_PATTERN = Pattern.compile("\\b(?:\\d+(?:[.,]\\d+)*|\\d+[.,]?\\d*\\b)\\b", Pattern.CASE_INSENSITIVE);
private final Pattern OUT_OF_PATTERN_NUMBERS = Pattern.compile("([0-9.,]+)( out)? of ([a-z]+ )?([0-9.,]+)", Pattern.CASE_INSENSITIVE);
private final Pattern OUT_OF_PATTERN_ALPHABETIC = Pattern.compile("([A-Za-z ]+) ( out)? of ([a-z]+ )?([A-Za-z]+)", Pattern.CASE_INSENSITIVE);
private final Pattern OUT_OF_PATTERN_ALPHABETIC = Pattern.compile("([A-Za-z ]+)( out)? of ([a-z]+ )?([A-Za-z]+)", Pattern.CASE_INSENSITIVE);

private static List<String> bases = null;
private static List<String> tens = null;
Expand Down

0 comments on commit 014d82b

Please sign in to comment.