【宮保拼音】Wiki 上線

223 views
Skip to first unread message

弓辰

unread,
Aug 12, 2012, 5:54:55 AM8/12/12
to 弓辰, rime-...@googlegroups.com
宮保拼音,英文名 Combo Pinyin,是一種利用標準美式鍵盤 並擊 輸入漢字的方法。

線上版本的【中州韻】和【小狼毫】已經集成了並擊輸入的功能,以及這款方案,但一直缺少一份詳盡的介紹。

今天寫成了這個頁面:
http://code.google.com/p/rimeime/wiki/ComboPinyin
算是把設計理念和具體方案完整地解析了一遍,也可以當作並擊打字的教程。總算對這件事有個交代了。

稍後,就要進入Rime下個版本的功能開發。我會列一份計劃出來。

謝謝

Ceeji Cheng

unread,
Aug 12, 2012, 12:05:51 PM8/12/12
to rime-...@googlegroups.com
竟然還有 並擊 著實大開眼界。
提一個建議:在該方法誕生初期,把這份輸入方案的說明轉換的更簡單易懂放在更廣泛的範圍內討論,以便藉助更多的力量完善。
畢竟一般只有很少人會看到本項目的 Google Code。

2012/8/12 弓辰 <chen...@gmail.com>

--
 
 
 



--
Ceeji Cheng
http://ceeji.net/

Morit.Chen

unread,
Oct 12, 2012, 12:32:00 PM10/12/12
to rime-...@googlegroups.com
各位:

    今晚抽空在看https://code.google.com/p/rimeime/source/browse/trunk/weasel/BuildInstructions.txt中 的关于小狼毫在win32下编译的指导头档,其中关于编译boost的部分,没有看明白。
** Build Boost

cd \code\boost_1_47_0
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static address-model=64 --stagedir=stage_x64 stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread


在boost_1_47_0的代码头件夹下,执行bjam命令时,一直报错。

D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0>bjam
'bjam' is not recognized as an internal or external command,
operable program or batch file.

提示这个命令不存在。

请问bjam这是一个什么命令?还需要外安装第三方工具吗?


感谢

Wish

unread,
Oct 12, 2012, 12:34:16 PM10/12/12
to rime-...@googlegroups.com
tools\build\v2
下面是bjam的源码,下面有个bootstrap.bat 在 Developer Command 下运行一下应该就可以生成bjam了。
具体记不太清了,你试试吧……

--
 
 
 

Morit.Chen

unread,
Oct 12, 2012, 12:40:51 PM10/12/12
to rime-...@googlegroups.com
������ Developer Command ����ʲô��˼������dos��������

�ղ�ִ����һ�£� ���F�������־��θ�����������


D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0\tools\build\v2>boo
tstrap.bat
Bootstrapping the build engine

Failed to bootstrap the build engine
Please consult bootstrap.log for furter diagnostics.

�� 2012/10/13 0:34, Wish �:
tools\build\v2
������bjam��Դ�룬�����и�bootstrap.bat �� Developer Command ������һ��Ӧ�þͿ������bjam�ˡ�
����Dz�̫���ˣ������԰ɡ���

On Sat, Oct 13, 2012 at 12:32 AM, Morit.Chen <jianming....@gmail.com> wrote:
���

    �������ڿ�https://code.google.com/p/rimeime/source/browse/trunk/weasel/BuildInstructions.txt�� �Ĺ���С�Ǻ���win32�±����ָ��ͷ�������й��ڱ���boost�IJ��֣�û�п����ס�
** Build Boost

cd \code\boost_1_47_0
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static address-model=64 --stagedir=stage_x64 stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread


��boost_1_47_0�Ĵ���ͷ�����£�ִ��bjam����ʱ��һֱ���?


D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0>bjam
'bjam' is not recognized as an internal or external command,
operable program or batch file.

��ʾ���������ڡ�

����bjam����һ��ʲô�������Ҫ�ⰲװ�������


��л
--
 
 
 

--
 
 
 

bootstrap.log

Wish

unread,
Oct 12, 2012, 12:47:28 PM10/12/12
to rime-...@googlegroups.com
你现在的这个错误应该是PATH之类没有设置好,Developer Command 的意思就是打开 VS2010 的开发者命令行,你在开始菜单里找找,一定有的。命令行开好后在里面运行这个bat,直接双击估计是不行了。

