posInGap: The position in gap match

Description Usage Arguments Value Examples

View source: R/textGapMatch.R

Description

The position in gap match

Usage

1
posInGap(textGapMatchObject, text, gap)

Arguments

textGapMatchObject

a textGapMatchObject

text

The text to look for

gap

The gap to look in

Value

Returns the scores

Examples

1
2
3
resp<-"{\"dropzone_1\":[\"1.Decide size of building\",\"2.Paint the walls\",\"4.Get a quote\"],\"dropzone_2\":[\"1.Move furniture\",\"2.Hire workers\"],\"dropzone_3\":[\"1.Test the construction\",\"2.Move in\"]}"
gm<-makeTextGapMatch(resp)
posInGap(gm,"Paint the walls",1)

openPCI/OpenPCIScoring documentation built on June 10, 2021, 1:18 p.m.