obsidian-tagcloud icon indicating copy to clipboard operation
obsidian-tagcloud copied to clipboard

stopwords not working

Open fabionolasco opened this issue 2 years ago • 13 comments

Hi there,

First, thank you for the plugin! Super cool!

I am using version 1.3.1 with Obsidian version 0.13.23

I added one word per line on the stopwords field on the options part of the TagCloud plugin, like so: the a on in that is to for do our will would should could from and if this these those with as may therefore but are there if

I also tried to force it by adding the stopword: true

  ```wordcloud
  source: file
  stopwords: true
  ```
  
  and
  
  ```wordcloud
  source: file
  ```

The tag cloud shows up, but the stopwords also show up.

I already tried to close and reopen Obsidian. I already tried to delete the text and re-add it.

Any ideas what could be wrong?

Thank you!

fabionolasco avatar Mar 06 '22 23:03 fabionolasco

Version 1.3.2 has fixed an issue where custom stopwords would not be applied. Please keep in mind that you will need to recalculate the word distribution everytime you change anything in the settings and after updating to that version. There is a command as well as a button in the settings. (The frequency analysis can take a long time, so not automatic.)

joethei avatar Mar 10 '22 18:03 joethei

@joethei I'm using 1.3.2, and not only are the stopwords not used, the word cloud seems to be almost only the stopwords! It also seems that changing any of the options has no effect on the word cloud (it's too small, and it doesn't change from generation to generation)-- the other clouds (tag, link) seem to respond as expected, but the word cloud seems to be deterministically wrong. I have had it recalculate the word distribution a bunch of times, but same result.

wordcloud
stopwords = true
width = 800
height = 600
maxDepth = 50

Stop words: image

Yields: image

Recalculating word distribution, then:

image

kauffy avatar Apr 16 '22 18:04 kauffy

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 17 '22 06:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 31 '22 06:05 github-actions[bot]

Hey, I also wanted to report that it doesn't remove stop words for me (v1.3.2)

I tried

	```wordcloud
	source: file
	```

and

	```wordcloud
	source: file
	stopwords: true
	```

produces:

image

berot3 avatar Jun 15 '22 08:06 berot3

So sorry, after copy/pasting this: https://github.com/igorbrigadir/stopwords/blob/master/en/terrier.txt into the plaugin-settings it works like a charm. I somehow assumed that they were already added by default. oops!

berot3 avatar Jun 15 '22 09:06 berot3

Loving this plugin, except that I have this stopword problem too, using v 1.3.2 of this plugin with Obsidian 0.14.15

I have

  • added the same list as berot3, above
  • recalculated word distribution
  • restarted Obsidian
  • added stopwords: true to try to force it

Many thanks for your work on this.

tekiegirl avatar Jun 27 '22 13:06 tekiegirl

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jul 28 '22 06:07 github-actions[bot]

Hi, I wanted to report I'm having the same issues as the others. Love the idea of this plugin, but unfortunately it only shows me stopwords right now, despite defining these in the custom list. I've recalculated the vault several times.

image

leodking avatar Aug 03 '22 19:08 leodking

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 06 '22 07:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 21 '22 07:09 github-actions[bot]

This is still an issue for me. Not sure if it has been fixed since the last release, but I know that my bug fix for another issue has not been released yet (as of Oct 21 '22) as I have to manually apply it to the code in my vault 😉 If I have time I will try to debug this one too.

tekiegirl avatar Oct 21 '22 12:10 tekiegirl

yeah, It's still an issue, I am not always fast enough to stop the bot from closing the issue.

joethei avatar Oct 21 '22 13:10 joethei

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 21 '22 06:11 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Dec 22 '22 06:12 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jan 22 '23 06:01 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Feb 06 '23 06:02 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Mar 09 '23 06:03 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 09 '23 06:04 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 10 '23 06:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 25 '23 06:05 github-actions[bot]

@joethei did you want some help on this? I know it's been a while, so no pressure if you've moved on and are over it. It's just the only plugin that really provides a feature like this. If you'd prefer that I fork and tinker on my own, that's fine too. Whenever you have some time, let me know your preferences.

Thanks for making this!

irasanchez avatar Jul 17 '23 11:07 irasanchez