|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--classifier.Contesto
Classe per i contesti.
Field Summary | |
java.util.Vector |
children
Figli del contesto (i contesti sono organizzati secondo un albero che rispecchia la struttura del documento HTML). |
java.util.Vector |
keyPhrases
Noun phrases trovate in questo contesto. |
MatriceCategorie |
matrice
Risultato della classificazione del contesto. |
Contesto |
parent
Parent del contesto. |
java.lang.String |
testo
testo nel contesto. |
java.lang.String |
tipo
Tipo del contesto. |
java.util.Vector |
url
URLs appearing in this context. |
java.util.Vector |
urlText
Ancora: text associated to each URL. |
Constructor Summary | |
Contesto(java.lang.String _tipo)
|
Method Summary | |
void |
addChild(Contesto context)
|
void |
addTesto(java.lang.String txt)
|
void |
addUrl(java.lang.String _url,
java.lang.String txt)
|
java.lang.String |
getKeyPhrases(float[] weights)
|
void |
print(java.lang.String pre)
|
void |
prune()
Elimina i figli che possono essere potati. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public Contesto parent
public java.util.Vector children
public java.lang.String tipo
public java.lang.String testo
public java.util.Vector url
public java.util.Vector urlText
public transient MatriceCategorie matrice
public transient java.util.Vector keyPhrases
Constructor Detail |
public Contesto(java.lang.String _tipo)
Method Detail |
public java.lang.String getKeyPhrases(float[] weights)
public void addTesto(java.lang.String txt)
public void addUrl(java.lang.String _url, java.lang.String txt)
public void addChild(Contesto context)
public void prune()
public void print(java.lang.String pre)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |