![]() |
![]() |
![]() |
**simil -- similarity representation
DESCRIPTION
The **simil representation encodes numerical values that indicate the Damerau-Levenshtein edit distance between two other Humdrum representations. Data tokens for **simil consist only of decimal numbers. The value 1.0 indicates identical material beginning at the current data record. Lower numerical values indicate increasingly less similarity at the current data record.
FILE TYPE
It is recommended that files containing predominantly **simil
data should be given names with the distinguishing `.sim' extension.
SIGNIFIERS
The following table summarizes the **simil mappings of signifiers and signifieds.
0-9 decimal values . fractional delimiter; null token Summary of **simil Signifiers
A sample document is given below:
**simil 0.78 0.73 0.74 0.69 0.71 0.68 0.68 0.63 . . *-
The following Humdrum command produces **simil data as output:
simil measure the similarity between two Humdrum spines
TANDEM INTERPRETATIONS
The following tandem interpretations can be used in conjunction with **simil:
MIDI channel *Ch1
meter signatures *M6/8
key signatures *k[f#c#]
key *c#:
Tandem interpretations for **simil
cmp (UNIX),
**correl,
correl,
diff (UNIX),
patt,
pattern,
simil,
**xref