TextSentimentalAnalysisScipt#958
Conversation
|
…to TextSentimentalAnalysisScipt
|
@kaustubhgupta @antrikshmisri any suggestion in the same ? |
kaustubhgupta
left a comment
There was a problem hiding this comment.
Bugs:
-
The folder name has wrong spelling of
Script,Text-Sentimental-Analysis-Scipt-with-GUI/. Kindly correct that. I am assuming that you have corrected that and based on this correction, I am suggesting these next steps. -
Add a blank
__init__.pyfile inside the Text-Sentimental-Analysis-Script-with-GUI folder so that this becomes package and you can directly call the Model. I have suggested the same in the code. -
For some reason, this simple line is not getting any sentiment and throwing this error:

| final_words.append(word) | ||
|
|
||
| emotion_list = [] | ||
| with open('textFiles/emotions.txt', 'r') as file: |
There was a problem hiding this comment.
| with open('textFiles/emotions.txt', 'r') as file: | |
| with open('./Text-Sentimental-Analysis-Script-with-GUI/textFiles/emotions.txt', 'r') as file: |
|
|
||
| root.resizable(False, False) | ||
|
|
||
| image = PhotoImage(file="images/background.png") |
There was a problem hiding this comment.
| image = PhotoImage(file="images/background.png") | |
| image = PhotoImage(file="./Text-Sentimental-Analysis-Script-with-GUI/images/background.png") |
|
|
||
| enterWordEntry.focus_set() | ||
|
|
||
| searchImage = PhotoImage(file='images/search.png') |
There was a problem hiding this comment.
| searchImage = PhotoImage(file='images/search.png') | |
| searchImage = PhotoImage(file='./Text-Sentimental-Analysis-Script-with-GUI/images/search.png') |
| @@ -0,0 +1,47 @@ | |||
| import textSentimentalAnalysisWebApp.Model | |||
There was a problem hiding this comment.
| import textSentimentalAnalysisWebApp.Model | |
| import Model |
| word = enterWordEntry.get() | ||
|
|
||
| text = word.strip() | ||
| model_object = textSentimentalAnalysisWebApp.Model.model() |
There was a problem hiding this comment.
| model_object = textSentimentalAnalysisWebApp.Model.model() | |
| model_object = Model.model() |
There was a problem hiding this comment.
please check if all the suggested issues are resolved or not let me know if any more changes are required
|
hey @kaustubhgupta i will look into this and clear out the changes just stuck with some work so will clear out all the 3 pr changes tomorrow it self |
Co-authored-by: Kaustubh Gupta <kaustubhgupta1828@gmail.com>
|
done the minor change |
kaustubhgupta
left a comment
There was a problem hiding this comment.
@shantamsultania Add the requirements.txt file and update the PR template with project metadata. Look at this PR for reference: #1002
please check the requested changes as tkinter is preinstalled I don't think it requires any requirements.txt file |
oh, got it |
|
@shantamsultania The PR template has been updated wrongly. Refer to approved PRs or the one I pointed in the above message. The category is missing. |
|
hey @kaustubhgupta i have updated the template please check now |
|
Due to inactivity this pull request has been marked as stale. |
Description
A GUI that will allow you to convert perform Sentimental analysis on a particular text entered by the user
Fixes #(issue_no)
Fixes: #211
Type of change
Please delete options that are not relevant.
Checklist:
README.mdTemplate for README.mdrequirements.txtfile if needed.Project Metadata
If there is no-file/nothing to fill the below fields with, then type: noneExample:If no requirements.txt needed/present, then type none inRequirments.Category:
Title: Text Sentimental Analysis
Folder: Text_Sentimental_Analysis_Script_with_GUI
Requirements: none
Script: app.py
Arguments: none
Contributor: shantamsultania
Description: A GUI that will allow you to convert perform Sentimental analysis on a particular text entered by the user