CYGNUS, the Cynical AI, combines snarky responses with uncanny aggression.

Overview

C.Y.G.N.U.S AI

CYGNUS, the Cynical AI, combines snarky responses with uncanny aggression. (because JARVIS as a little piece of shit is the best headcanon ever!) Using Speech Recognition as user input, Cygnus can perform several simple tasks with a voice feedback.

Some things Cygnus can do:

Online Operations
# get my IP
# search Wikipedia
# play Youtube Videos
# search Google Web & Google Scholar
# send Whatsapp Message (as long as logged into Whatsapp for Web)
# send Email
# get News (latest headlines)
# predict Weather & Time
# perform calculations through Wolfram Alpha
# get Trending Movies through TMDB
# get Random Space Facts from: fungenerators.com (for fun & because I love Space)
# get Random Jokes from: icanhazdadjoke.com (again, for fun)
# get Random Advice from: api.adviceslip.com (again, for fun purposes)

Offline Operations
# open Webcam Notepad, Calculator
# open Microsoft Word, Powerpoint, Spreedsheets
# open Computer Health, Settings, CMD
# open 4K Downloader, Photoshop, Skype, Unity Editor, iTunes (if you have these programs installed)
# Be a Snarky, Witty Talk-back AI Bot

System Requirements (install using pip)

CYGNUS works primarily on Python for now and requires the below mentioned imports to work:

import speech_recognition as sr
import pyttsx3
import wikipedia
import wikipediaapi
import time
import wolframalpha
import json
import requests
from newsapi import NewsApiClient
import pywhatkit as kit
from turtle import *

In-built libraries:

Below mentioned libraries are pre-installed with Python but still need to be imported:

import os
import datetime
import webbrowser
import subprocess
from decouple import config  
from datetime import datetime
from random import choice 
from email.message import EmailMessage
import smtplib

Project Specific Imports:

Below mentioned imports are project specific files that contain the online and offline functions that make CYNUS work.

# imports from fun_codes.py file in the functions folder
from functions.fun_codes import heart, finger   

# imports from the online_ops.py file in the functions folder 
from functions.online_ops import search_wikipedia, play_youtube, search_google, send_email, my_ip, weather_report, \
    get_news, wolfram_alpha, google, links, playlist, dunyazatde, scholar  

# imports from the os_ops.py file in the functions folder
from functions.os_ops import paths, open_notepad, open_webcam, open_cmd, open_calculator, \
    open_powerpoint, open_spreadsheets, open_health, open_downloader, open_photoshop, \
    open_skype, open_unity, open_itunes, open_settings

# imports from the utils.py file
from utils import opening_text, hello, nothing, who_you, sorry, be_my_friend, \
    what_is_life, like_you, hate_you, rude, am_good, how_are_you, your_age, my_name, \
    who_made_you, favorite_song, bored, favorite_actor, favorite_book, \
    favorite_author, favorite_story, favorite_movie, location, dreams, work

Commands

Below is a list of some of the commands you can try giving the AI:

"search Wikipedia" or "Wikipedia" to open Wikipedia API

"open YouTube" or "i want to watch YouTube" or "YouTube" to play YouTube Video

"open Google" to open Google in the browser

"search google" to open search keyword in Google browser

"homework help" or "homework" or "help me with school" to open Google Scholar

"weather" or "how is the weather" to open Weather predictions for your city

"time" or "what is the time" to open time prediction

"news" to open Latest Trending News stories in NewsApi

"calculate" or "math help" to open Wolfram Alpha for calculations

"log off" or "sign out" to shut down the program

Please also try talking to the AI, asking random questions beyond the normal tasks listed above.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Copyright Exclusive to Simran Farrukh

code for "AttentiveNAS Improving Neural Architecture Search via Attentive Sampling"

AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling This repository contains PyTorch evaluation code, training code and pretrain

Facebook Research 94 Oct 26, 2022
A simple recipe for training and inferencing Transformer architecture for Multi-Task Learning on custom datasets. You can find two approaches for achieving this in this repo.

multitask-learning-transformers A simple recipe for training and inferencing Transformer architecture for Multi-Task Learning on custom datasets. You

Shahrukh Khan 48 Jan 02, 2023
DeBERTa: Decoding-enhanced BERT with Disentangled Attention

