All Projects → n3a9 → vera

n3a9 / vera

Licence: MIT license
Winner of LA Hack's Award Best Use of Wolfram Tech 🎉 An AI system to determine if a given statement is true or false.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vera

OCRVisualizer
Microsoft Cognitive Services, Computer Vision API, OCR Visualizer on documents
Stars: ✭ 19 (+18.75%)
Mutual labels:  microsoft-cognitive-services
HackerNews
A .NET MAUI app for displaying the top posts on Hacker News that demonstrates text sentiment analysis gathered using artificial intelligence
Stars: ✭ 184 (+1050%)
Mutual labels:  microsoft-cognitive-services
Facial-Recognition-Attendance-System
An attendance system which uses facial recognition to detect which people are present in any image.
Stars: ✭ 48 (+200%)
Mutual labels:  microsoft-cognitive-services
PSCognitiveService
Powershell module to access Microsoft Azure Machine learning RESTful API's or Microsoft cognitive services
Stars: ✭ 46 (+187.5%)
Mutual labels:  microsoft-cognitive-services
Fovea
A CLI for the Google, Clarifai, Rekognition (AWS), Imagga, Watson, SightHound, and Microsoft Computer Vision APIs.
Stars: ✭ 37 (+131.25%)
Mutual labels:  microsoft-cognitive-services
DocumentTranslation
Command Line tool and Windows application for document translation, a local interface to the Azure Document Translation service for Windows, macOS and Linux.
Stars: ✭ 61 (+281.25%)
Mutual labels:  microsoft-cognitive-services
Cognitive-Face-Xamarin
A client library that makes it easy to work with the Microsoft Cognitive Services Face API on Xamarin.iOS, Xamarin.Android, and Xamarin.Forms and/or Portable Class Libraries.
Stars: ✭ 18 (+12.5%)
Mutual labels:  microsoft-cognitive-services
msbotbuilder-go
Microsoft Bot Framework SDK for Go
Stars: ✭ 113 (+606.25%)
Mutual labels:  microsoft-cognitive-services
MolecularGraph.jl
Graph-based molecule modeling toolkit for cheminformatics
Stars: ✭ 144 (+800%)
Mutual labels:  mcs
mcs-lite
🎛 MCS Lite Common UI and Websites.
Stars: ✭ 75 (+368.75%)
Mutual labels:  mcs
mcs-lite-app
An on-premises Internet of Things cloud platform, which can be quickly built and get started with.
Stars: ✭ 30 (+87.5%)
Mutual labels:  mcs
LexicalRichness
😸 💬 A small module to compute textual lexical richness (aka lexical diversity).
Stars: ✭ 42 (+162.5%)
Mutual labels:  linguistic-analysis

Vera lahacks badge

An artificial intelligence system based on machine learning and linguistic analysis to determine if a given statement is true or false.

Nowadays, information is more accessible than ever. Often, people are surrounded with information from a million different sources, each claiming something or another. Along with these unstable times in our country, we determined that there should be a way to check the validity of a statement.

At LAHacks 2017, we built an artificial intelligence system that uses machine learning from the Microsoft Cognitive Services to help determine whether a given statement is true or false.

Check it out at https://verafy.me.

screen shot 2017-04-02 at 7 22 51 am

How it works

We used Microsoft Cognitive Services (MCS) Language Analytics to pick apart the parts of speech in the statement, and break it down in subject, verb, and descriptor (e.g. The sky (subject) is (verb) blue (descriptor)). The statement is subject to several algorithms.

  1. Firstly, we check if MCS Web Language Model can predict one half of the statement from the first half (making it likely to be true). For example, we can predict that “1919” will likely follow the phrase “UCLA was founded in”.

  2. Second, we check whether the negative version of the statement is more or less likely to be predicted by MCS, using Big Huge Thesaurus to find antonyms. With Vera.fy, we were able to validate Donald Trump’s quote that “there has been a tremendous surge of optimism in the business world” using our second method.

  3. Thirdly, we deployed our own API with Wolfram’s Cloud Development Platform to identify the topic of the statement, find descriptors in the same category and compare them with the current descriptor with MCS to see which one is the most plausible. For example, in the phrase, “Boeing is an aerospace company” is a much likely statement than: Boeing is an agricultural company.

  4. Finally, if all else fails, we determine the validity of the statement based on how likely MCS the words in the sentence to follow each other. For example, “Obama hates cheese.“ is just not a very common sentence.

We also account for negation in the statements and for a completely true sentence, not a partially true sentence. We are still improving the AI, and hope to make it process more complex sentences, and differentiate common myths (e.g. “Obama was not born in America”) from popular truths.

Technologies Used

Built using Python and Django. Connected with Microsoft Cognitive Services API, Wolfram API, and Big Huge Thesaurus.

Deployed using Heroku.

Build and Run

Install dependencies with $ pip install -r requirements.txt.

To run the server in development mode, run export VERAFY_DEBUG=True. To run the server in production mode, run export VERAFY_DEBUG=False. Production mode is the default, if VERAFY_DEBUG is not set.

Then, run with $ python manage.py runserver and go to http://127.0.0.1:8000/.

Contributors

Kyle & Alex & Ankur & Neeraj

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].