Giter VIP home page Giter VIP logo

lafwebpy's Introduction

Not Maintained

Note, this project has been succeeded by parabible. Code for the client available at https://github.com/parabible/parabible-server

Lafwebpy - Query the Hebrew OT

Lafwebpy is a python server (using bottle) that exposes ETCBC Hebrew data (using text-fabric) and provides api access to it to return (1) parsing data on words as well as (2) search results and (3) collocations based on search terms.

To interact with all this goodness, we need a fantastic frontend. Enter react-lafwebpy-client.* To use these repositories, clone them both to a parent directory. Lafwebpy is going to serve static content from ../react-lafwebpy-client/build so directory structure is important. React-lafwebpy-client should be good to go (everything is built) but it uses webpack so you can npm install and start playing around with it if you so desire.

To run Lafwebpy, you need text-fabric and bottle. You also need the text-fabric-data. Then you just cd into this directory and:

python3 index.py

Finally, visit localhost:8080/ in your favourite browser.

Optionally, you can specify a port like this:

python3 index.py 8000

NB: Make sure you have 2-4GB of RAM free before doing this or your machine may lock up...

* I find that naming projects kills them, so I prefer to giving them the clunkiest names that immediately spring to mind and that way I work night and day on making them awesome. Lafwebpy is a legacy name that comes from laffabric - the previous implementation of what text-fabric now does a lot better.

lafwebpy's People

Contributors

jcuenod avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

lafwebpy's Issues

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.