Building a domain ontology from glossaries: a general methodology