ONTOLOGY -BASED APPROACH TO MODELING THE PROCESS OF EXTRACTING INFORMATION FROM TEXT