{
  "_id": "6ac8c620de46216d5edd6ede",
  "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-10-09 10:10:40 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/42ec26a80f008c4b97acd13c575d31914d6c7872d4a2bb5a985edfc14c7f5cf2",
  "_filesize": 2169990,
  "_sha256": "42ec26a80f008c4b97acd13c575d31914d6c7872d4a2bb5a985edfc14c7f5cf2",
  "_expires": "2027-01-17T10:46:54.000Z",
  "_created": "2026-10-09T10:10:40.000Z",
  "_published": "2026-10-09T10:46:56.621Z",
  "_buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113772323262,
      "time": 201,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11609239035"
    },
    {
      "job": 113772323033,
      "time": 219,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11609834228"
    },
    {
      "job": 113772323103,
      "time": 194,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11610924624"
    },
    {
      "job": 113772323055,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610219124"
    },
    {
      "job": 113771129969,
      "time": 203,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11608768824"
    },
    {
      "job": 113772322941,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11609588642"
    },
    {
      "job": 113772323088,
      "time": 163,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11609278934"
    },
    {
      "job": 113772323246,
      "time": 135,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11609503521"
    },
    {
      "job": 113772323069,
      "time": 159,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11608514457"
    }
  ],
  "_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": 194,
    "description": "Data scientist specializing in political and financial text analysis"
  },
  "_downloads": {
    "count": 633,
    "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": 29,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/LSX.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.225825991461893,
  "_indexed": true,
  "_nocasepkg": "lsx",
  "_universes": [
    "koheiw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-10-09T10:13:04.000Z",
      "distro": "resolute",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/8e8b04c6b77ac36e5fd0f3126714dd87cefee6fafe440c273b8eabcb46d46c5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-10-09T10:13:08.000Z",
      "distro": "resolute",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/7554e6e7e6eb22a5ed7acb133c56a63c9c204fc6b633fb499f61076dcc37088b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-10-09T10:44:53.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/14bd2588402c47239d649de0cd53bf5e0a4a9cb09c528cb85df17b7f9a584f3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-10-09T10:44:36.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/c43fe78b84fe49a8887a7aa3da97d48a1542289ad7c31005568daaa67b234438",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-10-09T10:13:06.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/bc1dda88d2c7806630c8f5b8f1df39abc9c829d860ec49ea4ca39cd64237bb36",
      "status": "success",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-10-09T10:12:06.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/c31d52b0fbc02aa0d652d973aa71e1b06171665c3204547fb28682604701cba5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-10-09T10:12:06.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/7311b068ed93333d6862514847f067773a82564919de1ec3f463f6ef690a03f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-10-09T10:12:06.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/d5a08fb0e0f4a43a843f0c95e832e0ca3c746904c2fa319cb55ed0aa659606ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/37915630865"
    }
  ]
}