修复jcseg转friso词库工具语素自由度未添加bug.

This commit is contained in:
狮子的魂 2013-12-08 14:00:49 +08:00
parent 4ec07c6319
commit 6cfc9fbdbc

View File

@ -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();