For current task I need to create a solution how to detect if some video or audio of Chinese speech is Mandarin or Cantonese (for now I do not need others dialects).
For example, there is almost 100% solution to search for radio/TV in USA/Honk Kong or others locations where Cantonese is main dialect. Canada doesn't work due it has 50/50 for Mandarin/Cantonese. For Mandarin is simpler, just search sources from Mainland China.
But there is also another part - YouTube videos. I didn't find a way to detect dialect of speech in video. Auto-subtitles shows only text version which is in Simplified Chinese (written).
Also, there was an idea about searching for -p, -t or -k endings in speech (due Mandarin does not have them any more). I think it is quite good solution but not the best - others dialects have them too.
So my question is - Do you know or maybe have an idea how to detect Cantonese/Mandarin dialect in speech video automatically or using subtitles? Maybe there is a list of Mandarin/Cantonese only characters?