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
ed538e53
Commit
ed538e53
authored
Sep 13, 2021
by
Chalika Mihiran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete FillerWords.py
parent
40af23b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
FillerWords.py
FillerWords.py
+0
-31
No files found.
FillerWords.py
deleted
100644 → 0
View file @
40af23b7
def
wordcount
(
filename
,
listwords
):
try
:
file
=
open
(
filename
,
"r"
)
read
=
file
.
readlines
()
file
.
close
()
for
word
in
listwords
:
lower
=
word
.
lower
()
count
=
0
for
sentance
in
read
:
line
=
sentance
.
split
()
for
each
in
line
:
line2
=
each
.
lower
()
line2
=
line2
.
strip
(
"!@#$
%
^&*(()_+="
)
if
lower
==
line2
:
count
+=
1
print
(
lower
,
":"
,
count
)
except
FileExistsError
:
print
(
"Have not filler word"
)
print
(
"********Analyze Filler Word in your Speech********"
);
wordcount
(
"momo.txt"
,
[
"Like"
,
"okay"
,
"so"
,
"actually"
,
"basically"
,
"right"
])
ScoreforFillerwords
=
60
/
100
\ No newline at end of file
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