Learn R Programming

wordspace (version 0.2-9)

Distributional Semantic Models in R

Description

An interactive laboratory for research on distributional semantic models ('DSM', see for more information).

Copy Link

Version

Install

install.packages('wordspace')

Monthly Downloads

1,008

Version

0.2-9

License

GPL-3

Maintainer

Stephanie Evert

Last Published

August 18th, 2025

Functions in wordspace (0.2-9)

dist.matrix

Distances/Similarities between Row or Column Vectors (wordspace)
dsm.score

Weighting, Scaling and Normalisation of Co-occurrence Matrix (wordspace)
eval.clustering

Evaluate DSM on Clustering Task (wordspace)
head.dist.matrix

Return the Top Left Corner of a Distance Matrix (wordspace)
dsm

Create DSM Object Representing a Distributional Semantic Model (wordspace)
head.dsm

Return the Top Left Corner of a DSM Matrix (wordspace)
dsm.canonical.matrix

Canonical Formats for a DSM Co-occurrence Matrix (wordspace)
eval.similarity.correlation

Evaluate DSM on Correlation with Similarity Ratings (wordspace)
dsm.projection

Reduce Dimensionality of DSM by Subspace Projection (wordspace)
eval.multiple.choice

Evaluate DSM on Multiple Choice Task (wordspace)
pair.distances

Semantic Distances Between Word Pairs (wordspace)
print.dsm

Print Information About DSM Object (wordspace)
rbind.dsm

Combine DSM Objects by Rows and Columns (wordspace)
normalize.rows

Normalize Rows or Columns of Matrix to Unit Length (wordspace)
read.dsm.matrix

Load DSM Matrix from File (wordspace)
match.split

Find Parallel Matches for Values in Groups (wordspace)
merge.dsm

Merge Rows or Columns from Different DSM Objects (wordspace)
plot.eval.similarity.correlation

Printing and Plotting Similarity Correlation Evaluation Results (wordspace)
nearest.neighbours

Find Nearest Neighbours in DSM Space (wordspace)
plot.dist.matrix

Plotting Distance Matrices (wordspace)
rowNorms

Compute Norms of Row and Column Vectors of a Matrix (wordspace)
subset.dsm

Subsetting Distributional Semantic Models (wordspace)
scaleMargins

Scale Rows and/or Columns of a Matrix (wordspace)
rsvd

Randomized Singular Value Decomposition (wordspace)
wordspace-package

Distributional Semantic Models in R (wordspace)
wordspace.openmp

Control multi-core processing in wordspace functions (wordspace)
t.dsm

Swap the Rows and Columns of a DSM Object (wordspace)
read.dsm.ucs

Load Raw DSM Data from Disk Files in UCS Export Format (wordspace)
signcount

Efficiently Count Positive, Negative and Zero Values (wordspace)
read.dsm.triplet

Load DSM Data from Triplet Representation (wordspace)
write.dsm.matrix

Export DSM Matrix to File (wordspace)
DSM_TermContextMatrix

Example of a Term-Context Co-occurrence Matrix (wordspace)
dimnames.dsm

Dimnames of a DSM Object (wordspace)
as.matrix.dsm

Extract Matrix from DSM Object (wordspace)
dim.dsm

Dimensions of a DSM Object (wordspace)
context.vectors

Compute Bag-of-Words Context Vectors (wordspace)
check.dsm

Validate Internal Structure of DSM Object (wordspace)
convert.lemma

Transform CWB/Penn-Style Lemmas into Other Notation Formats (wordspace)
as.dsm.tm

Create DSM Object From tm Package (wordspace)
DSM_VerbNounTriples_BNC

Verb-Noun Co-occurrence Frequencies from British National Corpus (wordspace)
DSM_TermTermMatrix

Example of a Term-Term Co-occurrence Matrix (wordspace)
SemCorWSD

SemCor Word Sense Disambiguation Task (wordspace)
RG65

Similarity Ratings for 65 Noun Pairs (wordspace)
DSM_HieroglyphsMatrix

A Small Co-occurrence Matrix (wordspace)
WordSim353

Similarity Ratings for 351 Noun Pairs (wordspace)
ESSLLI08_Nouns

Noun Clustering Task from ESSLLI 2008 (wordspace)
DSM_SingularValues

Typical Singular Values of a Term-Context Matrix (wordspace)
as.dsm

Create DSM Object From Various R Data Structures (wordspace)
DSM_GoodsMatrix

A Scored Co-occurrence Matrix of Nouns Denoting Goods (wordspace)
as.distmat

Mark an arbitrary matrix as a pre-computed dist.matrix object (wordspace)
DSM_Vectors

Pre-Compiled DSM Vectors for Selected Words (wordspace)