gasildeal.blogg.se

Praat columns
Praat columns








praat columns

The first numberOfSources values in row ( numberOfTargets + 1) represent the costs of substituting one of the target symbols from the target rest category for the source symbol in the corresponding column.The upper matrix part of dimension numberOfTargets × numberOfSources will show at cell the costs of substituting the i-th target symbol for the j-th source symbol.This is what the cells in the non-default table mean:

praat columns

The actual dimension of the table will therefore be ( numberOfTargets + 2) × ( numberOfSources + 2). The EditCostTable will provide one extra dimension to accommodate target symbol insertion costs and source symbol deletion costs and another extra dimension to represent other target and source symbols that don't have separate entries and can therefore be treated as one group. They only represent the number of symbols that you like to give special edit costs. These numbers do not necessarily have to be equal to the number of different symbols that may occur in the target and source strings. In general we can define a table for numberOfTargets target symbols and numberOfSources source symbols.

#PRAAT COLUMNS HOW TO#

How to create a non-default EditCostsTable The default substitution cost is 2.0.ĭefines the cost of substituting a target symbol for a source symbol where the target and source symbols do match. The default value is 1.0.ĭefines the cost of substituting a target symbol for a source symbol where the target and source symbols don't match. The default insertion cost is 1.0.ĭefines the cost of the deletion of a source symbol.

praat columns

The default EditCostsTable which is in every new EditDistanceTable object has only two rows and two columns, where the cells in this EditCostsTable have the following interpretation:ĭefines the cost for the insertion of a target symbol in the source string. Source = Create Strings as characters: "execution" Target = Create Strings as characters: "intention" The figure above was produced by the following commands: The actual edit distance between the target and source strings is calculated by the EditDistanceTable which uses an EditCostsTable to access the specific string edit costs. the insertion and deletion costs were 1.0 while the substitution cost was 2.0. The figure above was produced with default values for the costs, i.e. For example, to change the source string "execution" to the target string "intention" we would need one insertion (i), one deletion (d) and three substitutions (s) as the following figure shows. The latter terms refer to the operations that may be performed on a source string to transform it to a target string. String edit costs are generally divided into insertion, deletion and substitution costs. the costs involved in changing one string of symbols (the source) into another one (the target). The EditCostsTable determines the string edit costs, i.e.










Praat columns