Git Product home page Git Product logo

ai_reader's Introduction

Overview

This code will reword an input phrase from the user using Google's Parsey McParseface parser. More information can be found in the original repo. This the code for 'Build an AI Reader' on Youtube

Dependencies

  • Python 2.7 - (https://www.python.org/downloads/)
  • bazel - instructions here
  • swig brew install swig
  • protobuf pip install -U protobuf==3.0.0b2
  • asciitree pip install -U protobuf==3.0.0b2
  • numpy pip install numpy

Use pip to install any missing dependencies

Basic Usage

Step 1 - Build from source

  cd syntaxnet/tensorflow
  ./configure
  cd ..
  bazel test syntaxnet/... util/utf8/...
  # On Mac, run the following:
  bazel test --linkopt=-headerpad_max_install_names \
    syntaxnet/... util/utf8/...

Step 2 - Run the demo class with an input phrase of your choice

cd syntaxnet
python test.py find me a restaurant in san francisco

Sample output:

Intent is: discover restaurant

Credits

Credit for the vast majority of code here goes to The SyntaxNet team at Google. I've merely created a wrapper around some of the important functions to get people started.

ai_reader's People

Contributors

argszero avatar bigsnarfdude avatar calberti avatar credentiality avatar daviddao avatar ffmpbgrnn avatar flipace avatar itsmeolivia avatar jalateras avatar jmchen-g avatar keveman avatar knathanieltucker avatar liberifatali avatar llsourcell avatar lukaszkaiser avatar lukelafountaine avatar martinwicke avatar moonboots avatar mrry avatar mzweilin avatar n-kats avatar orionr avatar psycharo avatar raspat1 avatar sdierauf avatar sguada avatar snurkabill avatar swlsw avatar testbounty avatar tvogels avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.