I want ftfy to support a pure curly-quote cleanup feature.
I want ftfy to support a pure curly-quote cleanup feature.: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). The direct API should be ftfy.fixes.uncurl quotes(text: str) - str, returning a new string where curly single quotation marks and modifier-letter apostrophes are…
The task
The direct API should be ftfy.fixes.uncurl_quotes(text: str) -> str, returning a new string where curly single quotation marks and modifier-letter apostrophes are replaced with ASCII ', and curly double quotation marks are replaced with ASCII ". For example…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.