Finished porting Language Detection demo.