{
  "_id": "6aca65befe5cc25786e88685",
  "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-10-10 15:19:36 UTC",
    "User": "root"
  },
  "_user": "vgherard",
  "_type": "src",
  "_file": "sbo_0.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/40c519fe1e3014fa5f4d75cf3c4ba118de7207d30ad79e064d7fed2f0990f960",
  "_filesize": 3233897,
  "_sha256": "40c519fe1e3014fa5f4d75cf3c4ba118de7207d30ad79e064d7fed2f0990f960",
  "_expires": "2027-01-18T16:20:12.000Z",
  "_created": "2026-10-10T15:19:36.000Z",
  "_published": "2026-10-10T16:20:13.914Z",
  "_buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114245499026,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11673928512"
    },
    {
      "job": 114245499081,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11673374634"
    },
    {
      "job": 114245498986,
      "time": 171,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11673244566"
    },
    {
      "job": 114245499045,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11673004838"
    },
    {
      "job": 114245499028,
      "time": 188,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11674399447"
    },
    {
      "job": 114245499223,
      "time": 235,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11673879701"
    },
    {
      "job": 114245499082,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11675400770"
    },
    {
      "job": 114245499066,
      "time": 384,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11675005102"
    },
    {
      "job": 114244586461,
      "time": 276,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11673154475"
    },
    {
      "job": 114245499047,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11673888565"
    },
    {
      "job": 114245499108,
      "time": 356,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11673514519"
    },
    {
      "job": 114245499010,
      "time": 213,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11673713847"
    },
    {
      "job": 114245499009,
      "time": 160,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11673474122"
    },
    {
      "job": 114245499097,
      "time": 337,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11673868948"
    },
    {
      "job": 114245499111,
      "time": 113,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11674028337"
    }
  ],
  "_upstream": "https://github.com/vgherard/sbo",
  "_commit": {
    "id": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
    "author": "vgherard <vgherard@sissa.it>",
    "committer": "vgherard <vgherard@sissa.it>",
    "message": "CRAN comments for v0.5.0\n",
    "time": 1607180351
  },
  "_maintainer": {
    "name": "Valerio Gherardi",
    "email": "vgherard@sissa.it"
  },
  "_distro": "resolute",
  "_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": 55,
    "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,
  "_rbuild": "4.6.1",
  "_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-10-10T15:21:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/ca14e5d60d9adb6c05bd76ef7d1d2d33f10e7d9f35274e6e318174b8a937e12b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-10-10T15:22:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/6977f28c00c46edfcb8f618a79341c629e71bdc1b8cf4f2e1d83ba46254723a6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-10-10T15:22:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/20322c272b2e568b42528f813b6716c0c90b4a98f1f088b840f62e388a80bee2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-10-10T15:22:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/b4380a096573b4d8d8b9cfebe1d391ca88186f0df66cabea176c778a7e135f5f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-10-10T16:18:20.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/92b34b2814d0313ace77323a429fb44fa06f8056188ca1b73648975d2f69513f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-10-10T15:31:38.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/449f869976963363aa9ab14962d28acd44f11f044d5bd76a258ac487a51dbb4b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-10-10T16:18:55.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/fd40697e899a63cef78a9ff6f8ebabf370db93070261a4b7576249583e7f1fcf",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-10-10T15:32:36.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/4b9baf001fe92cd5790bf8ff45a274422727f46a18577781cb11d98369ee784b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-10-10T15:22:18.000Z",
      "arch": "emscripten",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/27044f53fc660ea6bd6d8d265f4b0db344cb7d0cb0751df1e692396185b225b3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-10T15:24:47.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/7eb112dfc51ed63f0111173928a2b7a1d480d420210740dfd3110f9180dc35d5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-10T15:21:21.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/b80348b5b6230e9390cc07bffc8da74cef62bcb7bd83c1e0f843e635dae057e8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-10T15:21:21.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/5db8b827122f2eb79ac9876f5f7513e40d96e2c58dd3968a379f1ca6f4293298",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-10T15:24:41.000Z",
      "arch": "aarch64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/1efa30a2dc02e777a1f093f28d98cb172ddaae07bd9a0ad1c284724eac7b5288",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-10-10T15:21:12.000Z",
      "arch": "x86_64",
      "commit": "75374a5bf57709fae780207fa1f93b8e86d7c6c4",
      "fileid": "https://r2.ropensci.org/88b0adae0bfbeed685ea3c65c75d3f6fa9c891a9d412a806a9a6ab7e70759cb8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/38062864509"
    }
  ]
}