Skip to content

SemanticDistance

0.1.1

Compute Semantic Distance Between Text Constituents

0packages depend
5.1Kdownloads / year
19.8%test coverage
13/13checks pass

Overview

About
Maintained by Jamie ReillyFirst published 2025-09-011 releasesCRAN page ↗GitHub ↗

Cleans and formats language transcripts guided by a series of transformation options (e.g., lemmatize words, omit stopwords, split strings across rows). 'SemanticDistance' computes two distinct metrics of cosine semantic distance (experiential and embedding). These values reflect pairwise cosine distance between different elements or chunks of a language sample. 'SemanticDistance' can process monologues (e.g., stories, ordered text), dialogues (e.g., conversation transcripts), word pairs arrayed in columns, and unordered word lists. Users specify options for how they wish to chunk distance calculations. These options include: rolling ngram-to-word distance (window of n-words to each new word), ngram-to-ngram distance (2-word chunk to the next 2-word chunk), pairwise distance between words arrayed in columns, matrix comparisons (i.e., all possible pairwise distances between words in an unordered list), turn-by-turn distance (talker to talker in a dialogue transcript). 'SemanticDistance' includes visualization options for analyzing distances as time series data and simple semantic network dynamics (e.g., clustering, undirected graph network).

Install

Health

CRAN checks
13OK
Slowest check: 7.5 min · r-devel-linux-x86_64-fedora-clang
Check history
  • OK2026-07-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-01
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-27
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-21
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-11
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-08
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation signals are not tracked yet for this package.

Downloads

5.1K
CRAN downloads in the past year
Rank #8,317 · ~14/day · ~429/mo
SemanticDistance
Daily download trend is not available in this view yet.
26930 days
1.3K90 days
5.1K1 year
Compare downloads with other packages →
Also on73 r2u30 autocran

Repository

Repository
3Stars
0Forks
0Open issues
0Open PRs
2Releases
155Commits
2Contributors
cosine-distancecosine-similarityembeddingslexical-semanticnlppsycholinguisticssemantics
License LGPL-3.0 · 155 commits · Last activity 2026-07-21 · +50% stars, 30d

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/reilly-conceptscognitionlab/semanticdistance on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
renv
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-01
Total releases
1 / 1 yrs
License
LGPL (>= 3) OSI
Download size
1.2 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →