Popular posts from this blog
C Language | Loops | Start your journey with C | Part 4
WHAT IS LOOP : Loops are used to execute a piece of code several time according to the condition give to the loop. It means it execute same code multiple times so it saves code and also helps to traverse the elements of array. There are three types of loops in C language. They are : FOR loop. WHILE loop. DO WHILE loop. 1. FOR loop : Syntax : for(initialization;condition;increment/decrement) { ..... ...... ...... ...... // CODES ..... ..... ..... } Here is an example how FOR loop works : #include<stdio.h> void main() { for(int i=1;i<=10;i++) { printf("\n %d",i); } } Output : 2. WHILE loop : Syntax : while(condition) { ...... ...... ...... //code ...... ..... } Here is an example how WHILE loop works : #include<stdio.h> void main() { int i=1; while(i<=10) { printf...
Speech Recognition | Python Program
Speech recognition: Tips: 1.Open your terminal or command prompt type "pip install speechRecognition". 2.Check your internet connection. 3.Save a .wav extension recorded audio file name as "sound" in my document. 4.Then, type under below code. Code: import speech_recognition as sr AUDIO_FILE=('sound.wav') r=sr.Recognizer() with sr.AudioFile(AUDIO_FILE) as source: audio=r.record(source) try: print("audio file contain:\n"+r.recognize_google(audio)) except sr.UnknownValueError: print("Not recog") except sr.RequestError: print("Data not get") --------------------------------------------------------------------------------------------------------------------------- Thank you for visiting. Comment for response!

An abstract data type is a type with associated operations, but whose representation is hidden. Common examples of abstract data types are the built-in primitive types in Haskell, Integer and Float. Haskell supports the definition of abstract data types via the module system. In many cases it is not necessary to completely hide the representation of data, so a normal data type definition is sufficient. In addition, parametrized types can be viewed as a kind of abstract type, because they leave some parts of the data type undefined, or abstract.
ReplyDelete