{"id":16411014,"url":"https://github.com/phoe/wordnet","last_synced_at":"2026-02-28T16:31:58.306Z","repository":{"id":37608239,"uuid":"147087231","full_name":"phoe/wordnet","owner":"phoe","description":"Common Lisp interface to WordNet - modernized","archived":false,"fork":false,"pushed_at":"2025-01-19T12:16:58.000Z","size":10345,"stargazers_count":38,"open_issues_count":2,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-24T04:23:45.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Common Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phoe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-02T13:24:02.000Z","updated_at":"2025-01-28T01:39:42.000Z","dependencies_parsed_at":"2022-08-18T14:52:22.799Z","dependency_job_id":null,"html_url":"https://github.com/phoe/wordnet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phoe/wordnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fwordnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fwordnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fwordnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fwordnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoe","download_url":"https://codeload.github.com/phoe/wordnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fwordnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29942817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T06:44:22.396Z","updated_at":"2026-02-28T16:31:58.284Z","avatar_url":"https://github.com/phoe.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Background and Introduction\n\n[Professor George Miller](https://en.wikipedia.org/wiki/George_Armitage_Miller) of the [Cognitive Science Laboratory](http://cogsci.princeton.edu/) of [Princeton University](http://www.princeton.edu/) directed the development a lexicographic database called [WordNet](https://wordnet.princeton.edu/).\n\nPrinceton maintained a server through which the WordNet database could be browsed via the World Wide Web, however, the online version of WordNet has been deprecated and is no longer available, so if you would like to use WordNet in your research, you can [download](https://wordnet.princeton.edu/download) the database.\n\nThe WordNet database is implemented as a set of [text files](data-file-format.text). [Mark Nahabedian](https://www.linkedin.com/in/mark-nahabedian-15a225/) has developed an interface to this database written in [Common Lisp](https://www.cs.cmu.edu/Groups/AI/html/cltl/cltl2.html). This software provides an interface by which Common Lisp programs can access lexicographic data from WordNet.\n\n## 2 Min Overview\n\n#### Some Exported Functions\n\nA complete list can be found in [packages.lisp](packages.lisp) with more documentation [here](https://github.com/phoe/wordnet).\n\n_wordnet_\n\n- synsets-containing-word/s\n- get-synonyms\n- get-antonyms\n- synset-words\n- part-of-speech\n- cached-index-lookup\n- index-entry-synsets\n\nNOTE 1: A point of note is the `part-of-speech`. Arguments with this name can take the value `:noun`, `:adjective`, `:verb` or `:adverb`.\n\nNOTE 2: I am not the author - these examples and explanations are all that I understand. There is more documentation available at the [original repo](https://github.com/phoe/wordnet#data-representation) - this is a forked one. Further, I have made part-of-speech as an optional argument in `synsets-containing-word/s`, and `get-synonyms`; the former function is named `synsets-containing-words` in the original repo.\n\n#### Class Hierarchy\n\n```lisp\n(wordnet-object ;; private\n  (wordnet-synset-entry\n    (wordnet-noun-entry\n     wordnet-verb-entry\n     wordnet-adjective-entry\n     wordnet-adverb-entry)\n  (wordnet-index-entry)\n  (wordnet-pointer))\n```\n\n\n#### Examples\n\n\n```lisp\n    CL-USER\u003e (ql:quickload 'wordnet)\n    (WORDNET)\n\n    CL-USER\u003e (use-package :wordnet)\n    T\n\n    CL-USER\u003e (setq dog-synsets (synsets-containing-word/s \"dog\" :noun)\n    ;; The first argument could be :dog or \"dog\" as well\n    ;; The second argument is optional, if given, it could be :verb, :adverb or :adjective\n    (#\u003cWORDNET-NOUN-ENTRY dog domestic_dog Canis_familiaris  {1001CB36A3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY frump dog  {1001CB7FD3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY dog  {1001CBAAF3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY cad bounder blackguard dog hound heel  {1001CBF193}\u003e\n     #\u003cWORDNET-NOUN-ENTRY frank frankfurter hotdog hot_dog dog wiener wienerwurst weenie    {1001CC4373}\u003e\n     #\u003cWORDNET-NOUN-ENTRY pawl detent click dog  {1001CC8053}\u003e\n     #\u003cWORDNET-NOUN-ENTRY andiron firedog dog dog-iron  {1001CCB733}\u003e)\n\n    CL-USER\u003e (get-synonyms :joy) \n    ;; an optional argument specifying part-of-speech can also be supplied\n    ((\"joy\" 0) (\"joyousness\" 0) (\"joyfulness\" 0) (\"joy\" 0) (\"delight\" 0) \n     (\"pleasure\" 0))\n\n    CL-USER\u003e (get-antonyms 'joy :noun)\n    ;; part-of-speech is not optional here \n    (\"sorrow\")\n\n    ;;; ======== The above functions are implemented in examples.lisp ==========\n    ;; The list of the exported functions can be found in packages.lisp.\n    \n\n    CL-USER\u003e (synset-words (first dog-synsets))\n    ((\"dog\" 0) (\"domestic_dog\" 0) (\"Canis_familiaris\" 0))\n\n    CL-USER\u003e (part-of-speech (first dog-synsets))\n    :NOUN\n\n    CL-USER\u003e (setq dog (cached-index-lookup 'dog :noun))\n    #\u003cWORDNET-INDEX-ENTRY NOUN dog {100298AD33}\u003e    \n    \n    CL-USER\u003e (setq dog-synsets (index-entry-synsets dog))\n    (#\u003cWORDNET-NOUN-ENTRY dog domestic_dog Canis_familiaris  {100291AAB3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY frump dog  {100291F3E3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY dog  {1002921F33}\u003e\n     #\u003cWORDNET-NOUN-ENTRY cad bounder blackguard dog hound heel  {10029265D3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY frank frankfurter hotdog hot_dog dog wiener wienerwurst weenie        {100292B9F3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY pawl detent click dog  {100292F6D3}\u003e\n     #\u003cWORDNET-NOUN-ENTRY andiron firedog dog dog-iron  {1002932DC3}\u003e)\n\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fwordnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoe%2Fwordnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fwordnet/lists"}