theme-next / hexo-symbols-count-time

Symbols count and time to read of articles for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Found word count error

Mofisto opened this issue · comments

This is blog,I use Chinese and English,The number of words counted is wrong

I'm face the same issue that when a post contains both Chinese and English the word count is about 10 times than it should be in my situation. This is different from #17 that even if there is not code, the issue still occurs.

Here are my configurations:

in the site's configuration:

symbols_count_time:
  symbols: true
  time: false
  total_symbols: true
  total_time: false

in the theme's configuration:

symbols_count_time:
  separated_meta: true
  item_text_post: true
  item_text_total: true
  awl: 4
  wpm: 275

I'm face the same issue,I guess this is related to markdown. See a example:
I only input 'a', wordcount === 9:
image
But when I input '# a', wordcount === 63:
image

oh, I solved by updating theme/next to 7.2.0

oh, I solved by updating theme/next to 7.2.0

I meet the issue that, "本文字数" is displayed as "Symbols count in article" and "阅读时长" is displayed as
"Reading time". The issue is illustrated as the following picture:
image

I already set "language : zh-Hans" in hexo's _config.yml file, but it didn't work.
My theme/next version is 7.1.2. And my configuration partially in that file is:

 symbols_count_time:
   symbols: true
   time: true
   total_symbols: true
   total_time: true
   exclude_codeblock: false

How can I solve it?
Thanks.

commented

@HillBamboo language : zh-CN

@1v9 thank you so much 👍 👍 👍

commented

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.