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

NLTK Source

Natural Language Toolkit (NLTK) NLTK -- the Natural Language Toolkit -- is a suite of open source Python modules, data sets, and tutorials supporting

Natural Language Toolkit 11.4k Jan 04, 2023
Official Stanford NLP Python Library for Many Human Languages

Official Stanford NLP Python Library for Many Human Languages

Stanford NLP 6.4k Jan 02, 2023
AMUSE - financial summarization

AMUSE AMUSE - financial summarization Unzip data.zip Train new model: python FinAnalyze.py --task train --start 0 --count how many files,-1 for all

1 Jan 11, 2022
Speech Recognition Database Management with python

Speech Recognition Database Management The main aim of this project is to recogn

Abhishek Kumar Jha 2 Feb 02, 2022
Problem: Given a nepali news find the category of the news

Classification of category of nepali news catorgory using different algorithms Problem: Multiclass Classification Approaches: TFIDF for vectorization

pudasainishushant 2 Jan 09, 2022
Create a machine learning model which will predict if the mortgage will be approved or not based on 5 variables

Mortgage-Application-Analysis Create a machine learning model which will predict if the mortgage will be approved or not based on 5 variables: age, in

1 Jan 29, 2022
OpenChat: Opensource chatting framework for generative models

OpenChat is opensource chatting framework for generative models.

Hyunwoong Ko 427 Jan 06, 2023
A natural language modeling framework based on PyTorch

Overview PyText is a deep-learning based NLP modeling framework built on PyTorch. PyText addresses the often-conflicting requirements of enabling rapi

Facebook Research 6.4k Dec 27, 2022
DziriBERT: a Pre-trained Language Model for the Algerian Dialect

DziriBERT is the first Transformer-based Language Model that has been pre-trained specifically for the Algerian Dialect.

117 Jan 07, 2023
A number of methods in order to perform Natural Language Processing on live data derived from Twitter

A number of methods in order to perform Natural Language Processing on live data derived from Twitter

1 Nov 24, 2021
Top2Vec is an algorithm for topic modeling and semantic search.

Top2Vec is an algorithm for topic modeling and semantic search. It automatically detects topics present in text and generates jointly embedded topic, document and word vectors.

Dimo Angelov 2.4k Jan 06, 2023
Lingtrain Aligner — ML powered library for the accurate texts alignment.

Lingtrain Aligner ML powered library for the accurate texts alignment in different languages. Purpose Main purpose of this alignment tool is to build

Sergei Averkiev 76 Dec 14, 2022
TensorFlow code and pre-trained models for BERT

BERT ***** New March 11th, 2020: Smaller BERT Models ***** This is a release of 24 smaller BERT models (English only, uncased, trained with WordPiece

Google Research 32.9k Jan 08, 2023
PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformers

PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformers

Microsoft 105 Jan 08, 2022
jiant is an NLP toolkit

jiant is an NLP toolkit The multitask and transfer learning toolkit for natural language processing research Why should I use jiant? jiant supports mu

ML² AT CILVR 1.5k Jan 04, 2023
Code for the paper "A Simple but Tough-to-Beat Baseline for Sentence Embeddings".

Code for the paper "A Simple but Tough-to-Beat Baseline for Sentence Embeddings".

1.1k Dec 27, 2022
Official PyTorch implementation of "Dual Path Learning for Domain Adaptation of Semantic Segmentation".

Dual Path Learning for Domain Adaptation of Semantic Segmentation Official PyTorch implementation of "Dual Path Learning for Domain Adaptation of Sema

27 Dec 22, 2022
Kinky furry assitant based on GPT2

KinkyFurs-V0 Kinky furry assistant based on GPT2 How to run python3 V0.py then, open web browser and go to localhost:8080 Requirements: Flask trans

Sparki 1 Jun 11, 2022
AI Assistant for Building Reliable, High-performing and Fair Multilingual NLP Systems

AI Assistant for Building Reliable, High-performing and Fair Multilingual NLP Systems

Microsoft 37 Nov 29, 2022
Summarization module based on KoBART

KoBART-summarization Install KoBART pip install git+https://github.com/SKT-AI/KoBART#egg=kobart Requirements pytorch==1.7.0 transformers==4.0.0 pytor

seujung hwan, Jung 148 Dec 28, 2022