Package: hood2net 1.0.0

Cynthia Siew

hood2net: Create a Language Network from Neighborhoods of Words

Input a list of words and/or their phonological transcriptions and this package creates a language network based on their neighborhood structure. First, the phonological/orthographic neighbors for each item in the list are identified based on various definitions of a neighbor (e.g., edit-distance (substitution, deletion, or addition), substitution-only; distance size (1-edit or more); based on single characters or segments indicated by separators) and summarizes this information in an 'igraph' network object for subsequent analyses. For more details see Luce & Pisoni (1998) <doi:10.1097/00003446-199802000-00001> and Vitevitch (2008) <doi:10.1044/1092-4388(2008/030)>. Helper functions for extracting network metrics, neighbors, and other information from the language network are provided. This package is intended for psycholinguists interested in modeling language networks and word neighborhoods in various languages.

Authors:Cynthia Siew [aut, cre, cph]

hood2net_1.0.0.tar.gz
hood2net_1.0.0.tar.gz(r-4.7-arm64)hood2net_1.0.0.tar.gz(r-4.7-x86_64)hood2net_1.0.0.tar.gz(r-4.6-arm64)hood2net_1.0.0.tar.gz(r-4.6-x86_64)
hood2net_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
hood2net/json (API)

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

Bug tracker:https://github.com/csqsiew/hood2net/issues

Pkgdown/docs site:https://csqsiew.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.00 score 6 exports 13 dependencies

Last updated from:9536407ba0. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK144
linux-devel-x86_64OK132
source / vignettesOK173
linux-release-arm64OK137
linux-release-x86_64OK128
wasm-releaseOK138

Exports:get_neighbor_clusteringget_neighbor_meanget_neighbor_sizeget_network_infomake_networkmake_network_sep

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigRcpprlangstringdistvctrs

A Quick Introduction to hood2net
Introduction and Motivation | Why hood2net? | Set up | Creating networks | Computing network and neighborhood measures | Obtaining macro-level network measures | Compute micro-level network measures for individual nodes | References

Last update: 2026-07-17
Started: 2026-07-17

Examples and Case Studies
Case Studies and Examples | Case Study 1: | Case Study 2: | References

Last update: 2026-07-17
Started: 2026-07-17