Non-redundant random generation from weighted context-free languages

@article{Ponty2008NonredundantRG,
  title={Non-redundant random generation from weighted context-free languages},
  author={Yann Ponty},
  journal={CoRR},
  year={2008},
  volume={abs/1012.4560}
}
We address the non-redundant random generation of k words of length n from a contextfree language. Additionally, we want to avoid a predefined set of words. We study the limits of a rejection-based approach, whose time complexity is shown to grow exponentially in k in some cases. We propose an alternative recursive algorithm, whose careful implementation… CONTINUE READING