Skip to content

Commit 9ece90d

Browse files
committed
参数命名语义化
1 parent cd13131 commit 9ece90d

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/hankcs/hanlp/classification/corpus

1 file changed

+1
-1
lines changed

src/main/java/com/hankcs/hanlp/classification/corpus/IDataSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public interface IDataSet extends Iterable<Document>
6464
* @throws IOException
6565
*/
6666
IDataSet load(String folderPath, String charsetName) throws IllegalArgumentException, IOException;
67-
IDataSet load(String folderPath, String charsetName, double rate) throws IllegalArgumentException, IOException;
67+
IDataSet load(String folderPath, String charsetName, double percentage) throws IllegalArgumentException, IOException;
6868

6969
/**
7070
* 往训练集中加入一个文档

0 commit comments

Comments
 (0)