Open denis46-g opened 3 years ago
for text preprocessing this function must:
I also suggest to not implimetnt this functions until we decide what vectorization function we will use. Because in process we can find ready-made implemitation of this functions in another gems
The issues 2-5 in Andrey's comment will be my issues. (Goskov Denis)
https://codeclimate.com/github/mmcs-ruby/sentiment/issues?category=complexity&engine_name%5B%5D=structure&engine_name%5B%5D=duplication I merged the PR, but there are some code quality issues.
1)Create list of words frequences for detecting rare words in text 2)Create function which deletes rare and short words which are not need for finding emotions