public final int unaryClassificationSize;
transient SimpleMatrix identity;
final Random rand;
static final String UNKNOWN_WORD = "*UNK*";
final RNNOptions op;
<BUG>public SentimentModel(RNNOptions op, TwoDimensionalSet<String, String> binaryProductions, Set<String> unaryProductions) {
this.op = op;
rand = (op.randomSeed != 0) ? new Random(op.randomSeed) : new Random();
readWordVectors();
if (op.numHid > 0) {</BUG>
this.numHid = op.numHid;

public final int unaryClassificationSize;
transient SimpleMatrix identity;
final Random rand;
static final String UNKNOWN_WORD = "*UNK*";
final RNNOptions op;
public SentimentModel(RNNOptions op, List<Tree> trainingTrees) {
this.op = op;
rand = (op.randomSeed != 0) ? new Random(op.randomSeed) : new Random();
if (op.randomWordVectors) {
initRandomWordVectors(trainingTrees);
} else {
readWordVectors();
}
if (op.numHid > 0) {
