Package: wordorientation Type: Package Title: Detect Attraction and Repulsion Between Words in Text Version: 0.1.0 Authors@R: person(given = "Your", family = "Name", email = "you@example.com", role = c("aut", "cre")) Description: Provides tools to quantify how strongly pairs of words attract or repel each other in a text corpus, based on co-occurrence patterns. For each word pair, the phi coefficient (a correlation measure for binary variables) is computed from a document-term matrix and tested for significance, then classified as showing attraction (co-occurring more than chance would predict), repulsion (co-occurring less than chance would predict), or no significant relationship. A full pipeline is provided from raw text to a labeled network visualization. Unlike general-purpose pairwise correlation tools, 'wordorientation' is built specifically for text: it handles tokenization and stopword removal, applies significance-based classification rather than reporting a raw correlation coefficient alone, and produces a ready-to-plot attraction/ repulsion network. Methods for word co-occurrence and the phi coefficient follow Evert (2008) and standard corpus linguistics practice for collocation and association measures. License: MIT + file LICENSE Encoding: UTF-8 Depends: R (>= 3.5.0) Imports: stats, graphics, igraph, scales Suggests: testthat (>= 3.0.0), knitr, rmarkdown Config/testthat/edition: 3 RoxygenNote: 7.3.1 VignetteBuilder: knitr URL: https://github.com/yourusername/wordorientation BugReports: https://github.com/yourusername/wordorientation/issues Config/pak/sysreqs: libglpk-dev libxml2-dev Repository: https://yosleycarrero2025.r-universe.dev Date/Publication: 2026-08-27 18:51:01 UTC RemoteUrl: https://github.com/yosleycarrero2025/wordorientation RemoteRef: HEAD RemoteSha: 8f27a0e2261e5ec16b566f181656d1a13bd36e79 NeedsCompilation: no Packaged: 2026-09-26 09:57:01 UTC; root Author: Your Name [aut, cre] Maintainer: Your Name