Contains descriptions and code of the mini-projects developed in various programming languages

Overview

TexttoSpeechAndLanguageTranslator-project

introduction

A pleasant application where the client will be given buttons like play,reset and exit. The client can enter the content which he/she needs tochange over into a speech or System generated voice.The Application takes contribution from the client and converts the accompanying content to speech or PC generated voice with the assistance of a button called play. A reset button and Exit button arelikewise given to the client to reset the application or to leave the application.The Tkinter GUI framework in python is utilized to make the design andlayout of the application.

create framework

To introduce necessary modules, use pip command. Bringing the modules. showcasing the GUI window (Tkinter). Characterizing the capacities.

➢ Import Libraries • Start by bringing in the libraries, tkinter, playsound, gTTS

Introducing window:

  • Tk() to introduced tkinter which will be utilized for GUI
  • geometry() used to set the width and stature of the window
  • configure() used to get to window ascribes
  • bg will used to set the shade of the foundation
  • title() set the title of the window
  • Label() widget is utilized to show at least one than one line of text that clients can't ready to adjust.
  • module is the name which we allude to our window
  • text which we show on the mark
  • font in which the content is composed
  • pack organized gadget in block
  • result is a string type variable
  • Entry() used to make an information text field wrap = WORD will stop the line after the final word that will fit.
  • place() organizes gadgets by setting them in a particular situation in the parent gadget
  • Message variable will stores the estimation of entry_field
  • text is the sentences or text to be perused.
  • lang takes the language to peruse the content. The default language is English.
  • speech stores the changed over voice from the content
  • speech.save('ADARSH.mp3') will saves the changed over record as adarsh as mp3 document
  • playsound() used to play the sound
  • Characterize Combobox to choose the language language gets all the qualities from the 'Dialects' word reference as a rundown. ttk.Combobox() gadget is a class of ttk modules. It is a drop-down list, which can hold multi- worth and show each thing in turn. Combobox is helpful to choose one alternative from numerous choice.

Characterize Function to translate. The Translate capacity will interpret the message and give the yield. src gets the language chosen as information text language dest gets the language select to decipher text gets the information text entered by the user."1.0′′ implies that the info ought to be perused from zero characters to line one The END part intends to peruse the content until the end is reached translator = Translator() used to make a Translator class object Output_text.delete(1.0, END) erase all the content from line one to end Output_text.insert (END, translated.text) will embed the deciphered content in Output_text Make an translate button At the point when we click on the Translate button it will call the decipher work button() gadget used to show button on our window command is called when we click the button activebackground sets the foundation tone to utilize when the catch is dynamic

Function to Exit: module.destroy() will quit the program by halting the mainloop().

Function to Reset: Reset function set Msg variable to purge strings.

Characterize Buttons: Button() widget used to show button on the window module.mainloop() is a technique that executes when we need to run our program.

System Design

  1. The programming language to be used is Python.
  2. The python framework tkinter gui will be used to implement a graphical interface. The application requires the client to enter a text .Then he/she must click on the play button which converts the text to a pc generated voice . In this content TTS converter application ,client's are furnished with a choice to enter the necessary content that client needs to change over to a voice,i.e 'ENTER TEXT' Client's will likewise be furnished with choices, for example, 'play' , 'rest', 'exit' .which will permit the client to play the content or reset the content or leave the application. This application additionally permit clients to change over the information text of any language into any ideal language by tapping on button 'TRANSLATE' which makes it not the same as the remainder of tts converter applications . Background interface will be rendered using tkinter using various in­built python modules

FEATURES:

• Customizable speech­specific sentence tokenizer that allows for unlimited lengths of text to be read, all while keeping proper intonation, abbreviations, decimals and more; • Customizable text pre­processors which can, for example, provide pronunciation corrections.

Owner
Adarsh Reddy
- 👋 Hi, I’m Adarsh reddy - 👀 I’m interested in problem solving and coding - 🌱 I’m currently learning DSA ,PYTHON,Data Science
Adarsh Reddy
Header-only C++ HNSW implementation with python bindings

Hnswlib - fast approximate nearest neighbor search Header-only C++ HNSW implementation with python bindings. NEWS: version 0.6 Thanks to (@dyashuni) h

2.3k Jan 05, 2023
PyTorch implementation of "data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language" from Meta AI

