Skip to content

BlackFoundryCom/ids-py

Repository files navigation

A Python wrapper for the IDS database

This wrapper use the IDS data from https://gitlab.chise.org/CHISE/ids


In a python file import IDS

import ids_py


COMPOSITION

ids_py.composition("吃")

吃 -> ⿰口乞

ids_py.composition("吃", flatten=True)

吃 -> ⿰口 {乞:⿱ {𠂉:⿰丿一} 乙}


STRUCTURE

ids_py.structure("畵")

畵 -> ⿱⿶


USED BY

ids_py.used_by("我")

我 -> 俄哦娥峨峩我涐珴皒睋硪義莪蛾誐鋨锇餓饿騀鵝鵞鹅㧴䄉䖸䞲䳗䳘…

ids_py.used_by("⿶")

⿶ -> 兠凶凷凼函凾凿楽樂歯燮爂爨璺畵舆與興舋輿釁鬻鼎齿㓙䰞…

all available structures: ⿰⿱⿲⿳⿴⿵⿶⿷⿸⿹⿺⿻

ids_py.used_by("我", structure="⿱")

我⿱ -> 䖸䳗峩義莪鵞𡻍𧒎𩣨𩭝𪭗𫪋𬐡𬕆

ids_py.used_by("我", structure="all")

我⿰ -> 㧴䄉䳘俄哦娥峨涐珴皒睋硪蛾誐鋨锇餓饿騀鵝鹅𡦛𢧲𣇕𤄣𤘋𤯫𦩆𧚄𧶕𨁟𨉐𨿍𩒰𩣣𩷦𪘐𪱤𪲘𫇇𫠰𫨎𬓬𬚚𬚾𬪂𬻪𭔒𭭯𰵮𱅗𱕥𱞛
我⿱ -> 䖸䳗峩義莪鵞𡻍𧒎𩣨𩭝𪭗𫪋𬐡𬕆
我 -> 我
我⿺ -> 䞲𭧦
我⿸ -> 𠩙𡱫
我⿰⿱ -> 𡟶𣟝
我⿳ -> 𡽥
我⿱⿱⿱ -> 𢐯
我⿱⿱ -> 𢐱𦏡𦾒
我⿰⿳ -> 𥪺𧭖
我⿱⿰ -> 𦶥


SIMILAR TO

ids_py.similar_to("请")

讠⿰ : 计订讣认讥讦讧讨让讪讫讬训议讯记讱讲讳讴讵讶讷许讹论讻讼讽设访诀证诂诃评诅识诇诈诉诊诋诌词诎诏诐译诒诓诔试诖诗诘诙诚诛诜话诞诟诠诡询诣诤该详诧诨诩诪诫诬语诮误诰诱诲诳说诵诶请诸诹诺读诼诽课诿谀谁谂调谄谅谆谇谈谉谊谋谌谍谎谏谐谑谒谓谔谕谖谗谘谙谚谛谜谝谞谟谠谡谢谣谤谥谦谧谨谩谪谫谬谭谮谯谰谱谲谳谴谵谶䜣䜤䜥䜦䜧䜨䜩𧮪𫍙𫍚𫍛𫍜𫍝𫍞𫍟𫍠𫍡𫍢𫍣𫍤𫍥𫍦𫍧𫍨𫍩𫍪𫍫𫍬𫍭𫍮𫍯𫍰𫍱𫍲𫍳𫍴𫍵𫍶𫍷𫍸𫍹𫍺𫍻𫍼𫍽𫍾𫍿𫟞𫟟𫟠𫟡𫟢𬣙𬣚𬣛𬣜𬣝𬣞𬣟𬣠𬣡𬣢𬣣𬣤𬣥𬣦𬣧𬣨𬣩𬣪𬣫𬣬𬣭𬣮𬣯𬣰𬣱𬣲𬣳𬣴𬣵𬣶𬣷𬣸𬣹𬣺𬣻𬣼𬣽𬣾𬣿𬤀𬤁𬤂𬤃𬤄𬤅𬤆𬤇𬤈𬤉𬤊𬤋𬤌𬤍𬤎𬤏𬤐𬤑𬤒𬤓𬤔𬤕𬤖𬤗𬤘𬤙𬤚𬤛𬤜𬤝𬤞𬤟𬤠𬤡𬤢𬤣𬤤𬤥𬤦𬤧𬤨𬤩𬤪𬤫𬤬𬤭𬤮𬤯𬤰𬤱𮙊𰵊𰵋𰵌𰵍𰵎𰵏𰵐𰵑𰵒𰵓𰵔𰵕𰵖𰵗𰵘𰵙𰵚𰵛𰵜𰵝𰵞𰵟𰵠𰵡𰵢𰵣𰵤𰵥𰵦𰵧𰵨𰵩𰵪𰵫𰵬𰵭𰵮𰵯𰵰𰵱𰵲𰵳𰵴𰵵𰵶𰵷𰵸𰵹𰵺𰵻𰵼𰵽𰵾𰵿𰶀𰶁𰶂𰶃𰶄𰶅𰶆𰶇𰶈𰶉𰶊𰶋𰶌𰶍𰶎𰶏𲂂𲂃𲂄𲂅𲂆𲂇𲂈𲂉𲂊𲂋𲂌𲂍𲂎𲂏𲂐𲂑𲂒𲂓𲂔𲂕𲂖𲂗
青⿰ : 倩凊啨埥婧崝情掅晴棈清猜皘睛碃精綪聙腈蜻請请輤錆锖靕靖鯖鲭鼱䑶䝼䞍𢃢𤂅𤦭𤲟𦑊𧚫𩇘𩇛𩜎𪂴𫏏𫘋𫸎𬘬𭓉𭛯𭴼𮃇𰗂𰠟𰺉𱓪𲄤𲊖

About

A python API around the chise IDS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •