{
  "_id": "6a228032cd65a98ecbd5147d",
  "Package": "LSX",
  "Type": "Package",
  "Title": "Semi-Supervised Algorithm for Document Scaling",
  "Version": "1.5.2",
  "Authors@R": "person(\"Kohei\", \"Watanabe\", email = \"watanabe.kohei@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "A word embeddings-based semi-supervised model for document\nscaling Watanabe (2020) <doi:10.1080/19312458.2020.1832976>.\nLSS allows users to analyze large and complex corpora on\narbitrary dimensions with seed words exploiting efficiency of\nword embeddings (SVD, Glove). It can generate word vectors on a\nusers-provided corpus or incorporate a pre-trained word\nvectors.",
  "License": "GPL-3",
  "LazyData": "TRUE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "BugReports": "https://github.com/koheiw/LSX/issues",
  "URL": "https://koheiw.github.io/LSX/",
  "Language": "en-US",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://koheiw.r-universe.dev",
  "Date/Publication": "2026-04-06 06:50:42 UTC",
  "RemoteUrl": "https://github.com/koheiw/lsx",
  "RemoteRef": "HEAD",
  "RemoteSha": "dd3dfbed82ba9e549609d464364799b37ab40273",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 07:44:34 UTC",
    "User": "root"
  },
  "Author": "Kohei Watanabe [aut, cre, cph]",
  "Maintainer": "Kohei Watanabe <watanabe.kohei@gmail.com>",
  "MD5sum": "abc68ce1d9f2e16d79992566454d21f3",
  "_user": "koheiw",
  "_type": "src",
  "_file": "LSX_1.5.2.tar.gz",
  "_fileid": "a93f546c50f1f97110e45b6a0a0544fb2ea30705fadc226e95ad33a0e50a1110",
  "_filesize": 2171057,
  "_sha256": "a93f546c50f1f97110e45b6a0a0544fb2ea30705fadc226e95ad33a0e50a1110",
  "_created": "2026-06-05T07:44:34.000Z",
  "_published": "2026-06-05T07:52:18.240Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79685723501,
      "time": 240,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431479381"
    },
    {
      "job": 79685723606,
      "time": 233,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431477539"
    },
    {
      "job": 79685723486,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431509001"
    },
    {
      "job": 79685723469,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431537235"
    },
    {
      "job": 79685318031,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431406710"
    },
    {
      "job": 79685723491,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431441442"
    },
    {
      "job": 79685723607,
      "time": 182,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431462279"
    },
    {
      "job": 79685723513,
      "time": 161,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431455732"
    },
    {
      "job": 79685723534,
      "time": 175,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431460180"
    }
  ],
  "_buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/koheiw/lsx",
  "_commit": {
    "id": "dd3dfbed82ba9e549609d464364799b37ab40273",
    "author": "Kohei Watanabe <watanabe.kohei@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #125 from koheiw/remove-experimental\n\nRemove experimental functions",
    "time": 1775458242
  },
  "_maintainer": {
    "name": "Kohei Watanabe",
    "email": "watanabe.kohei@gmail.com",
    "login": "koheiw",
    "twitter": "@koheiw7",
    "description": "Data scientist specializing in political and financial text analysis",
    "uuid": 6572963
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "quanteda",
      "version": ">= 2.0",
      "role": "Imports"
    },
    {
      "package": "quanteda.textstats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "RSpectra",
      "role": "Imports"
    },
    {
      "package": "proxyC",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "locfit",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "wordvector",
      "version": ">= 0.5.0",
      "role": "Suggests"
    },
    {
      "package": "irlba",
      "role": "Suggests"
    },
    {
      "package": "rsvd",
      "role": "Suggests"
    },
    {
      "package": "rsparse",
      "role": "Suggests"
    }
  ],
  "_owner": "koheiw",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-25",
      "n": 3
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 3
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "lsa",
    "quanteda",
    "sentiment-analysis",
    "text-analysis"
  ],
  "_stars": 57,
  "_contributors": [
    {
      "user": "koheiw",
      "count": 996,
      "uuid": 6572963
    },
    {
      "user": "kbenoit",
      "count": 10,
      "uuid": 2182246
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 6572963,
    "type": "user",
    "name": "Kohei Watanabe",
    "description": "Data scientist specializing in political and financial text analysis"
  },
  "_downloads": {
    "count": 526,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LSX"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/koheiw/lsx",
  "_pkgdown": "https://koheiw.github.io/LSX/",
  "_searchresults": 25,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/LSX.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/koheiw/lsx",
  "_realowner": "koheiw",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2020-09-09"
    },
    {
      "version": "0.9.1",
      "date": "2020-09-14"
    },
    {
      "version": "0.9.2",
      "date": "2020-09-22"
    },
    {
      "version": "0.9.4",
      "date": "2020-11-02"
    },
    {
      "version": "0.9.5",
      "date": "2020-11-20"
    },
    {
      "version": "0.9.6",
      "date": "2020-12-17"
    },
    {
      "version": "0.9.7",
      "date": "2021-03-08"
    },
    {
      "version": "0.9.8",
      "date": "2021-03-23"
    },
    {
      "version": "0.9.9",
      "date": "2021-04-19"
    },
    {
      "version": "1.0.0",
      "date": "2021-07-20"
    },
    {
      "version": "1.0.2",
      "date": "2021-09-18"
    },
    {
      "version": "1.1.0",
      "date": "2022-02-24"
    },
    {
      "version": "1.1.1",
      "date": "2022-02-26"
    },
    {
      "version": "1.1.2",
      "date": "2022-10-02"
    },
    {
      "version": "1.1.3",
      "date": "2022-10-19"
    },
    {
      "version": "1.2.0",
      "date": "2022-12-04"
    },
    {
      "version": "1.3.0",
      "date": "2023-01-22"
    },
    {
      "version": "1.3.1",
      "date": "2023-02-26"
    },
    {
      "version": "1.3.2",
      "date": "2023-12-20"
    },
    {
      "version": "1.4.0",
      "date": "2024-03-05"
    },
    {
      "version": "1.4.2",
      "date": "2025-01-09"
    },
    {
      "version": "1.4.3",
      "date": "2025-04-22"
    },
    {
      "version": "1.4.4",
      "date": "2025-05-27"
    },
    {
      "version": "1.4.5",
      "date": "2025-06-19"
    },
    {
      "version": "1.5.0",
      "date": "2025-09-12"
    },
    {
      "version": "1.5.1",
      "date": "2025-12-11"
    },
    {
      "version": "1.5.2",
      "date": "2026-04-06"
    }
  ],
  "_exports": [
    "as.coefficients_textmodel",
    "as.seedwords",
    "as.statistics_textmodel",
    "as.summary.textmodel",
    "as.textmodel_lss",
    "bootstrap_lss",
    "char_context",
    "coefficients.textmodel_lss",
    "cohesion",
    "diagnosys",
    "optimize_lss",
    "rowMaxs",
    "seedwords",
    "smooth_lss",
    "textmodel_lss",
    "textplot_components",
    "textplot_simil",
    "textplot_terms",
    "textstat_context"
  ],
  "_datasets": [
    {
      "name": "data_dictionary_ideology",
      "title": "Seed words for analysis of left-right political ideology",
      "object": "data_dictionary_ideology",
      "class": [
        "dictionary2"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "data_dictionary_sentiment",
      "title": "Seed words for analysis of positive-negative sentiment",
      "object": "data_dictionary_sentiment",
      "class": [
        "dictionary2"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "data_textmodel_lss_russianprotests",
      "title": "A fitted LSS model on street protest in Russia",
      "object": "data_textmodel_lss_russianprotests",
      "class": [
        "textmodel_lss"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "as.seedwords",
      "title": "Convert a list or a dictionary to seed words",
      "topics": [
        "as.seedwords"
      ]
    },
    {
      "page": "as.textmodel_lss",
      "title": "Create a Latent Semantic Scaling model from various objects",
      "topics": [
        "as.textmodel_lss",
        "as.textmodel_lss.matrix",
        "as.textmodel_lss.numeric",
        "as.textmodel_lss.textmodel_lss",
        "as.textmodel_lss.textmodel_word2vec"
      ]
    },
    {
      "page": "bootstrap_lss",
      "title": "[experimental] Compute polarity scores with different hyper-parameters",
      "topics": [
        "bootstrap_lss"
      ]
    },
    {
      "page": "coef.textmodel_lss",
      "title": "Extract model coefficients from a fitted textmodel_lss object",
      "topics": [
        "coef.textmodel_lss",
        "coefficients.textmodel_lss"
      ]
    },
    {
      "page": "data_dictionary_ideology",
      "title": "Seed words for analysis of left-right political ideology",
      "topics": [
        "data_dictionary_ideology"
      ]
    },
    {
      "page": "data_dictionary_sentiment",
      "title": "Seed words for analysis of positive-negative sentiment",
      "topics": [
        "data_dictionary_sentiment"
      ]
    },
    {
      "page": "data_textmodel_lss_russianprotests",
      "title": "A fitted LSS model on street protest in Russia",
      "topics": [
        "data_textmodel_lss_russianprotests"
      ]
    },
    {
      "page": "optimize_lss",
      "title": "[experimental] Compute variance ratios with different hyper-parameters",
      "topics": [
        "optimize_lss"
      ]
    },
    {
      "page": "predict.textmodel_lss",
      "title": "Prediction method for textmodel_lss",
      "topics": [
        "predict.textmodel_lss"
      ]
    },
    {
      "page": "seedwords",
      "title": "Seed words for Latent Semantic Analysis",
      "topics": [
        "seedwords"
      ]
    },
    {
      "page": "smooth_lss",
      "title": "Smooth predicted polarity scores",
      "topics": [
        "smooth_lss"
      ]
    },
    {
      "page": "textmodel_lss",
      "title": "Fit a Latent Semantic Scaling model",
      "topics": [
        "textmodel_lss",
        "textmodel_lss.dfm",
        "textmodel_lss.fcm",
        "textmodel_lss.tokens"
      ]
    },
    {
      "page": "textplot_simil",
      "title": "Plot similarity between seed words",
      "topics": [
        "textplot_simil"
      ]
    },
    {
      "page": "textplot_terms",
      "title": "Plot polarity scores of words",
      "topics": [
        "textplot_terms"
      ]
    },
    {
      "page": "textstat_context",
      "title": "Identify context words",
      "topics": [
        "char_context",
        "textstat_context"
      ]
    }
  ],
  "_readme": "https://github.com/koheiw/lsx/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "digest",
    "farver",
    "fastmatch",
    "ggplot2",
    "ggrepel",
    "glue",
    "gtable",
    "isoband",
    "ISOcodes",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "locfit",
    "magrittr",
    "Matrix",
    "nsyllable",
    "plyr",
    "proxyC",
    "quanteda",
    "quanteda.textstats",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "reshape2",
    "rlang",
    "RSpectra",
    "S7",
    "scales",
    "SnowballC",
    "stopwords",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite",
    "withr",
    "xml2",
    "yaml"
  ],
  "_score": 6.357934847000454,
  "_indexed": true,
  "_nocasepkg": "lsx",
  "_universes": [
    "koheiw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-05T07:47:18.000Z",
      "distro": "noble",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "b7733f7da62bdfc11a92039101ab69ae61753c475d81c82a09fa048d9eda66d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-05T07:47:04.000Z",
      "distro": "noble",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "bf030ef133c3e973f7d4f51f415e1a7da35248d58ab7f08ec0b1768c2f927d0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-05T07:49:20.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "4cbed27745f1797eb8f724b85ff17dc20e581118e9f41eafc8f167a1653572a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-05T07:50:44.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "7d487fe640100d766d4558d2c8f5435d558f694b99c79485d2fb106922bdc3a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-06-05T07:46:47.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "5cc87af46afb6c5508264c50ea2a5ef2fad39d17350d6f6f9cbde4bacf08ef78",
      "status": "success",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-05T07:46:00.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "adf34eb334bcc613768beb59ee6eb2f463a411e00e1b8d9dbb70e8d00419f99a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-05T07:45:49.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "fe51240e2c19b458b2968069d5570569e5ee796e9cdb30e1d0cb371713beef8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-05T07:46:02.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "8c16610ffea2aed20d98a59ed3c0717f3b5a35452d582a5a539ad01e16b8eb49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/27002265383"
    }
  ]
}