gr.demokritos.iit.summarization.analysis
Class ConceptExtractor

java.lang.Object
  extended by 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.


Field Summary
protected  SemanticIndex Index
           
protected  NotificationListener Listener
           
 
Constructor Summary
ConceptExtractor(SemanticIndex siIndex)
           
 
Method Summary
 java.util.List<java.lang.String> extractConceptDescriptions(java.lang.String sText)
           
 java.util.List<WordDefinition> extractDefinitions(java.lang.String sText)
           
 NotificationListener getNotificationListener()
           
static void main(java.lang.String[] args)
           
 boolean match(java.lang.String o1)
          Returns true if the implementer of the interfaces matches a given object.
 void removeNotificationListener()
           
 void setNotificationListener(NotificationListener nlListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Index

protected SemanticIndex Index

Listener

protected NotificationListener Listener
Constructor Detail

ConceptExtractor

public ConceptExtractor(SemanticIndex siIndex)
Method Detail

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)