Geometric Inference In Bayesian Hierarchical Models With Applications To Topic Modeling