Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-060
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-060
2021-060
Commits
95785624
Commit
95785624
authored
Sep 13, 2021
by
Dhananjaya Jayashanka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the emotions.txt
parent
64070af3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
Emotion/convert_VideoToAudio.py
Emotion/convert_VideoToAudio.py
+0
-0
Emotion/emotions.txt
Emotion/emotions.txt
+0
-0
textAnalyze(NLTK).py
textAnalyze(NLTK).py
+1
-1
textAnalyze.py
textAnalyze.py
+1
-1
No files found.
convert_VideoToAudio.py
→
Emotion/
convert_VideoToAudio.py
View file @
95785624
File moved
emotions.txt
→
Emotion/
emotions.txt
View file @
95785624
File moved
textAnalyze(NLTK).py
View file @
95785624
...
...
@@ -27,7 +27,7 @@ for word in final_words:
lemma_words
.
append
(
word
)
emotion_list
=
[]
with
open
(
'emotions.txt'
,
'r'
)
as
file
:
with
open
(
'
Emotion/
emotions.txt'
,
'r'
)
as
file
:
for
line
in
file
:
clear_line
=
line
.
replace
(
"
\n
"
,
''
)
.
replace
(
","
,
''
)
.
replace
(
"'"
,
''
)
.
strip
()
word
,
emotion
=
clear_line
.
split
(
':'
)
...
...
textAnalyze.py
View file @
95785624
...
...
@@ -34,7 +34,7 @@ for word in tokenized_words:
emotion_list
=
[]
with
open
(
'emotions.txt'
,
'r'
)
as
file
:
with
open
(
'
Emotion/
emotions.txt'
,
'r'
)
as
file
:
for
line
in
file
:
clear_line
=
line
.
replace
(
"
\n
"
,
''
)
.
replace
(
","
,
''
)
.
replace
(
"'"
,
''
)
.
strip
()
word
,
emotion
=
clear_line
.
split
(
':'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment