{
  "_id": "6af1b80694cdbf48db2b1a12",
  "Package": "sbo",
  "Type": "Package",
  "Title": "Text Prediction via Stupid Back-Off N-Gram Models",
  "Version": "0.5.0",
  "Author": "Valerio Gherardi",
  "Maintainer": "Valerio Gherardi <vgherard@sissa.it>",
  "Description": "Utilities for training and evaluating text predictors\nbased on Stupid Back-Off N-gram models (Brants et al., 2007,\n<https://www.aclweb.org/anthology/D07-1090/>).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.1.9000",
  "SystemRequirements": "C++11",
  "URL": "https://vgherard.github.io/sbo/, https://github.com/vgherard/sbo",
  "BugReports": "https://github.com/vgherard/sbo/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://vgherard.r-universe.dev",
  "Date/Publication": "2020-12-05 14:59:11 UTC",
  "RemoteUrl": "https://github.com/vgherard/sbo",
  "RemoteRef": "v0.5.0",
  "RemoteSha": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-09 11:53:10 UTC",
    "User": "root"
  },
  "_user": "vgherard",
  "_type": "src",
  "_file": "sbo_0.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b8bf4e2e7819f6623fe17989d041a603458c57fcd52752a5d0e34ac17870a8cd",
  "_filesize": 3234094,
  "_sha256": "b8bf4e2e7819f6623fe17989d041a603458c57fcd52752a5d0e34ac17870a8cd",
  "_expires": "2027-02-17T12:09:40.000Z",
  "_created": "2026-11-09T11:53:10.000Z",
  "_published": "2026-11-09T12:09:42.795Z",
  "_upstream": "https://github.com/vgherard/sbo",
  "_status": "failure",
  "_maintainer": {
    "name": "Valerio Gherardi",
    "email": "vgherard@sissa.it"
  },
  "_jobs": [
    {
      "job": 129144642296,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13671242278"
    },
    {
      "job": 129144642355,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13669914708"
    },
    {
      "job": 129144642291,
      "time": 183,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13671575873"
    },
    {
      "job": 129144642478,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13670579358"
    },
    {
      "job": 129144642429,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13670514899"
    },
    {
      "job": 129144642390,
      "time": 393,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13672350842"
    },
    {
      "job": 129144642424,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13671572225"
    },
    {
      "job": 129144642353,
      "time": 444,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13670809520"
    },
    {
      "job": 129142501623,
      "time": 294,
      "config": "source",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13671156753"
    },
    {
      "job": 129144642262,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13670154735"
    },
    {
      "job": 129144642416,
      "time": 360,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13670993199"
    },
    {
      "job": 129144642661,
      "time": 171,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13671905478"
    },
    {
      "job": 129144642458,
      "time": 128,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13671635518"
    },
    {
      "job": 129144642473,
      "time": 379,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13670399427"
    },
    {
      "job": 129144642302,
      "time": 184,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13671456431"
    }
  ],
  "_buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707",
  "_commit": {
    "id": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
    "author": "vgherard <vgherard@sissa.it>",
    "committer": "vgherard <vgherard@sissa.it>",
    "message": "CRAN comments for v0.5.0\n",
    "time": 1607180351
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "vgherard",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "natural-language-processing",
    "ngram-models",
    "predictive-text",
    "sbo",
    "cpp"
  ],
  "_stars": 10,
  "_userbio": {
    "uuid": 62836440,
    "type": "user",
    "name": "Valerio Gherardi",
    "followers": 14,
    "description": "|physicist>   +   |data scientist>"
  },
  "_downloads": {
    "count": 83,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sbo"
  },
  "_devurl": "https://github.com/vgherard/sbo",
  "_pkgdown": "https://vgherard.github.io/sbo/",
  "_searchresults": 17,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::char_get_string_elt()",
        "hash": "b8ef75689d832a84"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sbo.html"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2020-11-04"
    },
    {
      "version": "0.3.2",
      "date": "2020-11-09"
    },
    {
      "version": "0.5.0",
      "date": "2020-12-05"
    }
  ],
  "_exports": [
    "as_sbo_dictionary",
    "babble",
    "dictionary",
    "eval_sbo_predictor",
    "kgram_freqs",
    "kgram_freqs_fast",
    "predictor",
    "predtable",
    "preprocess",
    "prune",
    "sbo_dictionary",
    "sbo_kgram_freqs",
    "sbo_kgram_freqs_fast",
    "sbo_predictor",
    "sbo_predtable",
    "tokenize_sentences",
    "word_coverage"
  ],
  "_datasets": [
    {
      "name": "twitter_dict",
      "title": "Top 1000 dictionary from Twitter training set",
      "object": "twitter_dict",
      "class": [
        "sbo_dictionary"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "twitter_freqs",
      "title": "k-gram frequencies from Twitter training set",
      "object": "twitter_freqs",
      "class": [
        "sbo_kgram_freqs"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "twitter_predtable",
      "title": "Next-word prediction tables from 3-gram model trained on Twitter training set",
      "object": "twitter_predtable",
      "class": [
        "sbo_predtable",
        "sbo_predictions"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "twitter_test",
      "title": "Twitter test set",
      "object": "twitter_test",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "twitter_train",
      "title": "Twitter training set",
      "object": "twitter_train",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_sbo_dictionary",
      "title": "Coerce to dictionary",
      "topics": [
        "as_sbo_dictionary",
        "as_sbo_dictionary.character"
      ]
    },
    {
      "page": "babble",
      "title": "Babble!",
      "topics": [
        "babble"
      ]
    },
    {
      "page": "eval_sbo_predictor",
      "title": "Evaluate Stupid Back-off next-word predictions",
      "topics": [
        "eval_sbo_predictor"
      ]
    },
    {
      "page": "kgram_freqs",
      "title": "k-gram frequency tables",
      "topics": [
        "kgram_freqs",
        "kgram_freqs_fast",
        "sbo_kgram_freqs",
        "sbo_kgram_freqs_fast"
      ]
    },
    {
      "page": "plot.word_coverage",
      "title": "Plot method for word_coverage objects",
      "topics": [
        "plot.word_coverage"
      ]
    },
    {
      "page": "predict.sbo_kgram_freqs",
      "title": "Predict method for k-gram frequency tables",
      "topics": [
        "predict.sbo_kgram_freqs"
      ]
    },
    {
      "page": "predict.sbo_predictor",
      "title": "Predict method for Stupid Back-off text predictor",
      "topics": [
        "predict.sbo_predictor"
      ]
    },
    {
      "page": "preprocess",
      "title": "Preprocess text corpus",
      "topics": [
        "preprocess"
      ]
    },
    {
      "page": "prune",
      "title": "Prune k-gram objects",
      "topics": [
        "prune",
        "prune.sbo_kgram_freqs",
        "prune.sbo_predtable"
      ]
    },
    {
      "page": "sbo_dictionary",
      "title": "Dictionaries",
      "topics": [
        "dictionary",
        "sbo_dictionary"
      ]
    },
    {
      "page": "sbo_predictions",
      "title": "Stupid Back-off text predictions",
      "topics": [
        "predictor",
        "predtable",
        "sbo_predictions",
        "sbo_predictor",
        "sbo_predictor.character",
        "sbo_predictor.sbo_kgram_freqs",
        "sbo_predictor.sbo_predtable",
        "sbo_predtable",
        "sbo_predtable.character",
        "sbo_predtable.sbo_kgram_freqs"
      ]
    },
    {
      "page": "tokenize_sentences",
      "title": "Sentence tokenizer",
      "topics": [
        "tokenize_sentences"
      ]
    },
    {
      "page": "twitter_dict",
      "title": "Top 1000 dictionary from Twitter training set",
      "topics": [
        "twitter_dict"
      ]
    },
    {
      "page": "twitter_freqs",
      "title": "k-gram frequencies from Twitter training set",
      "topics": [
        "twitter_freqs"
      ]
    },
    {
      "page": "twitter_predtable",
      "title": "Next-word prediction tables from 3-gram model trained on Twitter training set",
      "topics": [
        "twitter_predtable"
      ]
    },
    {
      "page": "twitter_test",
      "title": "Twitter test set",
      "topics": [
        "twitter_test"
      ]
    },
    {
      "page": "twitter_train",
      "title": "Twitter training set",
      "topics": [
        "twitter_train"
      ]
    },
    {
      "page": "word_coverage",
      "title": "Word coverage fraction",
      "topics": [
        "word_coverage",
        "word_coverage.character",
        "word_coverage.sbo_dictionary",
        "word_coverage.sbo_kgram_freqs",
        "word_coverage.sbo_predictions"
      ]
    }
  ],
  "_readme": "https://github.com/vgherard/sbo/raw/v0.5.0/README.md",
  "_rundeps": [
    "brio",
    "callr",
    "cli",
    "cpp11",
    "crayon",
    "desc",
    "diffobj",
    "dplyr",
    "evaluate",
    "fs",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "rprojroot",
    "stringi",
    "stringr",
    "testthat",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.929418925714293,
  "_indexed": true,
  "_nocasepkg": "sbo",
  "_universes": [
    "vgherard"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-09T11:55:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/59705853e54bdcb90ddecc9bfd17f438f4196276904c4d5e76a7185984bcf506",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-09T11:55:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/f1937a522f762ac75563fd4151b9eec6795a3d91a97b312d624e525aad43aea4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-09T11:56:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/6c6056d9db349927d8e940d7b4b4256987cb78b3055688c663e7403797705e9d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-09T11:55:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/a881c0c5d7e1acfe13adf1283e6b9f299ad4eee45e5b72dc6c7db964ddfac0d9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-11-09T12:06:20.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/d311aea0b134cdd3e3c996d636b290c35059b1dae53e248c04b2b3c81b8006fe",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-11-09T12:05:57.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/d22e6bdab16310531cebce2fe456fb4317d6d218ee055c1ed1ce2035d7cc26d5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-11-09T12:07:19.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/1650624bbfc25e4b8e252de200f50e44b4a58ce0022ca4bd113b1c2c4c9ccbdb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-11-09T12:06:19.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/728aa0983bcff60037df8a5d1f42c5cdf23f104bb9f3bc876a0e07fc620a3db3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-11-09T11:55:36.000Z",
      "arch": "emscripten",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/43b52a10df25a7943879daf1e790f00d83f4488988eeba1ab812506f402fc7af",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-09T11:58:25.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/f9536693e0ad12d6b8be365fd3d08ba3ede327c85c41c9827bc6f32471636a8b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-09T11:54:51.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/9b03833696cc19359b955d1359322fc9b4951b355a42c18eade3f46817fc1732",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-09T11:54:48.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/43d82685c7a434c29dee7f48893375e3940ae60cb073c19e861b40e41a29e838",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-09T11:58:49.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/f806a1c9e5e07d2b6a0559678f5530379d2b762dcf035577c5f87937475d528f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-09T11:55:09.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/a77e7bb71ff778e31d6c789808669ccb6fb820e4c8acb4d1a73533ae478f1cab",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/42611958707"
    }
  ]
}