On Sat, Oct 13, 2012 at 12:40 AM, Morit.Chen <jianming....@gmail.com> wrote:
请问在 Developer Command 下是什么意思?是在dos窗口下吗?

刚才执行了一下, 出現如错误。日志如何附件中所述。



D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0\tools\build\v2>boo
tstrap.bat
Bootstrapping the build engine

Failed to bootstrap the build engine
Please consult bootstrap.log for furter diagnostics.

于 2012/10/13 0:34, Wish 写道:
tools\build\v2
下面是bjam的源码,下面有个bootstrap.bat 在 Developer Command 下运行一下应该就可以生成bjam了。
具体记不太清了,你试试吧……

On Sat, Oct 13, 2012 at 12:32 AM, Morit.Chen <jianming....@gmail.com> wrote:
各位:

    今晚抽空在看https://code.google.com/p/rimeime/source/browse/trunk/weasel/BuildInstructions.txt中 的关于小狼毫在win32下编译的指导头档,其中关于编译boost的部分,没有看明白。
** Build Boost

cd \code\boost_1_47_0
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static address-model=64 --stagedir=stage_x64 stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread


在boost_1_47_0的代码头件夹下,执行bjam命令时,一直报错。


D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0>bjam
'bjam' is not recognized as an internal or external command,
operable program or batch file.

提示这个命令不存在。

请问bjam这是一个什么命令?还需要外安装第三方工具吗?


感谢
--
 
 
 

--
 
 
 

--
 
 
 

Morit.Chen

unread,
Oct 12, 2012, 12:52:16 PM10/12/12
to rime-...@googlegroups.com
�õģ��������ԡ�

�����⣬����̴�ҡ�

���

�� 2012/10/13 0:47, Wish �:
�����ڵ��������Ӧ����PATH֮��û�����úã�Developer Command ����˼���Ǵ� VS2010 �Ŀ����������У����ڿ�ʼ�˵������ң�һ���еġ������п��ú��������������bat��ֱ��˫�������Dz����ˡ�

On Sat, Oct 13, 2012 at 12:40 AM, Morit.Chen <jianming....@gmail.com> wrote:
������ Developer Command ����ʲô��˼������dos��������

�ղ�ִ����һ�£� ���F�������־��θ�����������


D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0\tools\build\v2>boo
tstrap.bat
Bootstrapping the build engine

Failed to bootstrap the build engine
Please consult bootstrap.log for furter diagnostics.

�� 2012/10/13 0:34, Wish �:
tools\build\v2
������bjam��Դ�룬�����и�bootstrap.bat �� Developer Command ������һ��Ӧ�þͿ������bjam�ˡ�
����Dz�̫���ˣ������԰ɡ���

On Sat, Oct 13, 2012 at 12:32 AM, Morit.Chen <jianming....@gmail.com> wrote:
���

    �������ڿ�https://code.google.com/p/rimeime/source/browse/trunk/weasel/BuildInstructions.txt�� �Ĺ���С�Ǻ���win32�±����ָ��ͷ�������й��ڱ���boost�IJ��֣�û�п����ס�
** Build Boost

cd \code\boost_1_47_0
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static address-model=64 --stagedir=stage_x64 stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread


��boost_1_47_0�Ĵ���ͷ�����£�ִ��bjam����ʱ��һֱ���?

D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0>bjam
'bjam' is not recognized as an internal or external command,
operable program or batch file.

��ʾ���������ڡ�

����bjam����һ��ʲô�������Ҫ�ⰲװ�������


��л
--
 
 
 

--
 
 
 

--
 
 
 

--
 
 
 

Morit.Chen

unread,
Oct 14, 2012, 3:11:27 AM10/14/12
to rime-...@googlegroups.com
��ã�

    ǰ����붼���ˣ�������Kyoto Cabinetʱ�������⡣

������������vc 2010 path����û�������ã���ֻ���������ͷ���������������Ȼ�鷳�㣬���������á�

���������ǣ���build
Kyoto Cabinet���?

cd \code\kyotocabinet-1.2.70
nmake -f VCmakefile
nmake -f VCmakefile binpkg
move kcwin32 \code\

PS C:\Program Files\Microsoft Visual Studio 10.0\vc\bin> .\nmake.exe -f D:\work-station\RIMEIME\build\kyotocabinet\kyoto
cabinet-1.2.70\VCmakefile

