Pictoblox: NLP-Text Analysis Virtual Doctor | Python Coding

Publicado em: 29 Agosto 2023
no canal de: Ramesh
1,262
10

A simple program utilizing Natural Language Processing (NLP) in Pictoblox called Text Analysis Virtual Doctor.


John

sprite = Sprite('John')
import time

tr = TextRecognition()
tr.video('on flipped',60)

while True:
tr.analysecamera("handWrittenText")

if tr.handwrittentextresult() == str("FEVER"):
sprite.say("It's essential to rest and stay hydrated. I recommend taking some fever-reducing medication as well.")

elif tr.handwrittentextresult() == str("COLD"):
sprite.say("Keep yourself warm and drink plenty of water. Hot soups can also help relieve congestion.")

elif tr.handwrittentextresult() == str("COUGH"):
sprite.say("Try soothing remedies like honey and warm water. If it persists, consider seeing a healthcare professional.")

elif tr.handwrittentextresult() == str("HEADACHE"):
sprite.say("Ensure you rest in a quiet environment and take over-the-counter pain relief. If it worsens, seek medical advice.")

else:
sprite.say('Try Again', 3)

time.sleep(3)


Stage

No Codes Here !!!


Tobi

sprite = Sprite('Tobi')
import time

while True:
sprite.say("I'm not feeling well. Could you please help me?",2)

time.sleep(3)


End of codes!!!!!



#STEMpedia #stemeducation #stem #fyp #Globalgoals #Innovation #inovationaward2023 #india #usa #tech #technology #webcam #python #naturallanguageprocessing #pictoblox #sprite #text #usgs #bgs #bgs2022 #projects #viral #malaysia #youtubeshorts #youtube #programming #detection #ai #machinelearning #programming #game


Nesta página do site você pode assistir ao vídeo on-line Pictoblox: NLP-Text Analysis Virtual Doctor | Python Coding duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Ramesh 29 Agosto 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,262 vezes e gostou 10 espectadores. Boa visualização!