public static class
LearnedUnigramCandidateSampler.Options
Optional attributes for LearnedUnigramCandidateSampler
Public Methods
LearnedUnigramCandidateSampler.Options |
seed(Long seed)
|
LearnedUnigramCandidateSampler.Options |
seed2(Long seed2)
|
Inherited Methods
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public LearnedUnigramCandidateSampler.Options seed (Long seed)
Parameters
seed | If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed. Otherwise, it is seeded by a random seed. |
---|
public LearnedUnigramCandidateSampler.Options seed2 (Long seed2)
Parameters
seed2 | An second seed to avoid seed collision. |
---|