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
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
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities

Hiring We are hiring at all levels (including FTE researchers and interns)! If you are interested in working with us on NLP and large-scale pre-traine

Microsoft 7.8k Jan 09, 2023
Partially offline multi-language translator built upon Huggingface transformers.

Translate Command-line interface to translation pipelines, powered by Huggingface transformers. This tool can download translation models, and then us

Richard Jarry 8 Oct 25, 2022
code for modular summarization work published in ACL2021 by Krishna et al

This repository contains the code for running modular summarization pipelines as described in the publication Krishna K, Khosla K, Bigham J, Lipton ZC

Kundan Krishna 6 Jun 04, 2021
SimBERT升级版(SimBERTv2)!

RoFormer-Sim RoFormer-Sim,又称SimBERTv2,是我们之前发布的SimBERT模型的升级版。 介绍 https://kexue.fm/archives/8454 训练 tensorflow 1.14 + keras 2.3.1 + bert4keras 0.10.6 下载

317 Dec 23, 2022
Train and use generative text models in a few lines of code.

blather Train and use generative text models in a few lines of code. To see blather in action check out the colab notebook! Installation Use the packa

Dan Carroll 16 Nov 07, 2022
Clone a voice in 5 seconds to generate arbitrary speech in real-time

This repository is forked from Real-Time-Voice-Cloning which only support English. English | 中文 Features 🌍 Chinese supported mandarin and tested with

Weijia Chen 25.6k Jan 06, 2023
Easy-to-use CPM for Chinese text generation

CPM 项目描述 CPM(Chinese Pretrained Models)模型是北京智源人工智能研究院和清华大学发布的中文大规模预训练模型。官方发布了三种规模的模型,参数量分别为109M、334M、2.6B,用户需申请与通过审核,方可下载。 由于原项目需要考虑大模型的训练和使用,需要安装较为复杂

382 Jan 07, 2023
Need: Image Search With Python

Need: Image Search The problem is that a user needs to search for a specific ima

Surya Komandooru 1 Dec 30, 2021
A PyTorch implementation of the Transformer model in "Attention is All You Need".

Attention is all you need: A Pytorch Implementation This is a PyTorch implementation of the Transformer model in "Attention is All You Need" (Ashish V

Yu-Hsiang Huang 7.1k Jan 05, 2023
AI_Assistant - This is a Python based Voice Assistant.

This is a Python based Voice Assistant. This was programmed to increase my understanding of python and also how the in-general Voice Assistants work.

1 Jan 06, 2022
PIZZA - a task-oriented semantic parsing dataset

The PIZZA dataset continues the exploration of task-oriented parsing by introducing a new dataset for parsing pizza and drink orders, whose semantics cannot be captured by flat slots and intents.

17 Dec 14, 2022
Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch

N-Grammer - Pytorch Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch Install $ pip install n-grammer-pytorch Usage

Phil Wang 66 Dec 29, 2022
Multilingual finetuning of Machine Translation model on low-resource languages. Project for Deep Natural Language Processing course.

Low-resource-Machine-Translation This repository contains the code for the project relative to the course Deep Natural Language Processing. The goal o

Andrea Cavallo 3 Jun 22, 2022
Python interface for converting Penn Treebank trees to Stanford Dependencies and Universal Depenencies

PyStanfordDependencies Python interface for converting Penn Treebank trees to Universal Dependencies and Stanford Dependencies. Example usage Start by

David McClosky 64 May 08, 2022
Search with BERT vectors in Solr and Elasticsearch

Search with BERT vectors in Solr and Elasticsearch

Dmitry Kan 123 Dec 29, 2022
CCF BDCI BERT系统调优赛题baseline(Pytorch版本)

CCF BDCI BERT系统调优赛题baseline(Pytorch版本) 此版本基于Pytorch后端的huggingface进行实现。由于此实现使用了Oneflow的dataloader作为数据读入的方式,因此也需要安装Oneflow。其它框架的数据读取可以参考OneflowDataloade

Ziqi Zhou 9 Oct 13, 2022
Guide: Finetune GPT2-XL (1.5 Billion Parameters) and GPT-NEO (2.7 B) on a single 16 GB VRAM V100 Google Cloud instance with Huggingface Transformers using DeepSpeed

Guide: Finetune GPT2-XL (1.5 Billion Parameters) and GPT-NEO (2.7 Billion Parameters) on a single 16 GB VRAM V100 Google Cloud instance with Huggingfa

289 Jan 06, 2023
Healthsea is a spaCy pipeline for analyzing user reviews of supplementary products for their effects on health.

Welcome to Healthsea ✨ Create better access to health with spaCy. Healthsea is a pipeline for analyzing user reviews to supplement products by extract

Explosion 75 Dec 19, 2022