analogy: Analogical Similarity

Description Usage Arguments Value

View source: R/Analogy.R

Description

Computes the number of times the pattern of the test string (regardless of surface structure) appears in training strings

Usage

1
analogy(train, test)

Arguments

train

a vector of training strings

test

a vector of test strings

Value

a vector containing the number of pattern matches that occur between the test item and all training items


cookm346/AGSuite documentation built on May 13, 2019, 10:50 p.m.