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

[Fix]: uppercase input is not found by Word Frequency Finder #1

Closed
David-Pena opened this issue Dec 2, 2024 · 1 comment
Closed

Comments

@David-Pena
Copy link
Contributor

Describe the bug
If you want to find Hello you have to type it hello, because otherwise the word will not be count.

To Reproduce
Having this sample text:

The Word Frequency Finder Tool helps users analyze their text by calculating the frequency of specific words. You can input any text and specify the words to check their occurrences. It is an essential tool for content analysis, helping to ensure the right emphasis is placed on important words.

Input: "Frequency" | Result: 0
Input: "frequency" | Result: 2

Expected behavior
Both cases should output the same result: 2

Screenshots
N/A

Desktop (please complete the following information):

  • OS [Windows]
  • Browser [Arc]
  • Version [1.29.0]

Additional context
N/A

David-Pena added a commit to David-Pena/instruo that referenced this issue Dec 2, 2024
@David-Pena
Copy link
Contributor Author

Hi @rahul-vashishtha I created a PR for this #2

rahul-vashishtha added a commit that referenced this issue Dec 3, 2024
fix: add `.toLowerCase()` to `wordsList` computed (#1)
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

1 participant