|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvardwrapper.NormalisationStats
public class NormalisationStats
Stats produced from normalising a whole text (file).
Constructor Summary | |
---|---|
NormalisationStats(java.lang.String fileName,
int typeCount,
int variantTypeCount,
int replacedTypeCount,
int correctTypeCount,
int tokenCount,
int variantTokenCount,
int replacedTokenCount,
int correctTokenCount)
Instantiates new normalisation stats, token and type counts. |
Method Summary | |
---|---|
int |
getCorrectTokenCount()
Gets the number of tokens which are considered 'correct', i.e. |
int |
getCorrectTypeCount()
Gets the number of word types which are considered 'correct', i.e. |
java.lang.String |
getFileName()
Gets the file name. |
int |
getReplacedTokenCount()
Gets the number of tokens which have been normalised. |
int |
getReplacedTypeCount()
Gets the number of word types which have been normalised. |
int |
getTokenCount()
Gets the total token count. |
int |
getTypeCount()
Gets the total types count. |
int |
getVariantTokenCount()
Gets the variant token count, that is those tokens which are still considered variants after normalisation, hence those variants for which an appropriate normalisation wasn't found. |
int |
getVariantTypeCount()
Gets the variant type count, that is those word types which are still considered variants after normalisation, hence those variants for which an appropriate normalisation wasn't found. |
static java.lang.String |
headerString()
Header string for print out (R). |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NormalisationStats(java.lang.String fileName, int typeCount, int variantTypeCount, int replacedTypeCount, int correctTypeCount, int tokenCount, int variantTokenCount, int replacedTokenCount, int correctTokenCount)
fileName
- the file nametypeCount
- the total type countvariantTypeCount
- the variant type countreplacedTypeCount
- the replaced type countcorrectTypeCount
- the correct type counttokenCount
- the total token countvariantTokenCount
- the variant token countreplacedTokenCount
- the replaced token countcorrectTokenCount
- the correct token countMethod Detail |
---|
public java.lang.String getFileName()
public int getTypeCount()
public int getVariantTypeCount()
public int getReplacedTypeCount()
public int getCorrectTypeCount()
public int getTokenCount()
public int getVariantTokenCount()
public int getReplacedTokenCount()
public int getCorrectTokenCount()
public static java.lang.String headerString()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |