对照我们的 SQL 数据库地址列表检查客户地址,判断该地址是否存在于我们的数据库中。客户地址有不同的格式。
e.g:- 8455 W 23RD st OFFICE 4
8455 WEST 23RD st OFC 4
8455 WEST TWENTY-THIRD street OFC 4
如果我做字符串比较,我会得到bExist = False;
注意:- 我使用的是 C#,应用程序运行的服务器没有互联网连接。附加例如:-
APARTMENT APT
APARTMENT APARTMENT
BUILDING BLDG
BUILDING BUILDING
DEPARTMENT DEPT
DEPARTMENT DEPARTMENT
FLOOR FL
FLOOR FLOOR
HANGAR HNGR
HANGAR HANGAR
LOT LOT
OFFICE OFC
OFFICE OFFICE
PIER PIER
PIER PIER
ROOM RM
ROOM ROOM
SLIP SLIP
SPACE SPC
SPACE SPACE
STOP STOP
SUITE STE
SUITE SUITE
TRAILER TRLR
TRAILER TRAILER
UNIT UNIT
N NORTH
S SOUTH
E EAST
W WEST
NE NORTHEAST
SE SOUTHEAST
NW NORTHWEST
SW SOUTHWEST
NORTH NORTH
SOUTH SOUTH
EAST EAST
WEST WEST
NORTHEAST NORTHEAST
SOUTHEAST SOUTHEAST
NORTHWEST NORTHWEST
SOUTHWEST SOUTHWEST
NORTH EAST NORTHEAST
SOUTH EAST SOUTHEAST
NORTH WEST NORTHWEST
SOUTH WEST SOUTHWEST