{
  "_id": "6a4a03279ce196b5e5a91527",
  "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-07-05 07:04:50 UTC",
    "User": "root"
  },
  "Author": "Kohei Watanabe [aut, cre, cph]",
  "Maintainer": "Kohei Watanabe <watanabe.kohei@gmail.com>",
  "_user": "koheiw",
  "_type": "src",
  "_file": "LSX_1.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/77927424cb2285caac5a6893b7c399cccfdf9761dd1e7fba5e593b230479dd3a",
  "_filesize": 2173148,
  "_sha256": "77927424cb2285caac5a6893b7c399cccfdf9761dd1e7fba5e593b230479dd3a",
  "_expires": "2026-10-13T07:09:26.000Z",
  "_created": "2026-07-05T07:04:50.000Z",
  "_published": "2026-07-05T07:09:27.946Z",
  "_jobs": [
    {
      "job": 85201550813,
      "time": 230,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8089345408"
    },
    {
      "job": 85201550806,
      "time": 231,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8089345575"
    },
    {
      "job": 85201550803,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8089335114"
    },
    {
      "job": 85201550833,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8089333020"
    },
    {
      "job": 85201296138,
      "time": 231,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8089313846"
    },
    {
      "job": 85201550807,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8089334625"
    },
    {
      "job": 85201550799,
      "time": 178,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8089338640"
    },
    {
      "job": 85201550804,
      "time": 206,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8089342200"
    },
    {
      "job": 85201550818,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8089336394"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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-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": 58,
  "_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",
    "followers": 192,
    "description": "Data scientist specializing in political and financial text analysis"
  },
  "_downloads": {
    "count": 718,
    "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": 21,
  "_rbuild": "4.6.1",
  "_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.085647288296856,
  "_indexed": true,
  "_nocasepkg": "lsx",
  "_universes": [
    "koheiw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-05T07:07:28.000Z",
      "distro": "resolute",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/fdd29d2fda6a6474c59e5dac8fa7def6948c4a6cd2af99a07dfa3e53d6e4fa03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-05T07:07:24.000Z",
      "distro": "resolute",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/c885e89dc75557a4c15f24815dd3a082387777776e1ae6b794a0b87258f6460a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-05T07:06:32.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/93891ead9631059de760d01f85165fdd90e96955557f9ef384a0920c322668d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-05T07:06:29.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/83463bce09c15fd09d07f82c0862906e6bd2cf41d2713a57c36a60989a9181d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-07-05T07:07:46.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/b733da64788977a23fc2a38615d58cf7856a5855a6686ef562350d64d08f2ecb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-05T07:06:33.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/c54aeb87acd8e98b39758bf4d74f2f452846e3505526c849544df12d2429ef49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-05T07:06:26.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/692293303fb96c681e7a7c0329539eeb98eb60a323f71caa86f43acb540d1239",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-05T07:06:14.000Z",
      "commit": "dd3dfbed82ba9e549609d464364799b37ab40273",
      "fileid": "https://r2.ropensci.org/2f1300c697ab7c6348fea93f0b72afd7b2304f00cb7f9a1f89d20741b0b03174",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/28732731637"
    }
  ]
}