Skip to content

Automatic Space Trimming From Hanzi Output #96

Open
@Nick3C

Description

@Nick3C

To facilitate input from other Chinese language sites such as LingQ and LiveMocha that insist on (incorrectly) putting spaces into Chinese character text (their system doesn't support languages without spaces properly) we should trim spaces from the the output.

eg (from LingQ) 我 并 不是 在 担心 我 哥哥
converted to 我并不是在担心我哥哥

However, as it improves dictionary lookup accuracy (dictionary lookup will treat as a single word only), it is probably best to just do this at the final state rather that doing it before passing (i.e. it lets users force a word py putting spaces around it where there are two possibilities but still get properly formatted output (that can be pasted plain text into Expression field afterwards).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions