1   package ixa.kaflib;
2   
3   /**
4    * Topic related to the text.
5    */
6   public class SimpleTopic {
7   
8   	/**
9   	 * Topic's properties
10  	 */
11  	private float probability;
12  	private String label;
13  
14  	SimpleTopic() {
15  	}
16  
17  	public SimpleTopic(float probability, String label) {
18  		this.probability = probability;
19  		this.label = label;
20  	}
21  
22  	public float getProbability() {
23  		return probability;
24  	}
25  
26  	public void setProbability(float probability) {
27  		this.probability = probability;
28  	}
29  
30  	public String getLabel() {
31  		return label;
32  	}
33  
34  	public void setLabel(String label) {
35  		this.label = label;
36  	}
37  
38  }