Extend uncertainty helper with more terms

This commit is contained in:
Joshua Ramon Enslin 2023-02-01 15:01:24 +01:00
parent 6d40ae4c83
commit 446c5d26f4
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 3 additions and 1 deletions

View File

@ -845,7 +845,7 @@ final class NodaTimeSplitter {
}
}
if (\preg_match("/^(Ab|Seit|seit)\ /", $datum)) {
if (\preg_match("/^(Ab|ab|Seit|seit)\ /", $datum)) {
if (($spacePos = \strpos($datum, " ")) === false) {
return [];
}

View File

@ -80,6 +80,7 @@ final class NodaUncertaintyHelper {
"circa ",
"gegen ",
"um ",
"Um ",
"verm. ",
"Verm. ",
"vermtl. ",
@ -103,6 +104,7 @@ final class NodaUncertaintyHelper {
" (vermutl.)",
" körül",
", um",
" (um)",
];
/**