Create makeCorpFromScoresAndFreqs.py

makeCorpFromScoresAndFreqs.py -- accepts a test (output) file from phoment.py, and a frequency distribution. returns a corpus.

OVERVIEW
by using this tool, the modeler can generate a corpus while controlling the frequency distribution, and independently controlling the wordform/base distribution.
the output file from phoment contains a list of words (left edge of each line), a "disharmony score" (right edge of line), and a constraint violation vector (intervening integers, mostly 0) which is ignored. this describes the *base distribution*, from which new words are sampled

INPUTS
the frequency distribution is a line-separated list of counts, indicating the token count that each distinct wordform should have.

OUTPUTS
the output is a corpus file. normally, segments will be separated by spaces, and words will be separated by ' # '. use the help option to get additional information