Skip to content

Commit 26c7009

Browse files
committed
Fix conflict.
2 parents 6d1a33d + 0072c0f commit 26c7009

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ArticutAPI/Toolkit/localRE.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ def __init__(self, locale=None):
1313
self.TWaddPatDICT = {"countyPat" : "[^\s][^市]縣",
1414
"cityPat" : "[^是在於及、,\s]{1,2}市",
1515
"districtPat" : "那瑪夏區|[^市及、,\s]+?.社?區|[東西南北中]區",
16-
"townshipPat" : "(阿里山|三地門|太麻里)鄉|..鄉|..里(?!區)",
16+
"townshipPat" : "(阿里山|三地門|太麻里)鄉|..鄉|[^縣].里(?!區)",
1717
"townPat" : "[^\s][^\s]鎮",
1818
"villagePat" : "[^\s][^\s]新?村(?!路)",
1919
"neighborhoodPat": "(\s?[零一二三四五六七八九十廿卅0-9\d]+?\s?鄰)",
20-
"roadPat" : "市府路|市[政場]([北南中]|[1-7一二三四五六七]){0,2}路|市港[^\s]路|美村路|[新環村盛果]市[^\s]?[路街]|市民大道|市宅街|[埔菜美元西]市[路街]|(?<=[縣市區鄉鎮里村鄰])[^市區鄉鎮村路及鄰、,]{1,4}([路街]|大道)([零一二三四五六七八九十廿卅百0-9\d]+?街)?",
20+
"roadPat" : "市府路|市[政場]([北南中]|[1-7一二三四五六七]){0,2}路|市港[^\s]路|美村路|[新環村盛果]市[^\s]?[路街]|市民大道|市宅街|[埔菜美元西]市[路街]|(?<=[縣市區鄉鎮里村鄰])[^市區鄉鎮村路及鄰、,]{1,4}([路街](?!里)|大道)([零一二三四五六七八九十廿卅百0-9\d]+?街)?",
2121
"sectionPat" : "\s?[零一二三四五六七八九十廿卅百0-9\d]*?\s?段",
2222
"alleyPat" : "(國中|市場|新市.|([^縣市區鄉鎮里村路街段]{1,2}|鐵路)[零一二三四五六七八九十廿卅百0-9\d]*?|\s?[零一二三四五六七八九十廿卅百0-9\d]*?)\s?巷([零一二三四五六七八九十廿卅百0-9\d]*?\s?弄)?",
2323
"numberPat" : "(\s?[零一二三四五六七八九十廿卅百0-9\d]*?\s?[之\-]\s?)?\s?[零一二三四五六七八九十廿卅百0-9\d]*?\s?號([之\-]\s?[零一二三四五六七八九十廿卅百0-9\d]+?)?",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="ArticutAPI",
8-
version="1.2.0",
8+
version="1.2.1",
99
author="Droidtown Linguistic Tech. Co. Ltd.",
1010
author_email="info@droidtown.co",
1111
description="Articut NLP system provides not only finest results on Chinese word segmentaion (CWS), Part-of-Speech tagging (POS) and Named Entity Recogintion tagging (NER), but also the fastest online API service in the NLP industry.",

0 commit comments

Comments
 (0)