DeBERTa: Decoding-enhanced BERT with Disentangled Attention This repository is the official implementation of DeBERTa: Decoding-enhanced BERT with Dis

Microsoft 1.2k Jan 03, 2023
Code for lyric-section-to-comment generation based on huggingface transformers.

CommentGeneration Code for lyric-section-to-comment generation based on huggingface transformers. Migrate Guyu model and code (both 12-layers and 24-l

Yawei Sun 8 Sep 04, 2021
🦆 Contextually-keyed word vectors

sense2vec: Contextually-keyed word vectors sense2vec (Trask et. al, 2015) is a nice twist on word2vec that lets you learn more interesting and detaile

Explosion 1.5k Dec 25, 2022
official ( API ) for the zAmericanEnglish app in [ Google play ] and [ App store ]

official ( API ) for the zAmericanEnglish app in [ Google play ] and [ App store ]

Plugin 3 Jan 12, 2022
LightSpeech: Lightweight and Fast Text to Speech with Neural Architecture Search

LightSpeech UnOfficial PyTorch implementation of LightSpeech: Lightweight and Fast Text to Speech with Neural Architecture Search.

Rishikesh (ऋषिकेश) 54 Dec 03, 2022
Interpretable Models for NLP using PyTorch

This repo is deprecated. Please find the updated package here. https://github.com/EdGENetworks/anuvada Anuvada: Interpretable Models for NLP using PyT

Sandeep Tammu 19 Dec 17, 2022
GPT-Code-Clippy (GPT-CC) is an open source version of GitHub Copilot, a language model

GPT-Code-Clippy (GPT-CC) is an open source version of GitHub Copilot, a language model -- based on GPT-3, called GPT-Codex -- that is fine-tuned on publicly available code from GitHub.

Nathan Cooper 2.3k Jan 01, 2023
TLA - Twitter Linguistic Analysis

TLA - Twitter Linguistic Analysis Tool for linguistic analysis of communities TLA is built using PyTorch, Transformers and several other State-of-the-

Tushar Sarkar 47 Aug 14, 2022
SNCSE: Contrastive Learning for Unsupervised Sentence Embedding with Soft Negative Samples

SNCSE SNCSE: Contrastive Learning for Unsupervised Sentence Embedding with Soft Negative Samples This is the repository for SNCSE. SNCSE aims to allev

Sense-GVT 59 Jan 02, 2023
Long text token classification using LongFormer

Long text token classification using LongFormer

abhishek thakur 161 Aug 07, 2022
NLP library designed for reproducible experimentation management

Welcome to the Transfer NLP library, a framework built on top of PyTorch to promote reproducible experimentation and Transfer Learning in NLP You can

Feedly 290 Dec 20, 2022
Neural network sequence labeling model

Sequence labeler This is a neural network sequence labeling system. Given a sequence of tokens, it will learn to assign labels to each token. Can be u

Marek Rei 250 Nov 03, 2022
Python implementation of TextRank for phrase extraction and summarization of text documents

PyTextRank PyTextRank is a Python implementation of TextRank as a spaCy pipeline extension, used to: extract the top-ranked phrases from text document

derwen.ai 1.9k Jan 06, 2023
NL-Augmenter 🦎 → 🐍 A Collaborative Repository of Natural Language Transformations

NL-Augmenter 🦎 → 🐍 The NL-Augmenter is a collaborative effort intended to add transformations of datasets dealing with natural language. Transformat

684 Jan 09, 2023
A text augmentation tool for named entity recognition.

neraug This python library helps you with augmenting text data for named entity recognition. Augmentation Example Reference from An Analysis of Simple

Hiroki Nakayama 48 Oct 11, 2022
NLP-SentimentAnalysis - Coursera Course ( Duration : 5 weeks ) offered by DeepLearning.AI

Coursera Natural Language Processing Specialization This repository contains material related to Coursera Natural Language Processing Specialization.

Nishant Sharma 1 Jun 05, 2022
This repository contains all the source code that is needed for the project : An Efficient Pipeline For Bloom’s Taxonomy Using Natural Language Processing and Deep Learning

Pipeline For NLP with Bloom's Taxonomy Using Improved Question Classification and Question Generation using Deep Learning This repository contains all

Rohan Mathur 9 Jul 17, 2021