add phrase extractor and decoder from aukejw/alt-ram2013