Skip to content

Commit

Permalink
0104
Browse files Browse the repository at this point in the history
  • Loading branch information
osfans committed Jan 4, 2025
1 parent 38378e4 commit 2596058
Show file tree
Hide file tree
Showing 30 changed files with 16,397 additions and 7,795 deletions.
6 changes: 1 addition & 5 deletions app/src/main/java/com/osfans/mcpdict/DB.java
Original file line number Diff line number Diff line change
Expand Up @@ -794,12 +794,8 @@ public static int getSize(String lang) {
return Integer.parseInt(s);
}

private static String getLangType(String lang) {
return getFieldByLabel(lang, FIRST_FQ);
}

public static boolean isLang(String lang) {
return !TextUtils.isEmpty(getLangType(lang)) && !lang.contentEquals(HZ);
return !TextUtils.isEmpty(getFieldByLabel(lang, "方言島")) && !lang.contentEquals(HZ);
}

public static String[] getFqColumns() {
Expand Down
2 changes: 2 additions & 0 deletions tools/tables/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def getLangs(dicts, 參數, 省=None):
except Exception as e:
print(f"\t\t\t{e} {mod}")
continue
if d.pop("是否有人在做") != "已做":
print(f"{} 不是已做")
if "繁" not in d["繁簡"]: .simplified = 2
if d["地圖集二分區"] == None: d["地圖集二分區"] = ""
if "聯表列名" in d:
Expand Down
3 changes: 1 addition & 2 deletions tools/tables/_化州.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ class 表(_表):
"n":"n̩",
"":""
}
列序 = {"化州下江":1, "化州上江":2}

def (, ):
, yb, js = [0], [.列序[.簡稱]], [3]
, yb, js = [0], [.音列], [3]
if not yb: return
yb = yb.lstrip("又").replace("gv", "gw")
yb, sd = .分音(yb)
Expand Down
2 changes: 2 additions & 0 deletions tools/tables/_詳情.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def 加載(省):
錄入人 = normNames(["錄入人"])
維護人 = normNames(["維護人"])
推薦人 = normNames(["推薦人"])
是否有人在做 = ["是否有人在做"]
來源 = normSource(row[fields.index("來源")])
參考文獻 = ["參考文獻"]
版本 = normVer(["版本/更新時間"])
Expand Down Expand Up @@ -199,6 +200,7 @@ def 加載(省):
"錄入人":錄入人,
"維護人":維護人,
"推薦人":推薦人,
"是否有人在做":是否有人在做,
"來源": 來源,
"參考文獻":參考文獻,
"音系":音系,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ l [2]隆龙
k [1]弓宫恭供{~大人:供养父母,~大细:供养小孩;~猪:养猪;~电}[5]供{~□ioŋ1:上供}
[2]穷[6]共{一样,伓~:不一样}‖[10]□{□pin224~:簸箕}
h [1]胸{~前:胸脯}凶兇[2]熊雄□{~鱼:胖头鱼}
[1]雍{~正}{盖上泥土}[2]荣营{个~兵;国~}绒融茸容蓉{芙~花}榕[3]勇[5]拥{~护}[6]用‖[9]□{供~:上供}
[1]雍{~正}{盖上泥土}[2]荣营{个~兵;国~}绒融茸容蓉{芙~花}榕[3]勇[5]拥{~护}[6]用‖[9]□{供~:上供}
#
[2]□{~仔:母亲}[6]伓{不。本文中写作“伓”}唔{不}
#ŋ̍
Expand Down
438 changes: 438 additions & 0 deletions tools/tables/data/安福.tsv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ h [1]胎苔{毛~}[5]态替箅[6]稗
p [5]簸-[7]泼{活~}
m [2]磨-{~刀}[7]抹觅-[8]末袜
β [1]过-{菜老}[8]钹跋
t [5]带戴={爱~}㿃[6]大=
t [5]带戴={爱~}㿃[6]大
[3]彩采[5]蔡
l [2]才财裁[5]舵-待[6]赖大-[8]□{蟑螂}辣达
l [2]才财裁[5]舵-待[6][8]□{蟑螂}辣达
ts [1]灾栽-[3]宰载{年~}[5]再载{~货}[8]坐-
s [1]沙-[3]洒-[5]帅率[7]撒
k [1]乖[3]拐[5]盖-[7]割刮括葛
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ xɛ 6 44 恨
7 45 咳刻刻克黑赫核核
1 22 堪龕憨酣看刊鼾
2 21 含函寒韓
3 53 坎砍喊罕
3 53 坎砍罕
5 213 勘憾看漢
6 44 撼旱汗銲翰莧
7 45 喝合盒磕渴喝
Expand Down
440 changes: 0 additions & 440 deletions tools/tables/data/建瓯话同音字表2024-12-13.tsv

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ t [1]堆[3]短[5]带-对碓队
[1]拖-[2]槌锤-[3]腿[5]退蜕脱[6]袋-坠堕[7]锤-
l [2]雷擂[3]累{积~}蕊俨垒锐屡[5]□{塞}[6]累{连~}类内泪[7]箩-{鱼篓}水-{露~}
ts [1]锥追朘{男阴}[3]嘴=[5]最醉缀赘[7]嘴-{奶~:奶头}
tsʰ [1]炊推崔吹=[2]锤=[3]坐=喘[5]碎脆=粹瘁翠[6]罪
tsʰ [1]炊推崔吹=[2]锤=[3]坐-喘[5]碎脆=粹瘁翠[6]罪
s [1]鳃沙-[2]垂谁随隋髓=[3]水[5]岁=[6]睡=瑞穗癞-[7]螺-脶
k [1]阶-{楼~}圭闺规傀龟窥归[3]鬼轨诡傀[5]盖-{~洋:地名}贵桂绘会{~计}溃桧
[1]开-亏魁盔-[2]奎逵葵癸[5]块愧[6]柜
Expand Down
Loading

0 comments on commit 2596058

Please sign in to comment.