Build the standalone Java library using Apache Maven:
mvn clean package -DskipTestsThe compiled output will be generated at:
target/FastTokenize-0.1.1.jar
To compile the optional native hardware acceleration library (fasttokenize.dll on Windows x64):
- Open Visual Studio x64 Native Tools Command Prompt.
- Run the build script:
compile.batThis compiles native/src/fasttokenize_simd.cpp with /arch:AVX2 optimization and outputs src/main/resources/win32-x86-64/fasttokenize.dll.