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.zip(r-4.7-x86_64)hood2net_1.0.0.zip(r-4.7-arm64)hood2net_1.0.0.zip(r-4.6-x86_64)hood2net_1.0.0.zip(r-4.6-arm64)hood2net_1.0.0.zip(r-4.5-x86_64)
hood2net_1.0.0.tgz(r-4.6-x86_64)hood2net_1.0.0.tgz(r-4.6-arm64)hood2net_1.0.0.tgz(r-4.5-x86_64)hood2net_1.0.0.tgz(r-4.5-arm64)
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://csqsiew.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

4.60 score 1 stars 327 downloads 6 exports 13 dependencies

Last updated from:b2019b0182. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK110
linux-devel-x86_64OK120
source / vignettesOK216
linux-release-arm64OK97
linux-release-x86_64OK124
macos-release-arm64OK202
macos-release-x86_64OK246
macos-oldrel-arm64OK207
macos-oldrel-x86_64OK352
windows-devel-arm64OK354
windows-devel-x86_64OK129
windows-release-arm64OK357
windows-release-x86_64OK88
windows-oldrel-x86_64OK94
wasm-releaseOK107

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-09
Started: 2026-05-07

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

Last update: 2026-07-09
Started: 2026-05-13