{
  "_id": "6ae19e9195ca2370cc8cb021",
  "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-28 06:56: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/9fcaf2606bcd1c7cbc57d86bf3991302816a68405a46095260cab406347456d4",
  "_filesize": 2169986,
  "_sha256": "9fcaf2606bcd1c7cbc57d86bf3991302816a68405a46095260cab406347456d4",
  "_expires": "2027-02-05T07:04:47.000Z",
  "_created": "2026-10-28T06:56:50.000Z",
  "_published": "2026-10-28T07:04:49.687Z",
  "_upstream": "https://github.com/koheiw/lsx",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 122678061304,
      "time": 240,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12797683546"
    },
    {
      "job": 122678061335,
      "time": 361,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12798262745"
    },
    {
      "job": 122678061278,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12797818261"
    },
    {
      "job": 122678061383,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12797269857"
    },
    {
      "job": 122675829888,
      "time": 412,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12797722811"
    },
    {
      "job": 122678061297,
      "time": 249,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12798510363"
    },
    {
      "job": 122678061369,
      "time": 174,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12797438024"
    },
    {
      "job": 122678061416,
      "time": 137,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12797472888"
    },
    {
      "job": 122678061375,
      "time": 431,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12797923616"
    }
  ],
  "_buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 639,
    "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-28T06:59:57.000Z",
      "distro": "resolute",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/3478009f1eae2e455cf89bce8141623d7540dd52de78b4963242f2c9ad6bb037",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-10-28T07:01:34.000Z",
      "distro": "resolute",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/12c64e9f8b255a51fba83083c07a27b81dd0283b76339730a9a7b6f0befb9c71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-10-28T06:59:11.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/251f56575c68f3f5a044fb04171e414f634f75445d7d63dd61825d786a76dbbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-10-28T06:58:44.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/9f6b8fd3344d83382d36fb929c03324c992c11399e5ab235a32a4ed27d5cf18b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-10-28T07:01:25.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/6e2cf6ed4c7afdd317d1621c38aafc04b8399dc91b9801a30f5923034c4d89c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-10-28T06:58:29.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/c273c6876ce99b848f001ff8234dabd78c192c40b05142e48f615efd55f00013",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-10-28T06:58:13.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/076cc3be1fbe0563415b04bc927481e760bd2d404d68a0c2108ca5241d0ce751",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-10-28T07:02:30.000Z",
      "commit": "c66afaa2765fdbd08210a4dd7458a4d969b4849b",
      "fileid": "https://r2.ropensci.org/d28b0e69b7f9bcb97d36301dbadbf31e482fb7dba6f6607ba8eb13a9c3764298",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/koheiw/actions/runs/40646275528"
    }
  ]
}