1. A method comprising: receiving a document; applying one or more tags to the document, each tag applied to a term, each tag representing a part of speech; extracting one or more terms from the document based on the tags; determining a frequency parameter for each of the one or more extracted terms, wherein the frequency parameter is proportional to a logarithm of a total number of documents in the domain ontology divided by a number of documents in which the term appears; determining, based on the frequency parameter associated with each of the extracted terms, whether a domain ontology comprises the one or more extracted terms; and augmenting, if the domain ontology does not comprise the one or more extracted terms, such that the domain ontology comprises the one or more extracted terms.