| java.lang.Object org.contineo.core.text.AnalyzeText
AnalyzeText | public class AnalyzeText (Code) | | Class for analysing texts like extracting keywords from a given text.
Created on 24.03.2004
author: Michael Scholz |
Method Summary | |
public String | getTerms(int count, String text, String language) This method extracts a specified number of keywords and appends them to a
String
Parameters: count - Number of keywords. Parameters: text - Given text of a document. Parameters: language - Identified language of the text. | public void | storeTerms(int menuId, String text, String language) This method selects 20 keywords of a given text in a specified language
and stores these keywords in a database. |
AnalyzeText | public AnalyzeText()(Code) | | |
getTerms | public String getTerms(int count, String text, String language) throws Exception(Code) | | This method extracts a specified number of keywords and appends them to a
String
Parameters: count - Number of keywords. Parameters: text - Given text of a document. Parameters: language - Identified language of the text. String of keywords like "Information, Retrieval, DMS, CMS" throws: Exception - |
storeTerms | public void storeTerms(int menuId, String text, String language) throws Exception(Code) | | This method selects 20 keywords of a given text in a specified language
and stores these keywords in a database.
Parameters: menuId - MenuId of the document the text is from. Parameters: text - Text of a document. Parameters: language - Identified language of the text. throws: Exception - |
|
|