A semantic frame-based intelligent agent for topic detection