To run
see quick start http://www-lium.univ-lemans.fr/diarization/doku.php/quick_start
/usr/bin/java -Xmx2024m -jar ./lium_spkdiarization-8.4.1.jar --fInputMask=./norman_door.mp4.temp.wav --sOutputMask=./showName.seg --doCEClustering showName
/usr/bin/java -Xmx2024m -jar ./lium_spkdiarization-8.4.1.jar --fInputMask=./Bowman_trimmed.wav --sOutputMask=./showName2.seg --doCEClustering showName
with LIUM, you get the *.c.seg
file and you load it as CSV with custom separator (space)
in node? yeah, I would exec LIUM java ...
via https://www.npmjs.com/package/shelljs then read the *.c.seg
file with https://www.npmjs.com/package/node-json-csv using space as delimiter
https://www.npmjs.com/package/shelljs
https://www.npmjs.com/package/node-json-csv
or any other CSV parser that accepts custom separator (node-json-csv seems dead on github)