fix(parser): remove mandatory period requirement for sign text
This commit is contained in:
@@ -58,11 +58,6 @@ public class SignParser {
|
|||||||
// concatenate all lines with spaces
|
// concatenate all lines with spaces
|
||||||
String fullText = String.join(" ", lines);
|
String fullText = String.join(" ", lines);
|
||||||
|
|
||||||
// REQUIREMENT: must contain "." to be parsed as a shop
|
|
||||||
if (!fullText.contains(".")) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// normalize text
|
// normalize text
|
||||||
String normalized = normalize(fullText);
|
String normalized = normalize(fullText);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user