Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未收錄部首回報 #26

Open
leo424y opened this issue Jun 23, 2016 · 14 comments
Open

未收錄部首回報 #26

leo424y opened this issue Jun 23, 2016 · 14 comments

Comments

@leo424y
Copy link
Collaborator

leo424y commented Jun 23, 2016

感謝開發者費心提供這麼棒的工具,敝人覺得用您的系統造字很有趣,在g0v hackpad上開啟一個頁面 http://j.mp/ctaiwanc ,並整理建議您收錄的部件於 http://j.mp/ctaiwanl 敬請播冗協助更新,再次感謝!

@sih4sing5hong5
Copy link
Owner

謝謝嘍,我當初寫的時候也沒想到現在會有人要用XDD

想問你的未收錄部首是指展示頁的部首不夠多嗎?
還是指有些部首打進去不會顯示?

@MGdesigner
Copy link
Collaborator

MGdesigner commented Jun 23, 2016

我後來有跟leo424y聊,明白他的意思是:發現有很多應該要可以作包圍或者半包圍的部件,並沒有正確反應。

例如說⿸𠂆火,出來結果不正確。我知道原因是因為包圍的處理,這不像左右上下組核可以全自動,必須一個一個去coding、調部件拼合時的參數等等,所以我跟他討論了以後,他那邊願意跳坑,來整理那些需要處理的部件,包含:

1.可以作包圍的部件有哪些
2.上下、左右組合時,部件會發生「變體」的狀況,例如左右組時,「正」的最後一筆會變體成斜的(背後要偷換字形)

然後再來改code,來讓新的部件也能作包圍組
當然,可能有更好的機制,例如改成server會去讀額外的設定檔.csv,csv裡面就是各種包圍字形調變的設定,這樣可以把這件事分工出去,讓其他programmer(不同語言的)可以寫調整工具,然後讓非programmer也能作這件事情。

@sih4sing5hong5
Copy link
Owner

sih4sing5hong5 commented Jun 23, 2016

我現在是直接把部件寫在src/cc/layouttools/*****Surrounder
所以沒加到、漏勾的部件都沒辦法用
親像你說的𠂆,其實加進就行了

我認同把這些部件做成一個設定檔
可以先用csv整理,要用的時候再轉成json

{
    'LeftTopSurrounder': ['厂', '广', '疒', '尸'],
    'LeftBottomSurrounder': ['辶', '廴'],
    'RightTopSurronder': ['气'],
    'RightTopHookSurronder': ['勹', '弓'],
}

要注意的是RightTopSurronderRightTopHookSurronder都是用到
不過他們的做法(參數)是不一樣的
目前程式內部的分類:

    /** 左右兩部件拼合時的調整工具 */
    protected HorizontalAssembler 水平工具;
    /** 上下兩部件拼合時的調整工具 */
    protected VerticalAssembler 垂直工具;
    protected UpHatSurrounder 上蓋工具;
    protected LeftBottomSurrounder 左下工具;
    protected LeftTopSurrounder 左上工具;
    protected RightTopSurronder 右上工具;
    protected LRTDoorSurronder 左右上內勾工具;
    protected LRBSurronder 左右下三邊工具;
    protected TBLSurrounder 上下左三邊工具;
    protected RightTopHookSurronder 右上內勾工具;
    protected FullSurronder 四面工具;

所以照理講𠂆不需要人工調參數,因為如果他需要調參數
代表他要獨立一類(他看起來沒什麼特別的XDD)

@leo424y
Copy link
Collaborator Author

leo424y commented Jun 24, 2016

哇嗚! 初次體驗開源,好驚喜,我將會學習把設定檔更新,7月萌典松會去請教大神們,謝謝您們的附出。台灣字萬歲~ 不知道方不方便取得修改 Layouttool 的權限? 感謝您。

@sih4sing5hong5
Copy link
Owner

歡迎直接改呀 XDD

@leo424y
Copy link
Collaborator Author

leo424y commented Jun 25, 2016

好像需要權限耶 方便把我加入嗎? leo424y@gmail.com

薛丞宏 notifications@github.com於 2016年6月24日 週五,19:59寫道:

歡迎直接改呀 XDD


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABUfyr7ePMZrKLKT-kj1cwF_ZSAluGSYks5qO8aHgaJpZM4I8hW1
.

@sih4sing5hong5
Copy link
Owner

你先試試開另外一個git的branch
然後push上來github
網頁會有New pull request上來

這樣大家就互相知道改了什麼

@leo424y
Copy link
Collaborator Author

leo424y commented Jun 25, 2016

@leo424y
Copy link
Collaborator Author

leo424y commented Jun 25, 2016

抱歉,還是不行說"You may not have permission to access han3_ji7_tsoo1_kian3. Check Preferences to make sure you’re still logged in."

@sih4sing5hong5
Copy link
Owner

我邀請了,再麻煩你試試

@leo424y
Copy link
Collaborator Author

leo424y commented Jun 26, 2016

有了,原來是我沒FORK初入開源,感謝您費心指導!

@sih4sing5hong5
Copy link
Owner

等我研究完 #27
我們再來改程式 ~~

@sih4sing5hong5
Copy link
Owner

@leo424y : 感謝 @MGdesigner 把程式整理好了,
我把意傳上的程式更新了
之前你加的部首都能用了

        支援包圍部件.add("厃");
        支援包圍部件.add("屵");
        支援包圍部件.add("龵");

http://漢字.意傳.台灣/%E2%BF%B4%E9%BE%B5%E7%9B%AE.png?%E5%AD%97%E9%AB%94=%E5%AE%8B%E9%AB%94
不過有點醜就是了 @@

@leo424y
Copy link
Collaborator Author

leo424y commented Jul 14, 2016

敝人出次加入開源計劃,感謝各位前輩貢獻!我接下來會繼續用他創造新字,創造新文化!

薛丞宏 notifications@github.com於 2016年7月13日 週三,10:13寫道:

@leo424y https://github.com/leo424y : 感謝 @MGdesigner
https://github.com/MGdesigner 把程式整理好了,
我把意傳
http://%E6%84%8F%E5%82%B3.%E5%8F%B0%E7%81%A3/%E7%B7%9A%E4%B8%8A%E7%B5%84%E5%AD%97
上的程式更新了
之前你加的部首都能用了

    支援包圍部件.add("厃");
    支援包圍部件.add("屵");
    支援包圍部件.add("龵");

http://漢字.意傳.台灣/%E2%BF%B4%E9%BE%B5%E7%9B%AE.png?%E5%AD%97%E9%AB%94=%E5%AE%8B%E9%AB%94
http://%E6%BC%A2%E5%AD%97.%E6%84%8F%E5%82%B3.%E5%8F%B0%E7%81%A3/%E2%BF%B4%E9%BE%B5%E7%9B%AE.png?%E5%AD%97%E9%AB%94=%E5%AE%8B%E9%AB%94
不過有點醜就是了 @@


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABUfyryhOPNqjPEvKaQ1M4mgZ8I_6iocks5qVEnNgaJpZM4I8hW1
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants