optimize.left_edge
optimize.left_edge
Functions
Name | Description |
---|---|
beyond_edge | For a given vowel measurement, return an |
beyond_edge
optimize.left_edge.beyond_edge(vowel_measurement)
For a given vowel measurement, return an array of log probabilities indicating whether or not a candidate is beyond the desired edge of the front of the vowel space.
Parameters
Name | Type | Description | Default |
---|---|---|---|
vowel_measurement |
VowelMeasurement | A vowel measurement to optimize | required |
slope |
float | The desired slope for the maximum edge of front vowel space. Defaults to -1.5. | required |
Returns
Type | Description |
---|---|
np.ndarray | np.ndarray: log probabilities of 0 for candidates below the threshold, and negative infinity for candidates above it. |