PairDistribution: To Stringses...

A command to generate a number of string pairs from the selected PairDistribution object. This command will create two aligned Strings objects of equal size.

## Settings

Number (standard: 1000)
  the number of the strings in either resulting Strings object.
Name of first Strings (standard: "input")
  the name of the resulting Strings object associated with the first string of each pair.
Name of second Strings (standard: "output")
  the name of the resulting Strings object associated with the second string of each pair.

## Example

Suppose the PairDistribution contains the following:

`4 pairs
` `"at+ma" "atma" 100
` `"at+ma" "apma" 0
` `"an+pa" "anpa" 20
` `"an+pa" "ampa" 80
`

The resulting Strings object "input" may then contain:

at+ma, an+pa, an+pa, at+ma, at+ma, an+pa, an+pa, an+pa, an+pa, at+ma, ...

The Strings object "output" may then contain:

atma, ampa, ampa, atma, atma, ampa, anpa, ampa, ampa, atma, ...

### Links to this page

- OT learning 3.1. Data from a pair distribution