Verb mood is incorrect in tenses(verb)
还没有人认领这个 Issue。
评估
调研方向
从 Python 入口点 tenses('were') 和 conjugate(...) 开始,追踪语气是如何推断的,以及变位如何处理条件式和虚拟式。使用报告中的示例作为回归用例:直陈式单数 'were' 应被排除,而虚拟式和条件式应被表示,并且 conjugate 应返回 'were'。
由索引模型根据 Issue 内容生成。
描述
Take the verb 'were' for example. If I do tenses('were') the list of possible tenses includes ('past', 3, 'singular', 'indicative', 'imperfective').
Certainly though,
He were correct.
is incorrect! It should be 'He was correct.
That said,
If he were correct, I'd be a monkey's uncle.
Is correct.
What changed? The MOOD. The second is conditional/subjunctive. My result then for tenses('were') should include ('past', 3, 'singular', 'subjunctive', 'imperfective') and ('past', 3, 'singular', 'conditional', 'imperfective') but it should not include ('past', 3, 'singular', 'indicative', 'imperfective').
This bug applies to conjugate(VERB) also. conjugate('was', 'present', 3, 'singular', 'conditional', 'imperfective') returns nothing, when instead it should return 'were'.
- 主要语言
- Python
- 星标
- 8.9k
- 派生
- 1.6k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
clips/pattern 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 30/100
相似的 Issue
-
pydanty:is-working
难度 2/5 1-3 小时 新手友好度 78/100
pydantic/pydantic-ai#8843 ·
维护者通常 1 天内回复
-
breaking change enhancement server
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复