Learn R Programming

⚠️There's a newer version (0.8.1) of this package.Take me there.

LSAfun (version 0.5.3)

Applied Latent Semantic Analysis (LSA) Functions

Description

Provides functions that allow for convenient working with latent semantic analysis (LSA) and other vector space models of semantics. For actually building a vector semantic space, use the package 'lsa' or other specialized software. Downloadable semantic spaces can be found here: A description of the LSA algorithm can be found in Landauer and Dumais (1997) .

Copy Link

Version

Install

install.packages('LSAfun')

Monthly Downloads

614

Version

0.5.3

License

GPL (>= 2)

Maintainer

Fritz Guenther

Last Published

November 28th, 2018

Functions in LSAfun (0.5.3)

compose

Two-Word Composition
normalize

Normalize a vector
asym

Asymmetric Similarity functions
oldbooks

A collection of five classic books
breakdown

Clean up special characters
multicostring

Sentence x Vector Comparison
LSAfun-package

Computations based on Latent Semantic Analysis
neighbors

Find nearest neighbors
genericSummary

Summarize a text
choose.target

Random Target Selection
multicos

Vector x Vector Comparison
coherence

Coherence of a text
costring

Sentence Comparison
distance

Compute distance
priming

Simulated data for a Semantic Priming Experiment
plot_neighbors

2D- or 3D-Plot of neighbors
syntest

A multiple choice test for synonyms and antonyms
MultipleChoice

Answers Multiple Choice Questions
plot_wordlist

2D- or 3D-Plot of a list of words
Predication

Compute Vector for Predicate-Argument-Expressions
pairwise

Pairwise cosine computation
wonderland

LSA Space: Alice's Adventures in Wonderland
plausibility

Compute word (or compound) plausibility
Cosine

Compute cosine similarity
conSIM

Similarity in Context