https://9lib.co/document/zlgvlv3o-match-finite-state-vector-quantization-using-neural-networks.html