data2vec-pytorch PyTorch implementation of "data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language" from Meta AI (F

Aryan Shekarlaban 105 Jan 04, 2023
VMD Audio/Text control with natural language

This repository is a proof of principle for performing Molecular Dynamics analysis, in this case with the program VMD, via natural language commands.

Andrew White 13 Jun 09, 2022
jel - Japanese Entity Linker - is Bi-encoder based entity linker for japanese.

jel: Japanese Entity Linker jel - Japanese Entity Linker - is Bi-encoder based entity linker for japanese. Usage Currently, link and question methods

izuna385 10 Jan 06, 2023
Code for our paper "Mask-Align: Self-Supervised Neural Word Alignment" in ACL 2021

Mask-Align: Self-Supervised Neural Word Alignment This is the implementation of our work Mask-Align: Self-Supervised Neural Word Alignment. @inproceed

THUNLP-MT 46 Dec 15, 2022
An official implementation for "CLIP4Clip: An Empirical Study of CLIP for End to End Video Clip Retrieval"

The implementation of paper CLIP4Clip: An Empirical Study of CLIP for End to End Video Clip Retrieval. CLIP4Clip is a video-text retrieval model based

ArrowLuo 456 Jan 06, 2023
Suite of 500 procedurally-generated NLP tasks to study language model adaptability

TaskBench500 The TaskBench500 dataset and code for generating tasks. Data The TaskBench dataset is available under wget http://web.mit.edu/bzl/www/Tas

Belinda Li 20 May 17, 2022
BERN2: an advanced neural biomedical namedentity recognition and normalization tool

BERN2 We present BERN2 (Advanced Biomedical Entity Recognition and Normalization), a tool that improves the previous neural network-based NER tool by

DMIS Laboratory - Korea University 99 Jan 06, 2023
Blackstone is a spaCy model and library for processing long-form, unstructured legal text

Blackstone Blackstone is a spaCy model and library for processing long-form, unstructured legal text. Blackstone is an experimental research project f

ICLR&D 579 Jan 08, 2023
The aim of this task is to predict someone's English proficiency based on a text input.

English_proficiency_prediction_NLP The aim of this task is to predict someone's English proficiency based on a text input. Using the The NICT JLE Corp

1 Dec 13, 2021
STonKGs is a Sophisticated Transformer that can be jointly trained on biomedical text and knowledge graphs

STonKGs STonKGs is a Sophisticated Transformer that can be jointly trained on biomedical text and knowledge graphs. This multimodal Transformer combin

STonKGs 27 Aug 11, 2022
ProteinBERT is a universal protein language model pretrained on ~106M proteins from the UniRef90 dataset.

ProteinBERT is a universal protein language model pretrained on ~106M proteins from the UniRef90 dataset. Through its Python API, the pretrained model can be fine-tuned on any protein-related task in

241 Jan 04, 2023
Edge-Augmented Graph Transformer

Edge-augmented Graph Transformer Introduction This is the official implementation of the Edge-augmented Graph Transformer (EGT) as described in https:

Md Shamim Hussain 21 Dec 14, 2022
Module for automatic summarization of text documents and HTML pages.

Automatic text summarizer Simple library and command line utility for extracting summary from HTML pages or plain texts. The package also contains sim

Mišo Belica 3k Jan 08, 2023
BERT Attention Analysis

BERT Attention Analysis This repository contains code for What Does BERT Look At? An Analysis of BERT's Attention. It includes code for getting attent

Kevin Clark 401 Dec 11, 2022
Code for the paper in Findings of EMNLP 2021: "EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillation".

This repository contains the code for the paper in Findings of EMNLP 2021: "EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillation".

Chenhe Dong 28 Nov 10, 2022
**NSFW** A chatbot based on GPT2-chitchat

DangBot -- 好怪哦,再来一句 卡群怪话bot,powered by GPT2 for Chinese chitchat Training Example: python train.py --lr 5e-2 --epochs 30 --max_len 300 --batch_size 8

Tommy Yang 11 Jul 21, 2022
Kashgari is a production-level NLP Transfer learning framework built on top of tf.keras for text-labeling and text-classification, includes Word2Vec, BERT, and GPT2 Language Embedding.

Kashgari Overview | Performance | Installation | Documentation | Contributing 🎉 🎉 🎉 We released the 2.0.0 version with TF2 Support. 🎉 🎉 🎉 If you

Eliyar Eziz 2.3k Dec 29, 2022
Easy to start. Use deep nerual network to predict the sentiment of movie review.

Easy to start. Use deep nerual network to predict the sentiment of movie review. Various methods, word2vec, tf-idf and df to generate text vectors. Various models including lstm and cov1d. Achieve f1

1 Nov 19, 2021
Club chatbot

Chatbot Club chatbot Instructions to get the Chatterbot working Step 1. First make sure you are using a version of Python 3 or newer. To check your ve

5 Mar 07, 2022