BALaka-18 / rake_new2

A Python library that enables smooth keyword extraction from any text using the RAKE(Rapid Automatic Keyword Extraction) algorithm.
MIT License
29 stars 20 forks source link

Added the test cases for rake_new2 #53

Open koolgax99 opened 3 years ago

koolgax99 commented 3 years ago

Description of the change

This is a fix to the issue #9 . In this I have added the edge cases for the rake_new2 module. I have tried to add all the html tags in edge cases because the rake_new2 can take the HTML tags.

Related Issues

9 Adding the edge cases for the rake_new2 module

What type of PR is this?

Added tests?

codecov-io commented 3 years ago

Codecov Report

Merging #53 (f70fc32) into master (df045cd) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #53   +/-   ##
======================================
  Coverage    5.69%   5.69%           
======================================
  Files           5       5           
  Lines         123     123           
======================================
  Hits            7       7           
  Misses        116     116           
Flag Coverage Δ
unittests 5.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update df045cd...f70fc32. Read the comment docs.

koolgax99 commented 3 years ago

@BALaka-18 there are 2 files in the test_cases folder.

edge_cases_file.txt this consists of all the edge cases I made, most of them work except a few(these are highlighted in the second file edge_cases_not_working.txt).

So the edge_cases_not_working.txt consists of edge cases which are not working as of now in the rake_new2 module.

koolgax99 commented 3 years ago

@BALaka-18 can you please review the pull request for the issue #9 . the competition is about to end, can you please merge the pr soon.