Generating Landmark .lm and lexicon. TODO: write extendLexicon()