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
74a8ac0b
Commit
74a8ac0b
authored
Jul 20, 2021
by
chalikaM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6ada7a29
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
6 deletions
+24
-6
clearness.py
clearness.py
+1
-1
keyWordExtraction.py
keyWordExtraction.py
+5
-5
suggestContent.py
suggestContent.py
+9
-0
webScraping.py
webScraping.py
+9
-0
No files found.
clearness.py
View file @
74a8ac0b
...
...
@@ -3,7 +3,7 @@ from scipy.io.wavfile import read
import
numpy
as
np
import
matplotlib.pyplot
as
plt
from
pydub
import
AudioSegment
#
from pydub import AudioSegment
import
os
import
glob
...
...
keyWordExtraction.py
View file @
74a8ac0b
...
...
@@ -57,11 +57,11 @@ for word in word_frequencies.keys():
keyWords
.
append
(
word
)
print
(
keyWords
)
for
token1
in
keyWords
:
for
token2
in
topicWords
:
print
(
"similarity"
,
token1
.
similarity
(
token2
))
Total_similarity
=
Total_similarity
+
token1
.
similarity
(
token2
)
#
#
for token1 in keyWords:
#
for token2 in topicWords:
#
print("similarity", token1.similarity(token2))
#
Total_similarity = Total_similarity + token1.similarity(token2)
...
...
suggestContent.py
0 → 100644
View file @
74a8ac0b
from
selenium
import
webdriver
driver
=
webdriver
.
Chrome
()
driver
.
get
(
'https://wikipedia.com'
)
searchbox
=
driver
.
find_element_by_xpath
(
'//*[@id="searchInput"]'
)
searchbox
.
send_keys
([
'cricket'
])
searchButton
=
driver
.
find_element_by_xpath
(
'//*[@id="search-form"]/fieldset/button'
)
searchButton
.
click
()
\ No newline at end of file
webScraping.py
0 → 100644
View file @
74a8ac0b
from
selenium
import
webdriver
driver
=
webdriver
.
Chrome
()
driver
.
get
(
'https://youtube.com'
)
searchbox
=
driver
.
find_element_by_xpath
(
'//*[@id="search"]'
)
searchbox
.
send_keys
([
'speeches'
,
'Transportation'
])
searchButton
=
driver
.
find_element_by_xpath
(
'//*[@id="search-icon-legacy"]'
)
searchButton
.
click
()
\ 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