FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

机构名识别增加一个模式串:https://github.com/hankcs/HanLP/issues/473 · javaUsers/HanLP@6cd2c01 · GitHub

forked from hankcs/HanLP

Commit 6cd2c01

Browse files
committed
机构名识别增加一个模式串:hankcs#473
1 parent 27f52b7 commit 6cd2c01

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎data/dictionary/organization/nt.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17215,6 +17215,7 @@ co D 1
1721517215
迈出 B 1
1721617216
迎 B 2 C 1
1721717217
迎合 A 1
17218+
迎宾 C 1
1721817219
迎宾路 I 1
1721917220
迎宾馆 D 1
1722017221
迎战 A 5 B 2

‎src/main/java/com/hankcs/hanlp/dictionary/nt/OrganizationDictionary.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ private static void addKeyword(TreeMap<String, String> patternMap, String keywor
992992
addKeyword(patternMap, "GGFCCCD");
993993
addKeyword(patternMap, "GGFCCD");
994994
addKeyword(patternMap, "GGFCD");
995+
addKeyword(patternMap, "GGFCDD");
995996
addKeyword(patternMap, "GGFD");
996997
addKeyword(patternMap, "GGFDD");
997998
addKeyword(patternMap, "GGFFCD");

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL