Build cppjieba to webassembly and run on web worker ✂️
Download and install emscripten Guide
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
# Download and install the latest SDK tools.
./emsdk install latest
# Make the "latest" SDK "active" for the current user.
./emsdk activate latest
# Activate PATH and other environment variables in the current terminal
source ./emsdk_env.sh
git clone --recurse-submodules git@github.com:YingshanDeng/wasm-cppjieba.git
npm run build
open this link in the browser: http://localhost:8081/demo/index.html