title: spacy create new language model with data from corpus
body: <p>I am trying to create a new language model (Luxembourgish) in spaCy, but I am confused on how to do this. </p>
  
  <p>I followed the <a href="https://spacy.io/usage/adding-languages" rel="noreferrer">instructions on their website</a> and did a similar thing as in <a href="https://stackoverflow.com/questions/47196799/how-write-code-and-run-pythons-files-using-spacy-using-windows/47233007#47233007">this post</a>. But what I do not understand is, how to add data like a vocab or wordvectors. (e.g. "fill" the language template) </p>
  
  <p>I get that there are some <a href="https://github.com/explosion/spacy-dev-resources" rel="noreferrer">dev tools</a> for same of these operations, but their execution is poorly documented so I do not get how to install and use them properly, especially as they seem to be in python 2.7 which clashes with my spacy installation as it uses python 3.</p>
  
  <p>As for now I have a <code>corpus.txt</code> (from a wikipediadump) on which I want to train and a language template with the defaults like <code>stop_words.py</code>, <code>tokenizer_exceptions.py</code> etc. that I created and filled by hand.</p>
  
  <p>Anyone ever done this properly and could help me here?</p>