Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

TinyLD - JS Language Detection

node v18.11.0
version: 1.3.0
endpointsharetweet
// Welcome to the TinyLD Playground const { detect, detectAll } = require("tinyld") // Detect console.log('> Basic language detection') console.log(detect("Hi there, how are you o/")) // en console.log(detect('これは日本語です.')) // ja // DetectAll console.log('> More advanced language detection') console.log(detectAll('ceci est un text en francais.'))
Loading…

no comments

    sign in to comment