Language detection and typos refs #4