{
  "_id": "6a52ce6a9b92047c28d55438",
  "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-07-11 22:53:47 UTC",
  "RemoteUrl": "https://github.com/koheiw/lsx",
  "RemoteRef": "HEAD",
  "RemoteSha": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-11 23:09:34 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/8a743cc63f56df08b31405e255620238d7423f027e096a731154c2dfae976560",
  "_filesize": 2173153,
  "_sha256": "8a743cc63f56df08b31405e255620238d7423f027e096a731154c2dfae976560",
  "_expires": "2026-10-19T23:14:48.000Z",
  "_created": "2026-07-11T23:09:34.000Z",
  "_published": "2026-07-11T23:14:50.231Z",
  "_jobs": [
    {
      "job": 86593810610,
      "time": 264,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8253730289"
    },
    {
      "job": 86593810613,
      "time": 260,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8253729695"
    },
    {
      "job": 86593810597,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8253717775"
    },
    {
      "job": 86593810600,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8253718239"
    },
    {
      "job": 86593573911,
      "time": 223,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8253700725"
    },
    {
      "job": 86593810590,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8253717917"
    },
    {
      "job": 86593810602,
      "time": 192,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8253722603"
    },
    {
      "job": 86593810601,
      "time": 149,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8253717413"
    },
    {
      "job": 86593810606,
      "time": 164,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8253719228"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958",
  "_status": "success",
  "_upstream": "https://github.com/koheiw/lsx",
  "_commit": {
    "id": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
    "author": "Kohei Watanabe <watanabe.kohei@gmail.com>",
    "committer": "Kohei Watanabe <watanabe.kohei@gmail.com>",
    "message": "Merge branch 'master' of https://github.com/koheiw/LSX\n",
    "time": 1783810427
  },
  "_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-28",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "lsa",
    "quanteda",
    "sentiment-analysis",
    "text-analysis"
  ],
  "_stars": 58,
  "_contributors": [
    {
      "user": "koheiw",
      "count": 998,
      "uuid": 6572963
    },
    {
      "user": "kbenoit",
      "count": 10,
      "uuid": 2182246
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 6572963,
    "type": "user",
    "name": "Kohei Watanabe",
    "followers": 191,
    "description": "Data scientist specializing in political and financial text analysis"
  },
  "_downloads": {
    "count": 574,
    "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-11T23:12:51.000Z",
      "distro": "resolute",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/598647967708f7da58ba57c34b28263b5965e222bf24006393e09712d0868f2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-11T23:12:31.000Z",
      "distro": "resolute",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/655f65fe3199f578fd4016af126b67d33098cf44ba98dd4b0069e03f67c3b32a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-11T23:11:15.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/06c9a79834c451536368add4a26b3a7fef67f93b60df50e33c3600d7dce6f300",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-11T23:11:19.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/1103933fc371fb75ea49a0e2559d93939fd9031fc2a04b14fdb39b443624f0b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-07-11T23:12:25.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/1a60a56382d1dd4e8c44ad48208834492f0c7e044ab5c76e3897f5ffcf5c9d0b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-11T23:11:11.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/44097af598a8abf5cbd1e93577badb8da1d660b4aaa7119b2163454aed01979e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-11T23:10:59.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/69a3f51a54a8e808dcaa11eee4350e2b696ddd62943c9e2918627426895ee254",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-11T23:11:00.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/67ee01664f154d3dee16cc92e2e339d060076c56c35be4b69014ba0a455583e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/29171583958"
    }
  ]
}