From c76b1ce96d5d48b2986560de11f6e54887d58030 Mon Sep 17 00:00:00 2001 From: Dao Hoang Son Date: Sun, 17 Sep 2023 21:55:10 +0700 Subject: [PATCH] Add parser translations: town, commune --- demo/parser/src/entity.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo/parser/src/entity.ts b/demo/parser/src/entity.ts index 1897d4f..0ed88e4 100644 --- a/demo/parser/src/entity.ts +++ b/demo/parser/src/entity.ts @@ -30,9 +30,11 @@ const typeGlue = "[ .:]*"; const typeTranslations: { [key: string]: string[] } = { tinh: ["province"], "thanh pho": ["city"], + "thi tran": ["town"], quan: ["district", "dist"], huyen: ["district", "dist"], phuong: ["ward"], + xa: ["commune"], }; const types: string[][] = [