LastToken: Last token

View source: R/tokens.R

LastTokenR Documentation

Last token

Description

Returns the last token for each document.

Usage

LastToken(tokens)

Arguments

tokens

Token data.table containing ids for document (id), sentence (sid) and token (tid).

Value

A subset of the data.table with one line per document containing the last token of the document.


M3SOulu/TextFeatures documentation built on June 24, 2022, 4:56 p.m.