SUMMA Query Method
Functionality
Adds to each sentence a feature ('query_sim') representing the relevance of the sentence to a query. The query is another document loaded in the application or opened in your application.
Parameters of the Resource
- annSet: the annotation set where the annotations live
- sentAnn: the name of the annotation for which you want to compute the feature (e.g. Sentence)
- query: a GATE document with the query. It has to be in memory.
- querySet: the annotation in the quey document containing the required query annotations
- queryVec: the vector annotation in the query document representing the whole query
- vecName: the name of the vectors for sentences in the document
Restriction
You will need a document with the query as a GATE document and you have to process theis document with a tokenizer, statistics computation, and vector creation in order to create appropriate representations. Your document to summarize needs vectors for the sentences.