Skip to content

Commit

Permalink
Win10微软拼音自定义短语导入时支持词频(位置)
Browse files Browse the repository at this point in the history
  • Loading branch information
studyzy committed Aug 31, 2017
1 parent fc43e2a commit 2a5908a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion IME WL Converter/IME WL Converter/ConstantString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static class ConstantString
public const string JIDIAN_ZHENGMA = "极点郑码";
public const string XIAOYA_WUBI = "小鸭五笔";
public const string MS_PINYIN = "微软拼音";
public const string WIN10_MS_PINYIN = "Win10微软拼音";
public const string WIN10_MS_PINYIN = "Win10微软拼音(自定义短语)";
public const string XIAOXIAO = "小小输入法";
public const string XIAOXIAO_ERBI = "二笔输入法";
public const string FIT = "FIT输入法";
Expand Down
2 changes: 1 addition & 1 deletion IME WL Converter/IME WL Converter/IME/Win10MsPinyin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public IList<string> Export(WordLibraryList wlList)
var wl = wlList[i];
var hanzi_offset = 8 +8+ wl.GetPinYinLength()*2 + 2;
bw.Write(BitConverter.GetBytes((short) hanzi_offset));
bw.Write((byte) 0x1); //1是詞頻
bw.Write((byte) wl.Rank); //1是詞頻
bw.Write((byte) 0x6); //6不知道
bw.Write(BitConverter.GetBytes(0x00000000));//Unknown
bw.Write(BitConverter.GetBytes(0xE679CD20));//Unknown
Expand Down
4 changes: 2 additions & 2 deletions IME WL Converter/IME WL Converter/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.2.1.0")]
[assembly: AssemblyFileVersion("2.2.1.0")]
[assembly: AssemblyVersion("2.2.2.0")]
[assembly: AssemblyFileVersion("2.2.2.0")]

0 comments on commit 2a5908a

Please sign in to comment.