Better HN
topnewbestaskshowjobs
Log inSign up

rthy

14 karma · joined Dec 15, 2018 (7y ago) · 4 submissions

Submissions

1.

TF.text: Text Processing in Tensorflow(medium.com ↗)

2 points · by rthy · 7y ago · discuss

comment 7y ago · link · parent

I have been experimenting with tokenization in Rust in https://github.com/rth/vtext, mostly relying on Unicode segmentation with a few custom rules for tokenization. The obtained performance was also around 10x faster than spacy for comparable precision (see benchmarks section of the readme).

comment 7y ago · link · parent

Alternatively, the toolz package ( https://toolz.readthedocs.io/en/latest/ ) is a nice way of getting some additional functional programming capabilities while using the standard CPython interpreter.

comment 7y ago · link · parent

An example of compiling the CPython interpreter to WebAssembly can be found in Pyodide (https://github.com/iodide-project/pyodide/).