{
  "_id": "6a2914bb732311cd8759887f",
  "Package": "politeness",
  "Type": "Package",
  "Title": "Detecting Politeness Features in Text",
  "Version": "0.9.5",
  "Authors@R": "c(person(given = \"Mike\",\nfamily = \"Yeomans\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mk.yeomans@gmail.com\"),\nperson(given = \"Alejandro\",\nfamily = \"Kantor\",\nrole = \"aut\"),\nperson(given = \"Dustin\",\nfamily = \"Tingley\",\nrole = \"aut\"))",
  "Maintainer": "Mike Yeomans <mk.yeomans@gmail.com>",
  "Description": "Detecting markers of politeness in English natural\nlanguage. This package allows researchers to easily visualize\nand quantify politeness between groups of documents. This\npackage combines prior research on the linguistic markers of\npoliteness. We thank the Spencer Foundation, the Hewlett\nFoundation, and Harvard's Institute for Quantitative Social\nScience for support.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libpng-dev libxml2-dev python3",
  "Repository": "https://myeomans.r-universe.dev",
  "Date/Publication": "2026-03-12 14:35:14 UTC",
  "RemoteUrl": "https://github.com/myeomans/politeness",
  "RemoteRef": "HEAD",
  "RemoteSha": "c493f7c95dd39de34edb415af633d2a975c287ac",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 07:23:51 UTC",
    "User": "root"
  },
  "Author": "Mike Yeomans [aut, cre],\nAlejandro Kantor [aut],\nDustin Tingley [aut]",
  "MD5sum": "523392b9d3becbb7a9e851cfee0117ef",
  "_user": "myeomans",
  "_type": "src",
  "_file": "politeness_0.9.5.tar.gz",
  "_fileid": "a0113166576ba1131543532b0e36b0a8740f4c6c665cef121a9b0f9691d8bf03",
  "_filesize": 1126593,
  "_sha256": "a0113166576ba1131543532b0e36b0a8740f4c6c665cef121a9b0f9691d8bf03",
  "_created": "2026-06-10T07:23:51.000Z",
  "_published": "2026-06-10T12:39:19.627Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80503942647,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7529152246"
    },
    {
      "job": 80503942640,
      "time": 189,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7529153474"
    },
    {
      "job": 80503942673,
      "time": 227,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7529296026"
    },
    {
      "job": 80503942659,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7529379886"
    },
    {
      "job": 80503230126,
      "time": 265,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7529094871"
    },
    {
      "job": 80503942671,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7529132516"
    },
    {
      "job": 80503942670,
      "time": 171,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7529147916"
    },
    {
      "job": 80503942661,
      "time": 193,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7529154916"
    },
    {
      "job": 80503942656,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7529134121"
    }
  ],
  "_buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/myeomans/politeness",
  "_commit": {
    "id": "c493f7c95dd39de34edb415af633d2a975c287ac",
    "author": "Michael Yeomans <myeomans@users.noreply.github.com>",
    "committer": "Michael Yeomans <myeomans@users.noreply.github.com>",
    "message": "new stuff\n",
    "time": 1773326114
  },
  "_maintainer": {
    "name": "Mike Yeomans",
    "email": "mk.yeomans@gmail.com",
    "login": "myeomans",
    "twitter": "@emyeom",
    "description": " Research in Behavioral Science & Natural Language Processing.",
    "uuid": 5673987
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "tm",
      "role": "Imports"
    },
    {
      "package": "quanteda",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "spacyr",
      "role": "Imports"
    },
    {
      "package": "textir",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "myeomans",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 26,
  "_contributors": [
    {
      "user": "myeomans",
      "count": 240,
      "uuid": 5673987
    },
    {
      "user": "alejandrokantor",
      "count": 66,
      "uuid": 13670319
    },
    {
      "user": "lse202101175",
      "count": 1,
      "uuid": 91339909
    },
    {
      "user": "kbenoit",
      "count": 1,
      "uuid": 2182246
    },
    {
      "user": "tingleyd",
      "count": 1,
      "uuid": 1766874
    }
  ],
  "_userbio": {
    "uuid": 5673987,
    "type": "user",
    "name": "Michael Yeomans",
    "description": " Research in Behavioral Science & Natural Language Processing."
  },
  "_downloads": {
    "count": 310,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/politeness"
  },
  "_devurl": "https://github.com/myeomans/politeness",
  "_searchresults": 49,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/politeness.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/myeomans/politeness",
  "_realowner": "myeomans",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2017-11-02"
    },
    {
      "version": "0.1.2",
      "date": "2017-12-04"
    },
    {
      "version": "0.2.1",
      "date": "2018-01-23"
    },
    {
      "version": "0.2.2",
      "date": "2018-02-15"
    },
    {
      "version": "0.2.4",
      "date": "2018-06-11"
    },
    {
      "version": "0.2.5",
      "date": "2018-10-26"
    },
    {
      "version": "0.2.6",
      "date": "2018-10-30"
    },
    {
      "version": "0.3.1",
      "date": "2019-05-16"
    },
    {
      "version": "0.3.2",
      "date": "2019-07-02"
    },
    {
      "version": "0.3.3",
      "date": "2019-10-01"
    },
    {
      "version": "0.4.0",
      "date": "2019-10-09"
    },
    {
      "version": "0.4.1",
      "date": "2019-10-12"
    },
    {
      "version": "0.5.0",
      "date": "2020-02-26"
    },
    {
      "version": "0.5.1",
      "date": "2020-02-28"
    },
    {
      "version": "0.6.0",
      "date": "2020-04-18"
    },
    {
      "version": "0.6.1",
      "date": "2020-07-09"
    },
    {
      "version": "0.7.0",
      "date": "2020-10-18"
    },
    {
      "version": "0.7.5",
      "date": "2020-11-16"
    },
    {
      "version": "0.7.6",
      "date": "2021-01-13"
    },
    {
      "version": "0.7.7",
      "date": "2021-03-01"
    },
    {
      "version": "0.7.8",
      "date": "2021-04-25"
    },
    {
      "version": "0.8.4",
      "date": "2021-06-13"
    },
    {
      "version": "0.8.5",
      "date": "2021-08-12"
    },
    {
      "version": "0.8.6",
      "date": "2022-02-26"
    },
    {
      "version": "0.8.7",
      "date": "2022-06-28"
    },
    {
      "version": "0.8.8",
      "date": "2023-01-09"
    },
    {
      "version": "0.8.9",
      "date": "2023-02-28"
    },
    {
      "version": "0.9.0",
      "date": "2023-06-12"
    },
    {
      "version": "0.9.1",
      "date": "2023-07-17"
    },
    {
      "version": "0.9.2",
      "date": "2023-09-08"
    },
    {
      "version": "0.9.3",
      "date": "2023-11-12"
    },
    {
      "version": "0.9.4",
      "date": "2025-03-10"
    }
  ],
  "_exports": [
    "exampleTexts",
    "featurePlot",
    "findPoliteTexts",
    "modelPlot",
    "politeness",
    "politenessDNM",
    "politenessModel",
    "politenessPlot",
    "politenessProjection",
    "receptiveness",
    "trainModel"
  ],
  "_datasets": [
    {
      "name": "bowl_offers",
      "title": "Purchase offers for bowl",
      "object": "bowl_offers",
      "class": [
        "data.frame"
      ],
      "fields": [
        "condition",
        "message"
      ],
      "rows": 70,
      "table": true,
      "tojson": true
    },
    {
      "name": "feature_table",
      "title": "Table of Politeness Features",
      "object": "feature_table",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Feature.Name",
        "Uses.POS.Tags",
        "Description",
        "Example"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "phone_offers",
      "title": "#' Positive Emotions List #' #' Positive words. #' #' @format A list of 2006 positively-valenced words #' \"positive_list\"",
      "object": "phone_offers",
      "class": [
        "data.frame"
      ],
      "fields": [
        "message",
        "condition"
      ],
      "rows": 355,
      "table": true,
      "tojson": true
    },
    {
      "name": "polite_train",
      "title": "Pre-Trained Politeness",
      "object": "polite_train",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "receptive_model",
      "title": "A pre-trained model for detecting conversational receptiveness. Estimated with glmnet using annotated data from a previous paper. Primarily for use within the receptiveness() function.",
      "object": "receptive_model",
      "class": [
        "cv.glmnet"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "receptive_names",
      "title": "This is the list of variables to be extracted for the receptiveness algorithm For internal use only, within the receptiveness() function.",
      "object": "receptive_names",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "receptive_polite",
      "title": "Pre-Trained Receptiveness Data",
      "object": "receptive_polite",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Hedges",
        "Impersonal.Pronoun",
        "Negation",
        "Informal.Title",
        "Reasoning",
        "Contrast.Conjunction",
        "Positive.Emotion",
        "Negative.Emotion",
        "Agreement",
        "Disagreement",
        "Acknowledgement",
        "Subjectivity",
        "WH.Questions",
        "YesNo.Questions",
        "Truth.Intensifier",
        "Adverb.Limiter"
      ],
      "rows": 2860,
      "table": true,
      "tojson": true
    },
    {
      "name": "receptive_train",
      "title": "Pre-Trained Receptiveness Data",
      "object": "receptive_train",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "uk2us",
      "title": "UK to US Conversion dictionary",
      "object": "uk2us",
      "class": [
        "dictionary2"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bowl_offers",
      "title": "Purchase offers for bowl",
      "topics": [
        "bowl_offers"
      ]
    },
    {
      "page": "exampleTexts",
      "title": "Find polite text",
      "topics": [
        "exampleTexts"
      ]
    },
    {
      "page": "feature_table",
      "title": "Table of Politeness Features",
      "topics": [
        "feature_table"
      ]
    },
    {
      "page": "featurePlot",
      "title": "Feature plot",
      "topics": [
        "featurePlot"
      ]
    },
    {
      "page": "findPoliteTexts",
      "title": "Find polite text",
      "topics": [
        "findPoliteTexts"
      ]
    },
    {
      "page": "modelPlot",
      "title": "LASSO Coefficient Plot",
      "topics": [
        "modelPlot"
      ]
    },
    {
      "page": "phone_offers",
      "title": "#' Positive Emotions List #' #' Positive words. #' #' @format A list of 2006 positively-valenced words #' \"positive_list\"",
      "topics": [
        "phone_offers"
      ]
    },
    {
      "page": "polite_train",
      "title": "Pre-Trained Politeness",
      "topics": [
        "polite_train"
      ]
    },
    {
      "page": "politeness",
      "title": "Politeness Features",
      "topics": [
        "politeness"
      ]
    },
    {
      "page": "politenessDNM",
      "title": "Politeness Features",
      "topics": [
        "politenessDNM"
      ]
    },
    {
      "page": "politenessModel",
      "title": "Pre-Trained Politeness Classifier",
      "topics": [
        "politenessModel"
      ]
    },
    {
      "page": "politenessPlot",
      "title": "Politeness plot",
      "topics": [
        "politenessPlot"
      ]
    },
    {
      "page": "politenessProjection",
      "title": "Politeness projection",
      "topics": [
        "politenessProjection"
      ]
    },
    {
      "page": "receptive_model",
      "title": "A pre-trained model for detecting conversational receptiveness. Estimated with glmnet using annotated data from a previous paper. Primarily for use within the receptiveness() function.",
      "topics": [
        "receptive_model"
      ]
    },
    {
      "page": "receptive_names",
      "title": "This is the list of variables to be extracted for the receptiveness algorithm For internal use only, within the receptiveness() function.",
      "topics": [
        "receptive_names"
      ]
    },
    {
      "page": "receptive_polite",
      "title": "Pre-Trained Receptiveness Data",
      "topics": [
        "receptive_polite"
      ]
    },
    {
      "page": "receptive_train",
      "title": "Pre-Trained Receptiveness Data",
      "topics": [
        "receptive_train"
      ]
    },
    {
      "page": "receptiveness",
      "title": "Conversational Receptiveness",
      "topics": [
        "receptiveness"
      ]
    },
    {
      "page": "trainModel",
      "title": "Train a model with politeness features",
      "topics": [
        "trainModel"
      ]
    },
    {
      "page": "uk2us",
      "title": "UK to US Conversion dictionary",
      "topics": [
        "uk2us"
      ]
    }
  ],
  "_readme": "https://github.com/myeomans/politeness/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "distrom",
    "dplyr",
    "farver",
    "fastmatch",
    "foreach",
    "gamlr",
    "generics",
    "ggplot2",
    "ggrepel",
    "glmnet",
    "glue",
    "gtable",
    "here",
    "isoband",
    "ISOcodes",
    "iterators",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "NLP",
    "pillar",
    "pkgconfig",
    "png",
    "quanteda",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "S7",
    "scales",
    "shape",
    "slam",
    "SnowballC",
    "spacyr",
    "stopwords",
    "stringi",
    "stringr",
    "survival",
    "textir",
    "tibble",
    "tidyselect",
    "tm",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "politeness.Rmd",
      "filename": "politeness.html",
      "title": "Politeness",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Citation",
        "Motivation for package",
        "Politeness Features",
        "Dependency Parsing",
        "Data: phone_offers",
        "Detecting politeness features",
        "Plotting politeness features",
        "Projecting politeness features",
        "Reading texts that are high or low in politeness",
        "Execution time",
        "Conclusion",
        "References"
      ],
      "created": "2017-09-06 21:36:01",
      "modified": "2024-10-01 14:41:52",
      "commits": 31
    }
  ],
  "_score": 7.184350674046957,
  "_indexed": true,
  "_nocasepkg": "politeness",
  "_universes": [
    "myeomans"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.5",
      "date": "2026-06-10T07:26:43.000Z",
      "distro": "noble",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "32fed80373dbbb5847a2e8018e709e9fbf53b07d16debb0e6e8d4ebc17c2a623",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.5",
      "date": "2026-06-10T07:26:48.000Z",
      "distro": "noble",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "abb219bd80916df22448d7230dc2cd23290e32de38a2a5ce73a0678562d7e17c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.5",
      "date": "2026-06-10T07:34:02.000Z",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "f6523063aba315c6bea90b269098f1f39a271368c8526322718b6ef7e9530595",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.5",
      "date": "2026-06-10T07:38:12.000Z",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "c75c1e9faab267ede36d3977ef4832a36e1b4cff5692df23f2a71af25b1b20dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.5",
      "date": "2026-06-10T07:26:28.000Z",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "53b3b69ceb2f27be88e4e796d0a56a3866049aca4e4618889a9f1c11e386a033",
      "status": "success",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.5",
      "date": "2026-06-10T07:26:05.000Z",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "2552b0c135a321e028866abdbca45167e7089d7971e631da939c7d768ab61cde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.5",
      "date": "2026-06-10T07:26:44.000Z",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "246f6c9297d6f1ccf0d04a5400c756ac29eddb777bf94dff73d62342e8cc41c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.5",
      "date": "2026-06-10T07:25:39.000Z",
      "commit": "c493f7c95dd39de34edb415af633d2a975c287ac",
      "fileid": "1a44ee251ac214ef2372c12f75da5ad79fe37e391a859d61b991d56841abab62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/myeomans/actions/runs/27260016216"
    }
  ]
}