Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

gesistsa/quanteda.proximity

Repository files navigation

quanteda.proximity

Please follow the further development of this project here: tokenvars. Please don’t use this software.

The goal of quanteda.proximity is to add proximity vectors into the tokens object of quanteda.

Proximity is measured by the number of tokens away from the keyword. Given a tokenized sentence: [“I”, “wash”, “this”, “apple”] and suppose “eat” is the keyword. The proximity vector is a vector with the same length as the tokenized sentence and the values (using the default settings) are [2, 1, 2, 3].

About

📐 Proximity-based Weighting Scheme for the Quantitative Analysis of Textual Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published