public Distributions(Map<String, Distribution> distributions) { this.grammars = getDistribution(distributions, "grammar"); this.nounPhrase = getDistribution(distributions, "np"); this.verbPhrase = getDistribution(distributions, "vp"); this.prepositions = getDistribution(distributions, "prepositions"); this.nouns = getDistribution(distributions, "nouns"); this.verbs = getDistribution(distributions, "verbs"); this.articles = getDistribution(distributions, "articles"); this.adjectives = getDistribution(distributions, "adjectives"); this.adverbs = getDistribution(distributions, "adverbs"); this.auxiliaries = getDistribution(distributions, "auxillaries"); this.terminators = getDistribution(distributions, "terminators"); this.orderPriorities = getDistribution(distributions, "o_oprio"); this.shipInstructions = getDistribution(distributions, "instruct"); this.shipModes = getDistribution(distributions, "smode"); this.returnFlags = getDistribution(distributions, "rflag"); this.partContainers = getDistribution(distributions, "p_cntr"); this.partColors = getDistribution(distributions, "colors"); this.partTypes = getDistribution(distributions, "p_types"); this.marketSegments = getDistribution(distributions, "msegmnt"); this.nations = getDistribution(distributions, "nations"); this.regions = getDistribution(distributions, "regions"); }