Text this: A Decomposition Algorithm for Learning Bayesian Networks Based on Scoring Function