Knowledge-based methods for automatic extraction of domain-specific ontologies