gr.demokritos.iit.summarization.analysis
Class ConceptExtractor
java.lang.Object
gr.demokritos.iit.summarization.analysis.ConceptExtractor
- All Implemented Interfaces:
- Notifier, IMatching<java.lang.String>
public class ConceptExtractor
- extends java.lang.Object
- implements IMatching<java.lang.String>, Notifier
This class breaks down a text into substrings and attempt to annotate the
given text with a set of concepts.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Index
protected SemanticIndex Index
Listener
protected NotificationListener Listener
ConceptExtractor
public ConceptExtractor(SemanticIndex siIndex)
extractDefinitions
public java.util.List<WordDefinition> extractDefinitions(java.lang.String sText)
extractConceptDescriptions
public java.util.List<java.lang.String> extractConceptDescriptions(java.lang.String sText)
setNotificationListener
public void setNotificationListener(NotificationListener nlListener)
- Specified by:
setNotificationListener
in interface Notifier
removeNotificationListener
public void removeNotificationListener()
- Specified by:
removeNotificationListener
in interface Notifier
getNotificationListener
public NotificationListener getNotificationListener()
- Specified by:
getNotificationListener
in interface Notifier
match
public boolean match(java.lang.String o1)
- Description copied from interface:
IMatching
- Returns true if the implementer of the interfaces matches a given object.
- Specified by:
match
in interface IMatching<java.lang.String>
- Parameters:
o1
- The given object.
- Returns:
- True if matched, else false.
main
public static void main(java.lang.String[] args)