{
  "_id": "6ad48892104c877e3b414808",
  "Package": "lingdist",
  "Type": "Package",
  "Title": "Fast Linguistic Distance and Alignment Computation",
  "Authors@R": "c(person(given = \"Chao\",\nfamily = \"Kong\",\nrole = c(\"aut\", \"cre\"),\nemail = \"kongchao1998@gmail.com\",\ncomment = c(ORCID = \"0000-0002-6404-6142\")))",
  "Version": "2.4.0",
  "Date": "2026-3-8",
  "Description": "A fast linguistic distance and alignment computation\npackage. It implements generalized edit distance, Pointwise\nMutual Information (PMI) distance, and Weighted Jaccard\nDistance (WJD). For generalized edit distance, the package\nallows users to define custom cost for every symbol's\ninsertion, deletion, and substitution, and supports treating\ncharacter combinations as single symbols (e.g., IPA with\ndiacritics). It also provides detailed alignment information.\nPMI distance automatically learns costs from data. WJD is\nsuitable for hierarchical categorical data with multiple forms.\nAll functions are implemented in 'C++' and distance matrix\ncomputation is parallelized leveraging the 'RcppThread'\npackage.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/fncokg/lingdist",
  "BugReports": "https://github.com/fncokg/lingdist/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Repository": "https://fncokg.r-universe.dev",
  "Date/Publication": "2026-08-19 12:59:47 UTC",
  "RemoteUrl": "https://github.com/fncokg/lingdist",
  "RemoteRef": "HEAD",
  "RemoteSha": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-18 08:43:57 UTC",
    "User": "root"
  },
  "Author": "Chao Kong [aut, cre] (ORCID: <https://orcid.org/0000-0002-6404-6142>)",
  "Maintainer": "Chao Kong <kongchao1998@gmail.com>",
  "_user": "fncokg",
  "_type": "src",
  "_file": "lingdist_2.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/77db2541059a250c7ba07da45abcdc32357a5c45efdaef3f4ce0e128d54f48b1",
  "_filesize": 150619,
  "_sha256": "77db2541059a250c7ba07da45abcdc32357a5c45efdaef3f4ce0e128d54f48b1",
  "_expires": "2027-01-26T08:51:28.000Z",
  "_created": "2026-10-18T08:43:57.000Z",
  "_published": "2026-10-18T08:51:30.170Z",
  "_buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117631778934,
      "time": 101,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12131077119"
    },
    {
      "job": 117631778954,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12130299236"
    },
    {
      "job": 117631778969,
      "time": 98,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12131460607"
    },
    {
      "job": 117631778990,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12131515455"
    },
    {
      "job": 117631778889,
      "time": 146,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12130739425"
    },
    {
      "job": 117631778857,
      "time": 387,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12131845078"
    },
    {
      "job": 117631779020,
      "time": 168,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12130853749"
    },
    {
      "job": 117631778937,
      "time": 328,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12131128252"
    },
    {
      "job": 117631104245,
      "time": 207,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130584846"
    },
    {
      "job": 117631778884,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12130823793"
    },
    {
      "job": 117631778928,
      "time": 316,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12131545733"
    },
    {
      "job": 117631778877,
      "time": 234,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12131450901"
    },
    {
      "job": 117631778936,
      "time": 97,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12130079555"
    },
    {
      "job": 117631778890,
      "time": 324,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12130887587"
    },
    {
      "job": 117631778879,
      "time": 132,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12131326182"
    }
  ],
  "_upstream": "https://github.com/fncokg/lingdist",
  "_commit": {
    "id": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
    "author": "Chao Kong <kongchao1998@gmail.com>",
    "committer": "fncokg <kongchao1998@gmail.com>",
    "message": "enhencement: significant performance enhancement in `get_row_pairs`\n",
    "time": 1787144387
  },
  "_maintainer": {
    "name": "Chao Kong",
    "email": "kongchao1998@gmail.com",
    "login": "fncokg",
    "orcid": "0000-0002-6404-6142",
    "description": "Postdoctoral researcher at Shandong University.",
    "uuid": 87894114
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "RcppThread",
      "version": ">= 2.3.0",
      "role": "Imports"
    }
  ],
  "_owner": "fncokg",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-52",
      "n": 32
    },
    {
      "week": "2026-01",
      "n": 3
    },
    {
      "week": "2026-02",
      "n": 15
    },
    {
      "week": "2026-34",
      "n": 11
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2025-12-22"
    },
    {
      "name": "v2.1.0",
      "date": "2025-12-26"
    },
    {
      "name": "v2.2.0",
      "date": "2025-12-28"
    },
    {
      "name": "v2.2.1",
      "date": "2026-01-04"
    },
    {
      "name": "v2.3.0",
      "date": "2026-01-06"
    },
    {
      "name": "v2.3.1",
      "date": "2026-01-09"
    }
  ],
  "_topics": [
    "language-distance",
    "rcpp",
    "cpp"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "fncokg",
      "count": 72,
      "uuid": 87894114
    }
  ],
  "_userbio": {
    "uuid": 87894114,
    "type": "user",
    "name": "Chao Kong",
    "followers": 28,
    "description": "Postdoctoral researcher at Shandong University."
  },
  "_downloads": {
    "count": 228,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lingdist"
  },
  "_devurl": "https://github.com/fncokg/lingdist",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lingdist.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/fncokg/lingdist",
  "_realowner": "fncokg",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2023-10-12"
    }
  ],
  "_exports": [
    "check_cost_mat_symbols",
    "generate_default_cost_matrix",
    "long2squareform",
    "pw_edit_dist",
    "pw_pmi_dist",
    "pw_wjd",
    "string_edit_dist"
  ],
  "_help": [
    {
      "page": "check_cost_mat_symbols",
      "title": "Check which symbols in `data` are missing from a cost matrix",
      "topics": [
        "check_cost_mat_symbols"
      ]
    },
    {
      "page": "generate_default_cost_matrix",
      "title": "Generate a default cost matrix",
      "topics": [
        "generate_default_cost_matrix"
      ]
    },
    {
      "page": "long2squareform",
      "title": "Convert long table to square form",
      "topics": [
        "long2squareform"
      ]
    },
    {
      "page": "pw_edit_dist",
      "title": "Compute edit distance between all row pairs of a dataframe",
      "topics": [
        "pw_edit_dist"
      ]
    },
    {
      "page": "pw_pmi_dist",
      "title": "Compute PMI distance between all row pairs of a dataframe",
      "topics": [
        "pw_pmi_dist"
      ]
    },
    {
      "page": "pw_wjd",
      "title": "Compute Weighted Jaccard Distance between all row pairs of a dataframe",
      "topics": [
        "pw_wjd"
      ]
    },
    {
      "page": "string_edit_dist",
      "title": "Compute edit distance between two strings",
      "topics": [
        "string_edit_dist"
      ]
    }
  ],
  "_readme": "https://github.com/fncokg/lingdist/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppThread"
  ],
  "_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": 3.7781512503836434,
  "_indexed": true,
  "_nocasepkg": "lingdist",
  "_universes": [
    "fncokg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-18T08:45:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/616b8048bb73099823d17d48319e5cc6b7990a50e0baccdc9faf6d105182ac0a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-18T08:45:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/baa294f3ceab389f1d1dbce5c722383fc3e1d18fdeb9f7abe8e242ccc47a38d2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-18T08:45:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/a00dabde7413d58501ba79e0c4a7e75d43b77dbad47049d78e3f89b47f15da1e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-18T08:45:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/ec24a848cc97684bdeea01dc6691cf9459e35dcec91b509040df9afe213fcbcb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-18T08:46:37.000Z",
      "arch": "aarch64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/00df5e732282369cc610d75cb8ba4c7766abb007faec65536588ed46f75edba5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-18T08:48:45.000Z",
      "arch": "x86_64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/269116596f5c7844b44fa11225f36519f6a1518d4fcd51cb804bacb9f46d834d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-18T08:46:36.000Z",
      "arch": "aarch64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/3ead55ce7658a4b6b16c65eb85feae6fc29abed3912b779f2ca6328099abbe2f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-18T08:48:25.000Z",
      "arch": "x86_64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/7e97dd71e8d41489927ed839d4717a7d562961c16a595440c6d1d2775550e409",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.0",
      "date": "2026-10-18T08:45:50.000Z",
      "arch": "emscripten",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/6be5fb7f3f1d64d62e9b6e66ae3b17a86f8cb18ba50ee395aa9f35f584136922",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-18T08:48:55.000Z",
      "arch": "aarch64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/c1c6f42274e6683489ef4ffea61b40e30f6069c20132ac49d668b9a6761469f0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-18T08:46:28.000Z",
      "arch": "x86_64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/4c984355a1b11383fa8169228aa445f11eb0b5e5030770060d455681ba29f6d2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-18T08:45:22.000Z",
      "arch": "x86_64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/7d074402be8090340c3f37ca8a0323056e71e212663666ad2387fe638c4a6ce4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-18T08:49:03.000Z",
      "arch": "aarch64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/816b226fabb0a1a63745f2a6711f65b0278cbf83e82d27cea2d4f773d4228bf9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-18T08:45:31.000Z",
      "arch": "x86_64",
      "commit": "c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9",
      "fileid": "https://r2.ropensci.org/faf2fb2f63f82fb63b357f3888345cd3745fce04c229c1cb1223a2ccb6dc4ae4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/39112379837"
    }
  ]
}