/** * Exactly the same as sampleFrom(), needed for the Sampler interface. */ @Override public E drawSample() { return sampleFrom(); }
/** * A method to draw a sample, providing an own random number generator. * Needed for the ProbabilityDistribution interface. */ @Override public E drawSample(Random random) { return sampleFrom(random); }
/** * Samples over words regardless of POS: first samples POS, then samples * word according to that POS * * @return a sampled word */ public String sampleFrom() { String POS = POSDistribution.sampleFrom(); return sampleFrom(POS); }
Symbol gen = d.sampleFrom(); genLoop: while (gen != Symbol.END_WORD) { gen = d.sampleFrom();
/** * Exactly the same as sampleFrom(), needed for the Sampler interface. */ @Override public E drawSample() { return sampleFrom(); }
/** * Exactly the same as sampleFrom(), needed for the Sampler interface. */ @Override public E drawSample() { return sampleFrom(); }
/** * Exactly the same as sampleFrom(), needed for the Sampler interface. */ public E drawSample() { return sampleFrom(); }
/** * A method to draw a sample, providing an own random number generator. * Needed for the ProbabilityDistribution interface. */ public E drawSample(Random random) { return sampleFrom(random); }
/** * A method to draw a sample, providing an own random number generator. * Needed for the ProbabilityDistribution interface. */ @Override public E drawSample(Random random) { return sampleFrom(random); }
/** * A method to draw a sample, providing an own random number generator. * Needed for the ProbabilityDistribution interface. */ @Override public E drawSample(Random random) { return sampleFrom(random); }
/** * Exactly the same as sampleFrom(), needed for the Sampler interface. */ @Override public E drawSample() { return sampleFrom(); }
/** * A method to draw a sample, providing an own random number generator. * Needed for the ProbabilityDistribution interface. */ @Override public E drawSample(Random random) { return sampleFrom(random); }
/** * Samples over words regardless of POS: first samples POS, then samples * word according to that POS * * @return a sampled word */ public String sampleFrom() { String POS = POSDistribution.sampleFrom(); return sampleFrom(POS); }
/** * Samples over words regardless of POS: first samples POS, then samples * word according to that POS * * @return a sampled word */ public String sampleFrom() { String POS = POSDistribution.sampleFrom(); return sampleFrom(POS); }
/** * Samples over words regardless of POS: first samples POS, then samples * word according to that POS * * @return a sampled word */ public String sampleFrom() { String POS = POSDistribution.sampleFrom(); return sampleFrom(POS); }
/** * Samples over words regardless of POS: first samples POS, then samples * word according to that POS * * @return a sampled word */ public String sampleFrom() { String POS = POSDistribution.sampleFrom(); return sampleFrom(POS); }
Symbol gen = d.sampleFrom(); genLoop: while (gen != Symbol.END_WORD) { gen = d.sampleFrom();
Symbol gen = d.sampleFrom(); genLoop: while (gen != Symbol.END_WORD) { gen = d.sampleFrom();
Symbol gen = d.sampleFrom(); genLoop: while (gen != Symbol.END_WORD) { gen = d.sampleFrom();
Symbol gen = d.sampleFrom(); genLoop: while (gen != Symbol.END_WORD) { gen = d.sampleFrom();