an easy impletment of CdetLGT wfst