A C D E F G H I M P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
S
- set(A, B, V) - Method in class uk.co.rafilevy.utils.ValueGrid.ValueGrid
-
Sets the value in row
a
columnb
and creates the rows and columns if not previously seen - size() - Method in class uk.co.rafilevy.utils.ValueGrid.ValueGrid
-
Returns the size of the grid - rows * cols
- StringBigramModel - Class in uk.co.rafilevy.MarkovModels
-
An extension of a MarkovModel to be used specifically for text generation Very similar to
StringMarkovModel
except works with transitions of sequences of consecutive string rather than single strings Will create sequences more closely related to original set but at higher risk of over-fitting - StringMarkovModel - Class in uk.co.rafilevy.MarkovModels
-
An extension of a MarkovModel to be used specifically for text generation State sequences are supplied as strings rather than lists and can be decoded by using a regex to split the string into a sequence Sequences are then generated as normal and turned into strings by concatenating them with a " " in between Useful for generating texts in the style of other text corpora
- StringTrigramModel - Class in uk.co.rafilevy.MarkovModels
-
An extension of a MarkovModel to be used specifically for text generation Very similar to
StringMarkovModel
except works with transitions of sequences of three strings rather than single strings Will create sequences more closely related to original set but at high risk of over-fitting without very large training set of string sequences - subtract(A, B, int) - Method in class uk.co.rafilevy.utils.ValueGrid.MutableIntGrid
-
Subtracts a value from the item in row
a
columnb
All Classes All Packages