A Semi-Automatic Bayesian Algorithm for Ontology Learning