在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ritwik12/Virtual-Assistant开源软件地址:https://github.com/ritwik12/Virtual-Assistant开源编程语言:C 97.5%开源软件介绍:Virtual-AssistantA virtual assistant is a software agent that can perform tasks or services for an individual. The term ”chatbot” is also used to refer to virtual assistants. Remember the time, when you were watching Iron Man and wondered to yourself, how cool it would be if you had your own J.A.R.V.I.S? Well, It's time to make that dream into a reality. Artificial intelligence is the next gen. Imagine how cool it would be if you had your friends over at your house, and all of a sudden you go, "Hey JARVIS, show me some memes.", and JARVIS goes "Sure, sir. Here are the latest Italian memes.", whilst showing you the funniest Italian memes. Cool right? Well, this is not exactly a chatbot nor JARVIS but to understand it better it is good to know about both. Virtual assistants use Artificial Intelligence to match user text input to executable commands. It can provide a wide variety of services, These includes:
How it all works?The user's sentence is read and passed through our Natural Language Processing (NLP) code for processing. After the sentence is processed, it's redirected to the action to be performed based on the meaning of the sentence. Our NLP code uses a simplified version of the Multinomial Naive Bayes Algorithm. The following actions can be performed:
If the virtual assistant does not understand the user’s sentence, a Google search performed. Artificial IntelligenceSimplified Multinomial Naive Bayes Algorithm Each classification contains a set of sentences that inputs are matched to. Scores are assigned based on the occurrence of words of an input sentence for each of the classifications. Scores measure the commonality of an input sentence to a classification. The commonality between words and the classifications are important. For example, matching the word “it” is considerably less meaningful than a match for the word “cheese”. The input sentence is assigned the classification of the highest score. This is a simplification as words need to be reduced to their stems. A sample training set: Let’s classify a few sample input sentences: Notice that the classification for “What’s it like outside” found a term in another class but the term similarities to the desired class produced a higher score. By using an equation we are looking for word matches given some sample sentences for each class, and we avoid having to identify every pattern. SetupFor Ubuntu (Debian-based Linux)This program uses GNUstep speech engine for the purpose of text to speech. To use this feature few commands are needed: say converts text to audible speech using the GNUstep speech engine.
Firefox is needed to perform browser tasks such as opening google and youtube.
In addition to this, following commands are needed to install the necessary packages.
For Fedora (RHEL-based Linux)This program uses Espeak for the purpose of text to speech. espeak converts text to audible speech.
Firefox is needed to perform browser tasks such as opening google and youtube.
In addition to this, following commands are needed to install the necessary packages.
For macOSGNUstep can be cross-compiled from Linux to run on Apple's macOS, (See: http://wiki.gnustep.org/index.php/Cross_Compiling).
CompileTo compile with make:
then execute using To remove all build files
To remove the changes
To compile with gcc:
RestaurantVirtual Assistant can find restaurants in an area. WeatherThis feature requires curl. To use this feature you need to first install curl as follows-
Or
MediaVirtual assistant can play any audio or video files of your choice. For playing media files vlc is needed. Get it here
Or
Or
Youtube SearchVirtual assistant can search anything on youtube.
This will show all the videos on youtube related to Artificial Intelligence. Artificial Intelligence is an example here, you can use anything you want to search. Google SearchVirtual assistant can search anything on Google. CalendarVirtual assistant can show calendar of any year.
EmailsIn order to send emails using Virtual-Assistant, you need to allow access from less secure apps on your gmail account.
Open your gmail account on any browser, click on profile pick and then Access the gmail service using Reminder and ScheduleYou can schedule your appointments and work using Virtual-Assistant. It will remind you of the appointments you have on a particular day. You can also access your schedule for any other day by just using the correct words. In order to add a reminder simply say Every time you run the Virtual-Assistant you will receive notifications of your schedule for that day. If you wish to access schedule for any other day you can say Arithmetic CalculationsVirtual assistant can perform calculations for you, use Use For long arithmetic expressions, the assistant can bring up the calculator for you by using HelpDon't know how to use? Here use help command
Contributing Guide
Want to ask something?Please ask on FAQ or mail me at [email protected] Licenseritwik12/Virtual-Assistant is licensed under the GNU General Public License v3.0 Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.
CreditsThis project intitiated with contributions by Riya and Ritwik. The project is much better and improving with the help of some awesome contributors.
Contributors |
Riya |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论