R: A Small Co-occurrence Matrix (wordspace)

DSM_HieroglyphsMatrix {wordspace} | R Documentation

## A Small Co-occurrence Matrix (wordspace)

### Description

A small co-occurrence matrix of verb-object combinations from the British National Corpus (BNC) Verbs correspond to columns of the matrix and their object nouns to rows. This matrix is shown as the "hieroglyphs" example in the DSM turorial.

### Usage

    DSM_HieroglyphsMatrix

### Format

A numeric matrix with 7 rows and 6 columns.

Rows represent the target nouns knife, cat, dog, boat, cup, pig and banana. Columns represent the feature verbs get, see, use, hear, eat and kill.

### Examples

    print(DSM_HieroglyphsMatrix)

    ## cosine similarities between rows of the matrix
    round(dist.matrix(DSM_HieroglyphsMatrix, convert=FALSE), 3)

[Package wordspace version 0.2-6 Index]