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.
| Version: | 1.0.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | igraph, Rcpp, stringdist |
| LinkingTo: | Rcpp |
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-07-17 |
| DOI: | 10.32614/CRAN.package.hood2net (may not be active yet) |
| Author: | Cynthia Siew [aut, cre, cph] |
| Maintainer: | Cynthia Siew <cynthia.siew at mailfence.com> |
| License: | MIT + file LICENSE |
| URL: | https://csqsiew.github.io/hood2net/ |
| NeedsCompilation: | yes |
| Materials: | README, NEWS |
| CRAN checks: | hood2net results |
| Reference manual: | hood2net.html , hood2net.pdf |
| Vignettes: |
Examples and Case Studies (source, R code) A Quick Introduction to hood2net (source, R code) |
| Package source: | hood2net_1.0.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): hood2net_1.0.0.tgz, r-oldrel (arm64): hood2net_1.0.0.tgz, r-release (x86_64): hood2net_1.0.0.tgz, r-oldrel (x86_64): hood2net_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=hood2net to link to this page.