Skip to content

Commit 577e23a

Browse files
author
cxzhu
committed
Merge branch 'master' of https://github.com/xpqiu/fnlp
2 parents 72d4223 + 48a0948 commit 577e23a

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

fnlp-core/src/test/java/org/fnlp/util/MyFilesTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,5 @@ public static void setUpBeforeClass() throws Exception {
2020
public static void tearDownAfterClass() throws Exception {
2121
}
2222

23-
24-
2523

2624
}

fnlp-train/src/main/java/org/fnlp/train/parsing/DepPrepare.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static void main(String[] args) throws Exception {
5959
//处理测试数据
6060
FNLPCorpus corpust = new FNLPCorpus();
6161
//读自有数据
62-
// corpust.read(datapath + "/FNLPDATA/WeiboFTB(v1.0)-test.dat", null);
62+
corpust.read(datapath + "/FNLPDATA/WeiboFTB(v1.0)-test.dat", null);
6363
corpust.writeOne(testfile);
6464

6565
TreeSet<String> set2 = corpus.getAllRelations();

fnlp-train/src/main/java/org/fnlp/train/parsing/DepRun.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void main(String[] args) throws Exception {
3838
eval();
3939

4040
bw.println("优化");
41-
float thres = 0.00001f;
41+
float thres = 1.0E-5f;
4242
bw.println(thres);
4343

4444
ModelOptimization op = new ModelOptimization(thres);
@@ -48,7 +48,7 @@ public static void main(String[] args) throws Exception {
4848
/////////////////////////////////////////
4949

5050
bw.println("优化");
51-
thres = 0.001f;
51+
thres = 1.0E-4f;
5252
bw.println(thres);
5353
op = new ModelOptimization(thres);
5454
op.optimizeDep(model);

0 commit comments

Comments
 (0)