Onur Çelebi c95dd78728 wasm compilation issue fix 5 vuotta sitten
..
doc 13096686fc WebAssembly 5 vuotta sitten
README.md 13096686fc WebAssembly 5 vuotta sitten
fasttext.js 13096686fc WebAssembly 5 vuotta sitten
fasttext_wasm.cc c95dd78728 wasm compilation issue fix 5 vuotta sitten

README.md

fastText CircleCI

fastText is a library for efficient learning of word representations and sentence classification.

In this document we present how to use fastText in a browser with WebAssembly.

Requirements

fastText builds on modern Mac OS and Linux distributions. Since it uses C++11 features, it requires a compiler with good C++11 support. You will need emscripten and a browser that supports WebAssembly.

Building WebAssembly binaries

First, download and install emscripten sdk as described here

Make sure you activated the PATH for emscripten:

$ source /path/to/emsdk/emsdk_env.sh

Clone our repository.

$ git clone [email protected]:facebookresearch/fastText.git

Build WebAssembly binaries:

$ cd fastText
$ make wasm