28.3 openai identify

20240308

The whisper package provides the functionality for the identify command. We expose the command through the MLHub package.

The identify command will report on the language that the model identifies in the language of the media provided.

We try this out with Indonesia’s President Jokowi’s speech. Download a sample from Togaware:

wget https://access.togaware.com/jokowi.wav

We can ask to identify the language:

ml identify openai jokowi.wav

The result is in csv (comma separated values) format for further processing if required on the command line.

id,Indonesian

Other languages can be identified.

ml identify openai other.wav
ms,Malay
ml identify openai orig.wav
en,English


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0