Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
HowToKBClustering/src/util/WNDomains.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57 lines (45 sloc)
1002 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package util; | |
public class WNDomains { | |
private int synset; | |
private String word; | |
private String probDomain; | |
private double probScore; | |
private String origDomain; | |
private String origType; | |
private String tops; | |
public int getSynset() { | |
return synset; | |
} | |
public String getWord() { | |
return word; | |
} | |
public String getProbDomain() { | |
return probDomain; | |
} | |
public double getProbScore() { | |
return probScore; | |
} | |
public String getOrigDomain() { | |
return origDomain; | |
} | |
public String getOrigType() { | |
return origType; | |
} | |
public String getTops() { | |
return tops; | |
} | |
public WNDomains(int synset, String word, String probDomain, | |
double probScore, String origDomain, String origType, String tops) { | |
super(); | |
this.synset = synset; | |
this.word = word; | |
this.probDomain = probDomain; | |
this.probScore = probScore; | |
this.origDomain = origDomain; | |
this.origType = origType; | |
this.tops = tops; | |
} | |
public WNDomains(int synset_id) { | |
this(synset_id, "-", "-", 0, "-", "-", "-"); | |
} | |
} |