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

text_score #53

Open
alexanderGGreenberg opened this issue Mar 7, 2018 · 2 comments
Open

text_score #53

alexanderGGreenberg opened this issue Mar 7, 2018 · 2 comments
Labels
Difficult enhancement New feature or request

Comments

@alexanderGGreenberg
Copy link
Contributor

alexanderGGreenberg commented Mar 7, 2018

Implement the funciton in src/text_score.py with the following specification:

As a firm Silicon Valley fanatic, you have been
inspired by Jian Yang's hot dog/not hot dog classifier,
and decided to build your own classifier... but for text!
Your objective is to take a body of text, and two word inputs, and return a score count.
Every time the first string occurs in the text, you will
increment the score count, and every time the second string
occurs, you will decrement the score count. Return the final score.
Example:
input: ("I love to eat hot dogs for breakfast, hot dogs for lunch, and even for dinner!", "hot", "for")
output: -1

@joelahoover joelahoover added enhancement New feature or request Difficult labels Mar 7, 2018
thejxp added a commit to thejxp/Spring_2018_WICC_OSC that referenced this issue Mar 7, 2018
@thejxp
Copy link

thejxp commented Mar 7, 2018

🙋🏻

@ammar0211
Copy link

I'm on it.

@ammar0211 ammar0211 mentioned this issue Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficult enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants