csli.dialog.app.calo.topic.classification.topicextraction
Class CsliOnlineTopicSegmenterServiceImpl
java.lang.Object
csli.dialog.app.calo.topic.classification.topicextraction.CsliOnlineTopicSegmenterService
csli.dialog.app.calo.topic.classification.topicextraction.CsliOnlineTopicSegmenterServiceImpl
- All Implemented Interfaces:
- Service, OnlineTopicSegmenterService
public class CsliOnlineTopicSegmenterServiceImpl
- extends CsliOnlineTopicSegmenterService
| Methods inherited from class csli.dialog.app.calo.topic.classification.topicextraction.CsliOnlineTopicSegmenterService |
createTopic, createTopicModel, csliSearchTopic, csliSearchTopic, extractTopicBoundaries, findRelevantTopics, getGui, getQueries, getRelevantTopics, isLearning, isRelevant, isRelevant, prepareForNewMeeting, setTopicOptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsliOnlineTopicSegmenterServiceImpl
public CsliOnlineTopicSegmenterServiceImpl()
getTopicBreaks
public Set<XSDDateTime> getTopicBreaks(String meeting)
- Description copied from interface:
OnlineTopicSegmenterService
- Computes the topic segmentation of the meeting. For OnlineTopicSegmenterService, this will necessarily be based
on topic break classification. TopicSegmenterService may base the segmentation on lexical similarity or the MIT
generative model depending on the config key topic.segmentation.method
- Specified by:
getTopicBreaks in interface OnlineTopicSegmenterService- Specified by:
getTopicBreaks in class CsliOnlineTopicSegmenterService
- Parameters:
meeting - the meeting we want to segment
- Returns:
- the set of topic breaks
getTitle
public String getTitle()
- Description copied from interface:
Service
- Get the name of this service as it should appear in the GUI.
isServiceAlive
public boolean isServiceAlive()
- Description copied from interface:
Service
- Is the service happy and alive?
- Returns:
searchTopic
public List<Pair<Double,Pair<String,Pair<XSDDateTime,XSDDateTime>>>> searchTopic(Topic t)
- Description copied from interface:
OnlineTopicSegmenterService
- Searches for occurences of a topic in the whole corpus.
- Specified by:
searchTopic in interface OnlineTopicSegmenterService- Specified by:
searchTopic in class CsliOnlineTopicSegmenterService
- Returns:
- a list of pairs composed of - a double giving the score of that topic zone - a topic zone given by a pair where the topic boundaries are themselves given by a pair of XSDDateTime
csliSearchTopic
public List<Pair<Double,TopicArea>> csliSearchTopic(Topic t)
- Specified by:
csliSearchTopic in class CsliOnlineTopicSegmenterService
clear
public void clear()
- Description copied from interface:
OnlineTopicSegmenterService
- Clears all the cache files that have been generated by the TopicSegmenterService. Mostly for development purpose.
- Specified by:
clear in interface OnlineTopicSegmenterService- Specified by:
clear in class CsliOnlineTopicSegmenterService