Friday, August 09, 2024

Go => WASM => JavaScript => Web

 Integrate Go Library into a JavaScript Webpage with WebAssembly

Sentences is a Go library for sentence tokenization written by Eric Bower and published as open source on GitHub. Since you cannot run Go code in the browser natively, only JavaScript, there is the idea of using WebAssembly to integrate the library into a website.


convert a blob of text into a list of sentences.

No comments: