File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
fnlp-core/src/test/java/org/fnlp/util
fnlp-train/src/main/java/org/fnlp/train/parsing Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,5 @@ public static void setUpBeforeClass() throws Exception {
20
20
public static void tearDownAfterClass () throws Exception {
21
21
}
22
22
23
-
24
-
25
23
26
24
}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public static void main(String[] args) throws Exception {
59
59
//处理测试数据
60
60
FNLPCorpus corpust = new FNLPCorpus ();
61
61
//读自有数据
62
- // corpust.read(datapath + "/FNLPDATA/WeiboFTB(v1.0)-test.dat", null);
62
+ corpust .read (datapath + "/FNLPDATA/WeiboFTB(v1.0)-test.dat" , null );
63
63
corpust .writeOne (testfile );
64
64
65
65
TreeSet <String > set2 = corpus .getAllRelations ();
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public static void main(String[] args) throws Exception {
38
38
eval ();
39
39
40
40
bw .println ("优化" );
41
- float thres = 0.00001f ;
41
+ float thres = 1.0E-5f ;
42
42
bw .println (thres );
43
43
44
44
ModelOptimization op = new ModelOptimization (thres );
@@ -48,7 +48,7 @@ public static void main(String[] args) throws Exception {
48
48
/////////////////////////////////////////
49
49
50
50
bw .println ("优化" );
51
- thres = 0.001f ;
51
+ thres = 1.0E-4f ;
52
52
bw .println (thres );
53
53
op = new ModelOptimization (thres );
54
54
op .optimizeDep (model );
You can’t perform that action at this time.
0 commit comments