|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.ngram.ProfileWriter
public class ProfileWriter
Write an N-Gram profile to disk.
A Profile
stores N-gram frequency information for a given textual string.
Field Summary | |
---|---|
private static ProfileWriter |
_theInstance
The single instance of this Singleton class. |
Constructor Summary | |
---|---|
private |
ProfileWriter()
Sole constructor of ProfileWriter. |
Method Summary | |
---|---|
static ProfileWriter |
getInstance()
Returns an instance of this class. |
static void |
main(java.lang.String[] args)
The main method for the ProfileWriter class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final ProfileWriter _theInstance
Constructor Detail |
---|
private ProfileWriter()
Method Detail |
---|
public static ProfileWriter getInstance()
ProfileWriter
.public static void main(java.lang.String[] args) throws java.io.IOException
args
- The command line arguments, tokenized.
java.io.IOException
- A problem occurred while processing files.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |