| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a565ffb commit 0c02ef1
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | ,A,B,C,D,E,F,G,K,L,M,S,U,V,X,Z | |
| 2 | - A,20637728,10000,0,0,0,0,0,195129,0,0,0,453,0,0,0 | ||
| 2 | + A,20637728,0,0,0,0,0,0,195129,0,0,0,453,0,0,0 | ||
| 3 | 3 | B,0,1,155650,0,94221,0,2964,0,19,0,0,24,0,0,43757 | |
| 4 | 4 | C,0,0,0,155393,0,0,0,0,0,0,0,47,461,0,0 | |
| 5 | 5 | D,2409,3427,0,0,0,0,0,0,141568,16990,0,0,0,63,0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,8 +76,12 @@ public static boolean Recognition(List<Vertex> pWordSegResult, WordNet wordNetOp | |||
| 76 | 76 | public static List<EnumItem<NR>> roleObserve(List<Vertex> wordSegResult) | |
| 77 | 77 | { | |
| 78 | 78 | List<EnumItem<NR>> tagList = new LinkedList<EnumItem<NR>>(); | |
| 79 | - for (Vertex vertex : wordSegResult) | ||
| 79 | + Iterator<Vertex> iterator = wordSegResult.iterator(); | ||
| 80 | + iterator.next(); | ||
| 81 | + tagList.add(new EnumItem<NR>(NR.A, NR.K)); // 始##始 A K | ||
| 82 | + while (iterator.hasNext()) | ||
| 80 | 83 | { | |
| 84 | + Vertex vertex = iterator.next(); | ||
| 81 | 85 | EnumItem<NR> nrEnumItem = PersonDictionary.dictionary.get(vertex.realWord); | |
| 82 | 86 | if (nrEnumItem == null) | |
| 83 | 87 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments