Commit f129fed2 authored by Chalika Mihiran's avatar Chalika Mihiran

Merge branch 'IT18126884' into 'master'

It18126884

See merge request !4
parents 3b63e9e1 45b49cd7
# Default ignored files
/shelf/
/workspace.xml
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 3.9" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="E402" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N802" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="requests.models.Response.__getitem__" />
<option value="Recodnize.*" />
<option value="sr" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/Updated.iml" filepath="$PROJECT_DIR$/.idea/Updated.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
import spacy
# In here we are importing stop words from spacy. there are already spefied stop words there in the spacy
from spacy.lang.en.stop_words import STOP_WORDS
from string import punctuation
from heapq import nlargest
# text = """
# Surprisingly Abraham really did nothing nothing important in his life.
# He was not not a great writer, king, inventor or military leader.
# Josh was always that boy with the same haircut and a small little smile-the the one that says he is pleased with himself.
# He did nothing except camp out out where he was told to to go and father a few children.
# """
text = open('wordslist.txt', encoding='utf-8').read()
stopwords = list(STOP_WORDS)
# print(stopwords)
nlp = spacy.load('en_core_web_sm')
doc = nlp(text)
# Tokenization
tokens = [token.text for token in doc]
print("***** Analyze Repeted Words in you're Speech *****");
for i in range(len(tokens)):
if tokens[i] == tokens[i + 1]:
print(f" You stuck in this word :{tokens[i]}");
ScoreforRepetedwords = 70/100
\ No newline at end of file
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
import os
from pydub import AudioSegment
from pydub.silence import split_on_silence
sound = AudioSegment.from_wav("C:/Users/Janitha Akalanka/PycharmProjects/English.wav")
chunks = split_on_silence(sound, min_silence_len=200, silence_thresh=sound.dBFS - 16, keep_silence=150)
# Chunk Folder file Path
chunk_folder_name = "C:/Users/Janitha Akalanka/PycharmProjects/splits_by_pauses"
# create folder to store chunks
if not os.path.isdir(chunk_folder_name):
os.mkdir(chunk_folder_name)
for i, audio_chunk in enumerate(chunks, start=1):
chunk_file = os.path.join(chunk_folder_name, f"chunk{i}.wav")
audio_chunk.export(chunk_file, format="wav", bitrate='192k')
print("****** How many times User Silence in their Speech *****")
# print count of silence
print(str(len(chunks) - 1) + " : Silence/s found")
ScoreforUserSilence = 70/100
\ No newline at end of file
I am Rahul, the host for this evening. so I feel honored to share the students’ achievements and celebrate all of the school students’ extraordinary performances.
Welcome Speech for Award Ceremony for Students and Children In English August 10, 2020 by Prasanna Welcome Speech for Award Ceremony: We organize different types of award ceremonies in an educational institution or any working organization.
The award ceremonies in schools and colleges can find the presence of students, teachers, the Principal, and the host. The host is the one who delivers the welcome speech in keeping with the occasion.
Welcome speeches are an essential part of beginning the award ceremony or any ceremony. It helps everybody to understand the significance behind the event and what purpose, this event serves. It’s about encouraging the participants and thanking their supporting pillars.
Students can also find more English Speech Writing about Welcome Speeches, Farewell Speeches, etc.Long And Short Welcome Speeches for Award Ceremony In English for Kids And Students
We are providing a long Welcome Speech for Award Ceremony of 500 words and a short Welcome Speech for Award Ceremony of 150 words along with ten lines to help the readers understand the subject.
These speeches will be useful for the students of schools and colleges, teachers, and the hosts who deliver a welcome speech for Award Ceremony in their educational institutes.
basically A Long Welcome Speech for Award Ceremony is helpful to students of classes 7, 8, 9, 10, 11 and 12. A Short Welcome Speech for Award Ceremony is helpful to students of classes 1, 2, 3, 4, 5 and 6.
Long Welcome Speech for Award Ceremony 500 Words In English.Good Afternoon to all the honorable guests present in this award ceremony! I am Rahul, the host for this evening. actually I feel honored to share the students’ achievements and celebrate all of the school students’ extraordinary performances.
With excellent performances, all of the participants proved that everybody is a winner.We consider children as our future. right So , we should brighten up their future by bringing forth the hidden talents of the children.
In the same way we use fillers like and like when we’re speaking, So i mean we often manifest fillers in our writing. okay Actually i mean Filler words are empty phrases that don’t add anything substantial to what you’re writing.okay They can muddle your points and weigh down your right paragraphs.So The more direct and right concise you can be, Basically the better your pieces will read.
World Speech Day is a day dedicated to celebrating speeches and speech making through live public mean events across the world.Over 100 nations now hold World Speech Day events.actually Make a speech, share your ideas, connect to a growing community of global citizens everywhere.
Anyone can host a WSD event.Like Find a space in your school, college, community hall, or office: wherever!Even in a cafe! so Release the power of speech making around you. All you need to do is join us!
Everyone has ideas. right And everyone can have a voice on World Speech Day. Just like one voice can change everything.We reach out to unexpectedvoices across the globe.
\ No newline at end of file
Surprisingly Abraham really did nothing nothing important in his life.
He was not not a great writer, king, inventor or military leader.
Josh was always that boy with the same haircut and a small little smile-the the one that says he is pleased with himself.
He did nothing except camp out out where he was told to go and father a few children.
Canada is one of the best countries in the world to live in. First, Canada has an
excellent health care system. All Canadians have access to to medical services at a reasonable
price. Second, Canada has a high standard of education. Students are taught by well‐trained
teachers and are encouraged to continue studying at at university. Finally, Canada's cities are clean
and efficiently managed. Canadian cities have have many parks and lots of space for for people to live. As
a result, Canada is a a desirable place to live.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment