Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] text in Chinese will contain space which cause omnisearch cannot find t #35

Open
liangzh-404 opened this issue Aug 7, 2023 · 2 comments

Comments

@liangzh-404
Copy link

Problem description:
when extract text in Chinese, the result will contain space, then you can't search it in omnisearch(unless you add space manually)
here is a image I test
image
the result in cache is
{"path":".obsidian/plugins/text-extractor/cache/802469d99ce6f82bfe4e7c007322d468.json","text":"万 东 立 刻 来 了 思 路 写 起 了 大 纲 , 大 致 剧 情 如 下 。 【 女 主 被 匪 徒 绑 架 , 男 主 为 救 女 主 被 匪 徒 击 中 要 害 丧 失 了 生 育 能 力 。 女 主 知 道 后 十 分 的 愧 疚 , 便 把 自 己 的 子 宫 移 植 给 了 男 主","libVersion":"0.2.2","langs":"chi_sim+eng"}
as you can see, it contains space between characters, which cause omnisearch stop working
image
until I add space munally, then I can get ocr result
image

Your environment:

  • Plugin version: 0.4.6
  • Obsidian version: 1.4.2
  • Operating system: 14.0
  • Number of images/PDFs in your vault (approx.): very small
  • Other plugins that may be related to the issue:
    omnisearch
@albert748
Copy link

the same issue here

@CamWam
Copy link

CamWam commented Oct 9, 2024

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants