mirror of
https://gitee.com/lionsoul/friso.git
synced 2024-11-29 17:57:38 +08:00
修复jcseg转friso词库工具语素自由度未添加bug.
This commit is contained in:
parent
4ec07c6319
commit
6cfc9fbdbc
@ -71,9 +71,18 @@ public class JFTools {
|
|||||||
sb.append(splits[3]);
|
sb.append(splits[3]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Append the single word degree.
|
||||||
|
if ( splits.length > 4 ) {
|
||||||
|
if ( sb.length() > 0 )
|
||||||
|
sb.append('/');
|
||||||
|
sb.append(splits[4]);
|
||||||
|
}
|
||||||
|
|
||||||
//Write the item
|
//Write the item
|
||||||
writer.write(sb.toString());
|
writer.write(sb.toString());
|
||||||
writer.write('\n');
|
writer.write('\n');
|
||||||
|
sb = null;
|
||||||
|
line = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
reader.close();
|
reader.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user