Getting source and target words, compiling