|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--csm23.TextProcessing
Title: Text Processing Description: version 1.0 Copyright: Copyright (c) 2001 Company: Unis
| Constructor Summary | |
TextProcessing()
|
|
| Method Summary | |
void |
clear()
Deletes the information in the hashtable |
java.util.Hashtable |
getNumUniWords()
Returns number of unique words |
java.util.Hashtable |
getNumWords()
Returns number of total words |
java.util.Hashtable |
getTotal_wfrequency()
Returns the total word frequency. |
java.util.Hashtable |
wordfreq(java.lang.String fileName,
boolean total_wordlist_done,
boolean ignoreCase,
boolean includeNumber,
boolean ignoreTags)
Calculates word and frequencies of each given file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextProcessing()
| Method Detail |
public java.util.Hashtable getTotal_wfrequency()
public java.util.Hashtable getNumWords()
public java.util.Hashtable getNumUniWords()
public void clear()
public java.util.Hashtable wordfreq(java.lang.String fileName,
boolean total_wordlist_done,
boolean ignoreCase,
boolean includeNumber,
boolean ignoreTags)
fileName - the input filetotal_wordlist_done - whether the given file was processed (recommended:false)ignoreCase - if it is true, the cases will be ignored (recommended:true)includeNumber - if it is true, the numbers will be taken into account in the computation (recommended:false)ignoreTags - if it is true, the tags will be ignored (recommended =true)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||