Microsoft (R) ����ά��ʵ�ù��� 10.00.30319.01 ��
��Ȩ����(C) Microsoft Corporation����������Ȩ��

NMAKE : fatal error U1073: ��֪�������ɡ�kccommon.h��
Stop.
PS C:\Program Files\Microsoft Visual Studio 10.0\vc\bin> .\nmake.exe -f D:\work-station\RIMEIME\build\kyotocabinet\kyoto
cabinet-1.2.70\VCmakefile binpkg

Microsoft (R) ����ά��ʵ�ù��� 10.00.30319.01 ��
��Ȩ����(C) Microsoft Corporation����������Ȩ��

        rd kcwin32 /S /Q > NUL: 2>&1
        md kcwin32
Access is denied.
NMAKE : fatal error U1077: ��md��: ���ش��롰0x1��
Stop.


 ����ְ�æ��λһ�£������Ҷ�û�иĹ�






�� 2012/10/13 0:47, Wish �:
�����ڵ��������Ӧ����PATH֮��û�����úã�Developer Command ����˼���Ǵ� VS2010 �Ŀ����������У����ڿ�ʼ�˵������ң�һ���еġ������п��ú��������������bat��ֱ��˫�������Dz����ˡ�

On Sat, Oct 13, 2012 at 12:40 AM, Morit.Chen <jianming....@gmail.com> wrote:
������ Developer Command ����ʲô��˼������dos��������

�ղ�ִ����һ�£� ���F�������־��θ�����������


D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0\tools\build\v2>boo
tstrap.bat
Bootstrapping the build engine

Failed to bootstrap the build engine
Please consult bootstrap.log for furter diagnostics.

�� 2012/10/13 0:34, Wish �:
tools\build\v2
������bjam��Դ�룬�����и�bootstrap.bat �� Developer Command ������һ��Ӧ�þͿ������bjam�ˡ�
����Dz�̫���ˣ������԰ɡ���

On Sat, Oct 13, 2012 at 12:32 AM, Morit.Chen <jianming....@gmail.com> wrote:
���

    �������ڿ�https://code.google.com/p/rimeime/source/browse/trunk/weasel/BuildInstructions.txt�� �Ĺ���С�Ǻ���win32�±����ָ��ͷ�������й��ڱ���boost�IJ��֣�û�п����ס�
** Build Boost

cd \code\boost_1_47_0
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static address-model=64 --stagedir=stage_x64 stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread


��boost_1_47_0�Ĵ���ͷ�����£�ִ��bjam����ʱ��һֱ���?

D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0>bjam
'bjam' is not recognized as an internal or external command,
operable program or batch file.

��ʾ���������ڡ�

����bjam����һ��ʲô�������Ҫ�ⰲװ�������


��л
--
 
 
 

--
 
 
 

--
 
 
 

--
 
 
 

Morit.Chen

unread,
Oct 14, 2012, 3:41:51 AM10/14/12
to rime-...@googlegroups.com
��Һã�


    ǰ����붼���ˣ�������Kyoto Cabinetʱ�������⡣

������������vc 2010 path����û�������ã���ֻ���������ͷ���������������Ȼ�鷳�㣬���������á�

���������ǣ���build
Kyoto Cabinet���?

cd \code\kyotocabinet-1.2.70
nmake -f VCmakefile
nmake -f VCmakefile binpkg
move kcwin32 \code\

PS C:\Program Files\Microsoft Visual Studio 10.0\vc\bin> .\nmake.exe -f D:\work-station\RIMEIME\build\kyotocabinet\kyoto
cabinet-1.2.70\VCmakefile

Microsoft (R) ����ά��ʵ�ù��� 10.00.30319.01 ��
��Ȩ����(C) Microsoft Corporation����������Ȩ��

NMAKE : fatal error U1073: ��֪�������ɡ�kccommon.h��
Stop.
PS C:\Program Files\Microsoft Visual Studio 10.0\vc\bin> .\nmake.exe -f D:\work-station\RIMEIME\build\kyotocabinet\kyoto
cabinet-1.2.70\VCmakefile binpkg

Microsoft (R) ����ά��ʵ�ù��� 10.00.30319.01 ��
��Ȩ����(C) Microsoft Corporation����������Ȩ��

        rd kcwin32 /S /Q > NUL: 2>&1
        md kcwin32
