getBiluoFromOrder | R Documentation |
Get BILUO (begin-intermediate-last-unique-outside) values from a sequence value.
getBiluoFromOrder(seq, length)
seq |
The sequence number of the entity within a larger structure.
For example, |
length |
The length of the sequence, which you can get from |
A vector of BILUO values corresponding to the sequence values. B = beginning of the larger structure, L = last element of the larger structure, I = intermediate element of the larger structure, U = only element of the larger structure, O = not within the larger structure.
sbc007$tokenDF = addFieldLocal(sbc007$tokenDF, "pSentLength", inLength(pSentOrder, isWord = (text != "<0>")), type = "complex", groupField = "pSent")
sbc007$tokenDF = changeFieldLocal(sbc007$tokenDF, "pSentBiluo", getBiluoFromOrder(pSentOrder, pSentLength))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.