我很难解析模块和模板
实际上我找不到如何使用 API 获取该数据
这里我举个简单的例子
https://en.wiktionary.org/wiki/%C3%A7al%C4%B1%C5%9Fmak
它使用了许多模块和模板,并且它们的解析结果不包含在转储文件中
那么我怎样才能得到解析的结果
例如要获得这个动词的变位çalışmak
,这是写在源代码中的
====Conjugation====
{{tr-conj|çalış|ı|çalışır|ı|t}}
那么如何从 API 中获取该部分的解析结果呢?
例如,维基词典在下面的页面解释了如何使用模板
https://en.wiktionary.org/wiki/Wiktionary:模板
从那里我打开了https://en.wiktionary.org/wiki/Template:en-noun
从那里它给出了一个例子{{en-noun|es}}
所以当我们打开游行页面时
https://en.wiktionary.org/wiki/march#Verb
我们看到复数形式写成{{en-verb|es}}
它被解析为march (third-person singular simple present marches, present participle marching, simple past and past participle marched)
所以我需要以某种方式得到解析的部分
所以我想要实现的很简单
我给出单词或页面 id、模板,然后我得到解析结果
例如,我给这个词march
给模板{{en-verb|es}}
,我得到解析的结果是march (third-person singular simple present marches, present participle marching, simple past and past participle marched)
如果输出更有条理,那就更好了,但这也很好