Access is denied.
NMAKE : fatal error U1077: ��md��: ���ش��롰0x1��
Stop.


 ����ְ�æ��λһ�£������Ҷ�û�иĹ�



�� 2012/10/14 15:11, Morit.Chen �:

Moritz Qin

unread,
Oct 15, 2012, 12:10:16 PM10/15/12
to rime-...@googlegroups.com
没有人回覆?

2012/10/14 Morit.Chen <jianming....@gmail.com>
大家好:


    前面编译都过了,但编译Kyoto Cabinet时出了问题。

我试着设置了vc 2010 path,但没有起做用,我只能在命令的头件夹下面操作,虽然麻烦点,但还是能用。

现在问题是,在build
Kyoto Cabinet报错。


cd \code\kyotocabinet-1.2.70
nmake -f VCmakefile
nmake -f VCmakefile binpkg
move kcwin32 \code\

PS C:\Program Files\Microsoft Visual Studio 10.0\vc\bin> .\nmake.exe -f D:\work-station\RIMEIME\build\kyotocabinet\kyoto
cabinet-1.2.70\VCmakefile

Microsoft (R) 程序维护实用工具 10.00.30319.01 版
版权所有(C) Microsoft Corporation。保留所有权利。

NMAKE : fatal error U1073: 不知道如何生成“kccommon.h”

Stop.
PS C:\Program Files\Microsoft Visual Studio 10.0\vc\bin> .\nmake.exe -f D:\work-station\RIMEIME\build\kyotocabinet\kyoto
cabinet-1.2.70\VCmakefile binpkg

Microsoft (R) 程序维护实用工具 10.00.30319.01 版
版权所有(C) Microsoft Corporation。保留所有权利。


        rd kcwin32 /S /Q > NUL: 2>&1
        md kcwin32
Access is denied.
NMAKE : fatal error U1077: “md”: 返回代码“0x1”
Stop.


 求高手帮忙定位一下,代码我都没有改过。



于 2012/10/14 15:11, Morit.Chen 写道:




于 2012/10/13 0:47, Wish 写道:
你现在的这个错误应该是PATH之类没有设置好,Developer Command 的意思就是打开 VS2010 的开发者命令行,你在开始菜单里找找,一定有的。命令行开好后在里面运行这个bat,直接双击估计是不行了。

On Sat, Oct 13, 2012 at 12:40 AM, Morit.Chen <jianming....@gmail.com> wrote:
请问在 Developer Command 下是什么意思?是在dos窗口下吗?

刚才执行了一下, 出現如错误。日志如何附件中所述。


D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0\tools\build\v2>boo
tstrap.bat
Bootstrapping the build engine

Failed to bootstrap the build engine
Please consult bootstrap.log for furter diagnostics.

于 2012/10/13 0:34, Wish 写道:
tools\build\v2
下面是bjam的源码,下面有个bootstrap.bat 在 Developer Command 下运行一下应该就可以生成bjam了。
具体记不太清了,你试试吧……

On Sat, Oct 13, 2012 at 12:32 AM, Morit.Chen <jianming....@gmail.com> wrote:
各位:

    今晚抽空在看https://code.google.com/p/rimeime/source/browse/trunk/weasel/BuildInstructions.txt中 的关于小狼毫在win32下编译的指导头档,其中关于编译boost的部分,没有看明白。
** Build Boost

cd \code\boost_1_47_0
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread
bjam toolset=msvc-10.0 variant=release link=static threading=multi runtime-link=static address-model=64 --stagedir=stage_x64 stage --with-date_time --with-filesystem --with-system --with-regex --with-signals --with-thread


在boost_1_47_0的代码头件夹下,执行bjam命令时,一直报错。


D:\work-station\RIMEIME\build\boost\boost_1_47_0\boost_1_47_0>bjam
'bjam' is not recognized as an internal or external command,
operable program or batch file.

提示这个命令不存在。

请问bjam这是一个什么命令?还需要外安装第三方工具吗?


感谢
--
 
 
 

--
 
 
 

--
 
 
 

--
 
 
 



弓辰

unread,
Oct 15, 2012, 12:23:59 PM10/15/12
to rime-...@googlegroups.com

有。看 wish 的回复。要cd到源码目录执行。

> --
>  
>  
>  

Reply all
Reply to author
Forward
0 new messages