Package: wordspace 0.2-8

Stephanie Evert

wordspace: Distributional Semantic Models in R

An interactive laboratory for research on distributional semantic models ('DSM', see <https://en.wikipedia.org/wiki/Distributional_semantics> for more information).

Authors:Stephanie Evert [cre, aut]

wordspace_0.2-8.tar.gz
wordspace_0.2-8.zip(r-4.5)wordspace_0.2-8.zip(r-4.4)wordspace_0.2-8.zip(r-4.3)
wordspace_0.2-8.tgz(r-4.4-x86_64)wordspace_0.2-8.tgz(r-4.4-arm64)wordspace_0.2-8.tgz(r-4.3-x86_64)wordspace_0.2-8.tgz(r-4.3-arm64)
wordspace_0.2-8.tar.gz(r-4.5-noble)wordspace_0.2-8.tar.gz(r-4.4-noble)
wordspace_0.2-8.tgz(r-4.4-emscripten)wordspace_0.2-8.tgz(r-4.3-emscripten)
wordspace.pdf |wordspace.html
wordspace/json (API)
NEWS

# Install 'wordspace' in R:
install.packages('wordspace', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/wordspace

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

29 exports 1.22 score 7 dependencies 2 dependents 154 scripts 707 downloads

Last updated 8 months agofrom:92bd7bfbd3. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 06 2024
R-4.5-win-x86_64NOTESep 06 2024
R-4.5-linux-x86_64NOTESep 06 2024
R-4.4-win-x86_64NOTESep 06 2024
R-4.4-mac-x86_64NOTESep 06 2024
R-4.4-mac-aarch64NOTESep 06 2024
R-4.3-win-x86_64NOTESep 06 2024
R-4.3-mac-x86_64NOTESep 06 2024
R-4.3-mac-aarch64NOTESep 06 2024

Exports:as.distmatas.dsmcheck.dsmcolNormscontext.vectorsconvert.lemmadist.matrixdsmdsm.canonical.matrixdsm.is.canonicaldsm.projectiondsm.scoreeval.clusteringeval.multiple.choiceeval.similarity.correlationmatch.splitnearest.neighboursnormalize.colsnormalize.rowspair.distancesread.dsm.matrixread.dsm.tripletread.dsm.ucsrowNormsrsvdscaleMarginssigncountwordspace.openmpwrite.dsm.matrix

Dependencies:clusteriotoolslatticeMASSMatrixRcppsparsesvd

Distributional Semantics in R with the 'wordspace' Package

Rendered fromwordspace-intro.Rmdusingknitr::knitron Sep 06 2024.

Last update: 2024-01-08
Started: 2016-08-10

Readme and manuals

Help Manual

Help pageTopics
Distributional Semantic Models in R (wordspace)wordspace-package wordspace
Mark an arbitrary matrix as a pre-computed 'dist.matrix' object (wordspace)as.distmat as.distmat.dsm as.distmat.matrix as.distmat.sparseMatrix
Create DSM Object From Various R Data Structures (wordspace)as.dsm
Create DSM Object From 'tm' Package (wordspace)as.dsm.DocumentTermMatrix as.dsm.TermDocumentMatrix
Extract Matrix from DSM Object (wordspace)as.matrix.dsm
Validate Internal Structure of DSM Object (wordspace)check.dsm
Compute Bag-of-Words Context Vectors (wordspace)context.vectors
Transform CWB/Penn-Style Lemmas into Other Notation Formats (wordspace)convert.lemma
Dimensions of a DSM Object (wordspace)dim.dsm
Dimnames of a DSM Object (wordspace)dimnames.dsm dimnames<-.dsm
Distances/Similarities between Row or Column Vectors (wordspace)dist.matrix
Create DSM Object Representing a Distributional Semantic Model (wordspace)dsm dsm-object
A Scored Co-occurrence Matrix of Nouns Denoting Goods (wordspace)DSM_GoodsMatrix
A Small Co-occurrence Matrix (wordspace)DSM_HieroglyphsMatrix
Typical Singular Values of a Term-Context Matrix (wordspace)DSM_SingularValues
Example of a Term-Context Co-occurrence Matrix (wordspace)DSM_TermContext DSM_TermContextMatrix
Example of a Term-Term Co-occurrence Matrix (wordspace)DSM_TermTerm DSM_TermTermMatrix
Pre-Compiled DSM Vectors for Selected Words (wordspace)DSM_Vectors
Verb-Noun Co-occurrence Frequencies from British National Corpus (wordspace)DSM_VerbNounTriples_BNC
Canonical Formats for a DSM Co-occurrence Matrix (wordspace)dsm.canonical.matrix dsm.is.canonical
Reduce Dimensionality of DSM by Subspace Projection (wordspace)dsm.projection
Weighting, Scaling and Normalisation of Co-occurrence Matrix (wordspace)dsm.score
Noun Clustering Task from ESSLLI 2008 (wordspace)ESSLLI08_Nouns
Evaluate DSM on Clustering Task (wordspace)eval.clustering
Evaluate DSM on Multiple Choice Task (wordspace)eval.multiple.choice
Evaluate DSM on Correlation with Similarity Ratings (wordspace)eval.similarity.correlation
Return the Top Left Corner of a Distance Matrix (wordspace)head.dist.matrix
Return the Top Left Corner of a DSM Matrix (wordspace)head.dsm
Find Parallel Matches for Values in Groups (wordspace)match.split
Merge Rows or Columns from Different DSM Objects (wordspace)merge.dsm
Find Nearest Neighbours in DSM Space (wordspace)nearest.neighbors nearest.neighbours
Normalize Rows or Columns of Matrix to Unit Length (wordspace)normalize.cols normalize.rows
Semantic Distances Between Word Pairs (wordspace)pair.distances
Plotting Distance Matrices (wordspace)plot.dist.matrix
Printing and Plotting Similarity Correlation Evaluation Results (wordspace)plot.eval.similarity.correlation print.eval.similarity.correlation
Print Information About DSM Object (wordspace)print.dsm
Combine DSM Objects by Rows and Columns (wordspace)cbind.dsm rbind.dsm
Load DSM Matrix from File (wordspace)read.dsm.matrix
Load DSM Data from Triplet Representation (wordspace)read.dsm.triplet
Load Raw DSM Data from Disk Files in UCS Export Format (wordspace)read.dsm.ucs
Similarity Ratings for 65 Noun Pairs (wordspace)RG65
Compute Norms of Row and Column Vectors of a Matrix (wordspace)colNorms rowNorms
Randomized Singular Value Decomposition (wordspace)rsvd
Scale Rows and/or Columns of a Matrix (wordspace)scaleMargins
SemCor Word Sense Disambiguation Task (wordspace)SemCorWSD
Efficiently Count Positive, Negative and Zero Values (wordspace)signcount
Subsetting Distributional Semantic Models (wordspace)subset.dsm
Swap the Rows and Columns of a DSM Object (wordspace)t.dsm
Similarity Ratings for 351 Noun Pairs (wordspace)WordSim353
Control multi-core processing in wordspace functions (wordspace)wordspace.openmp
Export DSM Matrix to File (wordspace)write.dsm.matrix