Useful RegEdit Commands

Posted by in Windows

Disable Firefox Update Prompt run in cmd reg ADD HKLM\SOFTWARE\Policies\Mozilla\Firefox /v DisableAppUpdate /t REG_DWORD /d 1 /f or run ff_update_dis.reg Disable Windows Keys reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoWinKeys /t REG_DWORD /d 1 /f or run win_key_dis.reg

RegEx: My Greatest Fear

Posted by in Linux

Regex, Sed, and AWK are freaks in programming but they are pretty simple, well not at the beginning though. Here I summarize some of the most amazing ones for RegEx To Be or Not To Be, is possible with: LookAround Stop Worrying! Regex101 is all you need to know

Qt MSVC vs MinGW

Posted by in Windows

So exciting that even after 13 years of introducing to Qt by my great teacher, Mani Monajjemi there’s still a lot to learn. I was trying to use WinRT with Qt today and now after so long time sticking to MinGW, I’m switching to MSVC. Here are the 4 reasons MinGW is opensource but deep…

COM Object and C++

Posted by in Windows

• CoInitialize: Initializes the COM library for use by the calling thread, sets the thread’s concurrency model, and creates a new apartment • CoInitializeEx: More advanced version CoInitialize that specify the thread’s concurrency model • CoUninitialize: Should be called on deconstructor

And Bash Is Awesome!!!

Posted by in Linux, Uncategorized

Here I list cool bash tricks I learned: – Bash Heredoc

Chrome DevTools Remote Control in Linux Bash

Posted by in Linux

Ok the title is a bit long but why google create such a nice debug interface and make it so difficult to access it. 1. open chrome with remote debug enabled chromium –remote-debugging-port=9222 2. Install websocat to create websocket to chrome sudo pacman -S websocat 3. Find magic chrome ws url. To do that…

Kaldi Confidence Score

Posted by in Speech Recognition

To calculate word level confidence score Kaldi uses a method called MBR Decoding. MBR Decoding is a decoding process that minimize word level error rate (instead of minimizing the whole utterance cost) to calculate the result. This may not give the accurate result but can be use to calculate the confidence score up to some…

Kaldi Delta Features

Posted by in Speech Recognition

Delta-Delta feature is proposed in 1986 by S. Furui and Hermann Ney in 1990. It’s simply add first and second derivative of cepstrum to the feature vector. By doing that they say it can capture spectral dynamics and improve overall accuracy. The only problem is that in a discrete signal space getting derivative from the…

Kaldi FSTs Jargons

Posted by in Speech Recognition

• Lattices: Are a graph containing states(nodes) and arcs(edges). which each state represent one 10ms frame • Arcs: Are start from one state to another state. Each state arcs can be accessed with arc iterator and arcs only retain their next state. each arcs have weight and input and output label. • States: Are simple…

Kaldi Lattice Decoder

Posted by in Speech Recognition

• Link: Same as arc • Token: Are same as state. They have costs • FrameToks: A link list that contain all tokens in a single frame • Adaptive Beam: Used in pruning before creating lattice and through decoding • NEmitting Tokens: Non Emitting Tokens or NEmitting Tokens are tokens that generate from emitting token…

‹ previous posts