Skip to content

feat(text-analyzer): implement text analyzer function#4

Open
giteeneyazi555-pixel wants to merge 4 commits into
ibhf13:masterfrom
TechLabs-Dusseldorf:Gitee_Branch
Open

feat(text-analyzer): implement text analyzer function#4
giteeneyazi555-pixel wants to merge 4 commits into
ibhf13:masterfrom
TechLabs-Dusseldorf:Gitee_Branch

Conversation

@giteeneyazi555-pixel
Copy link
Copy Markdown

What this PR does

  • Adds analyzeText(paragraph, topN=5) function in analyzeText.js
  • Returns totalWords, uniqueWords, averageWordLength, top 5 most frequent words
  • index.js added to test the function locally

How to test

  1. node index.js
  2. See console output

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

Successfully merging this pull request may close these issues.

2 participants