Futhon is a programming language designed for Natural Language Processing and Machine Learning.
Python GAP
Switch branches/tags
Nothing to show
Clone or download
Latest commit dc1a927 Oct 31, 2016

README.md

Futhon Programming Language

Build Status Code Climate

Futhon is a programming language designed for Natural Language Processing and Machine Learning.

Try!

Python 3.5+ is required.

$ git clone https://github.com/delihiros/futhon.git
$ cd futhon
$ pip install -r requirements.txt -r test-requirements.txt
$ python src/repl.py

Test

python setup.py test

Example

(def np (import numpy))
(def chainer (import chainer))

(def l1 (chainer.links.Linear 4 3))
(def l2 (chainer.links.Linear 3 2))

(def my-forward
  (fn [x] (l2 (l1 x))))

(def x (.astype (np.array [[1 2 3 4]]) np.float32))

(.data (my-forward x))
; [[-1.02830815  0.6110245 ]]

Primitives

class

Flow

flow