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

Wake: Context-Sensitive Automatic Keyword Extraction Using Word2vec

Wake Wake: Context-Sensitive Automatic Keyword Extraction Using Word2vec Abstract استخراج خودکار کلمات کلیدی متون کوتاه فارسی با استفاده از word2vec ب

Omid Hajipoor 1 Dec 17, 2021
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
GPT-2 Model for Leetcode Questions in python

Leetcode using AI 🤖 GPT-2 Model for Leetcode Questions in python New demo here: https://huggingface.co/spaces/gagan3012/project-code-py Note: the Ans

Gagan Bhatia 100 Dec 12, 2022
Full Spectrum Bioinformatics - a free online text designed to introduce key topics in Bioinformatics using the Python

Full Spectrum Bioinformatics is a free online text designed to introduce key topics in Bioinformatics using the Python programming language. The text is written in interactive Jupyter Notebooks, whic

Jesse Zaneveld 33 Dec 28, 2022
Galois is an auto code completer for code editors (or any text editor) based on OpenAI GPT-2.

Galois is an auto code completer for code editors (or any text editor) based on OpenAI GPT-2. It is trained (finetuned) on a curated list of approximately 45K Python (~470MB) files gathered from the

Galois Autocompleter 91 Sep 23, 2022
End-to-End Speech Processing Toolkit

ESPnet: end-to-end speech processing toolkit system/pytorch ver. 1.0.1 1.1.0 1.2.0 1.3.1 1.4.0 1.5.1 1.6.0 1.7.1 1.8.1 ubuntu18/python3.8/pip ubuntu18

ESPnet 5.9k Jan 03, 2023
Malware-Related Sentence Classification

Malware-Related Sentence Classification This repo contains the code for the ICTAI 2021 paper "Enrichment of Features for Malware-Related Sentence Clas

Chau Nguyen 1 Mar 26, 2022
A python wrapper around the ZPar parser for English.

NOTE This project is no longer under active development since there are now really nice pure Python parsers such as Stanza and Spacy. The repository w

ETS 49 Sep 12, 2022
The Classical Language Toolkit

Notice: This Git branch (dev) contains the CLTK's upcoming major release (v. 1.0.0). See https://github.com/cltk/cltk/tree/master and https://docs.clt

Classical Language Toolkit 754 Jan 09, 2023
TPlinker for NER 中文/英文命名实体识别

本项目是参考 TPLinker 中HandshakingTagging思想,将TPLinker由原来的关系抽取(RE)模型修改为命名实体识别(NER)模型。

GodK 113 Dec 28, 2022
BPEmb is a collection of pre-trained subword embeddings in 275 languages, based on Byte-Pair Encoding (BPE) and trained on Wikipedia.

BPEmb is a collection of pre-trained subword embeddings in 275 languages, based on Byte-Pair Encoding (BPE) and trained on Wikipedia. Its intended use is as input for neural models in natural languag

Benjamin Heinzerling 1.1k Jan 03, 2023
DAGAN - Dual Attention GANs for Semantic Image Synthesis

Contents Semantic Image Synthesis with DAGAN Installation Dataset Preparation Generating Images Using Pretrained Model Train and Test New Models Evalu

Hao Tang 104 Oct 08, 2022
a chinese segment base on crf

Genius Genius是一个开源的python中文分词组件,采用 CRF(Conditional Random Field)条件随机场算法。 Feature 支持python2.x、python3.x以及pypy2.x。 支持简单的pinyin分词 支持用户自定义break 支持用户自定义合并词

duanhongyi 237 Nov 04, 2022
Unsupervised Abstract Reasoning for Raven’s Problem Matrices

Unsupervised Abstract Reasoning for Raven’s Problem Matrices This code is the implementation of our TIP paper. This is the first unsupervised abstract

Tao Zhuo 9 Dec 17, 2022
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
🐍 A hyper-fast Python module for reading/writing JSON data using Rust's serde-json.

A hyper-fast, safe Python module to read and write JSON data. Works as a drop-in replacement for Python's built-in json module. This is alpha software

Matthias 479 Jan 01, 2023
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
A Transformer Implementation that is easy to understand and customizable.

Simple Transformer I've written a series of articles on the transformer architecture and language models on Medium. This repository contains an implem

Naoki Shibuya 4 Jan 20, 2022
The code for two papers: Feedback Transformer and Expire-Span.

transformer-sequential This repo contains the code for two papers: Feedback Transformer Expire-Span The training code is structured for long sequentia

Meta Research 125 Dec 25, 2022
Python powered crossword generator with database with 20k+ polish words

crossword_generator Generate simple crossword puzzle from words and definitions fetched from krzyżowki.edu.pl endpoints -/ string:word - returns js

0 Jan 04, 2022