{"id":24835854,"url":"https://github.com/s-expressionists/spell","last_synced_at":"2026-01-27T08:02:03.767Z","repository":{"id":145207653,"uuid":"103807206","full_name":"s-expressionists/Spell","owner":"s-expressionists","description":"Spellchecking library for Common Lisp (currently only English)","archived":false,"fork":false,"pushed_at":"2025-03-16T16:41:56.000Z","size":20089,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T04:13:24.536Z","etag":null,"topics":["english","spellchecking"],"latest_commit_sha":null,"homepage":"https://s-expressionists.github.io/Spell/","language":"Common Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s-expressionists.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-BSD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-17T06:08:55.000Z","updated_at":"2025-03-16T16:42:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7b63aa5-3c95-4f2f-994b-2fd5c4127615","html_url":"https://github.com/s-expressionists/Spell","commit_stats":null,"previous_names":["s-expressionists/spell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FSpell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FSpell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FSpell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FSpell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-expressionists","download_url":"https://codeload.github.com/s-expressionists/Spell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245585815,"owners_count":20639671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["english","spellchecking"],"created_at":"2025-01-31T04:55:46.111Z","updated_at":"2026-01-27T08:01:58.724Z","avatar_url":"https://github.com/s-expressionists.png","language":"Common Lisp","readme":"#+TITLE: SPELL: spellchecking library for Common Lisp.\n\n* Introduction\n\n  SPELL is a spellchecking library for Common Lisp. The code of this\n  library is made available under the BSD license. The file\n  file:data/english.txt is made available under the license in\n  file:english.LICENSE.\n\n  Loading (possibly after compiling) the ~spell~ system may initially\n  take between something like 3 and 60 seconds, depending on the\n  machine and CL implementation, as an English dictionary is loaded,\n  optimized and compiled into a FASL file. Subsequent load operations\n  (without compiling) should finish within well below one second.\n\n  For loading the ~spell~ system, use\n\n  #+begin_src lisp\n    (ql:quickload \"spell\")\n  #+end_src\n\n  This document gives only a very brief overview and highlights some\n  features. Proper documentation can be found in the\n  file:documentation directory.\n\n* Looking up Words\n\n  The exported functions for looking up words are\n  ~spell:english-lookup~ which accepts a string, and\n  ~spell:english-check-paragraph~ which checks a whole paragraph of\n  text and returns a list of conses:\n\n  #+begin_src lisp :exports both\n    (spell:english-lookup \"horse\")\n  #+end_src\n\n  #+RESULTS:\n  #+begin_example\n  (#\u003cEXPLICIT-BASE-VERB \"horse\" person:ANY number:ANY tense:NIL negative:NIL contraction:NIL strength:WEAK infinitive:SELF {1001089AA3}\u003e\n   #\u003cEXPLICIT-BASE-NOUN \"horse\" number:SINGULAR case:NIL gender:NIL {1001089A73}\u003e)\n  #+end_example\n\n  #+begin_src lisp :exports both\n    (spell:english-check-paragraph \"In Polish, a horse is koń, and in German, it's\n    das Pferd.\")\n  #+end_src\n\n  #+RESULTS:\n  #+begin_example\n    ((22 . 25) (47 . 50) (51 . 56))\n  #+end_example\n\n  Each cons represents a single word in the paragraph which has failed\n  dictionary lookup, with the ~car~ and ~cdr~ being offsets in the\n  original string outlining the word.\n\n* Obtaining Corrections\n\n  The SPELL library exports a few functions that obtain similar words\n  for a given word or corrections for a misspelled word. The most\n  convenient function is ~spell:english-corrections~ which returns a\n  list of corrections for a (possibly) misspelled English word;\n\n  #+begin_src lisp :exports both :results value verbatim\n    (spell:english-corrections \"lifp\" :threshold 1)\n  #+end_src\n\n  #+RESULTS:\n  #+begin_example\n    (\"lift\" \"life\" \"lip\" \"lisp\" \"limp\")\n    NIL\n  #+end_example\n\n  For more ways to use this function as well as the information about\n  the lower-level functions for similar words and corrections, see the\n  main documentation.\n\n* Backward Compatibility Notice\n\n  The SPELL library provides the ~spell/simple~ ASDF system. The\n  difference between the full and the simple version /used to be/ that\n  the simple version answered only \"does this word occur in the\n  English dictionary?\" with a boolean value, while the full version\n  returns a list of all word meanings associated with that\n  string. However, this difference no longer exists and the\n  ~spell/simple~ system is now an alias for the ~spell~ system.\n\n  The ~spell/simple~ system can still be loaded with\n\n  #+begin_src lisp\n    (ql:quickload \"spell/simple\")\n  #+end_src\n\n# Local Variables:\n# eval: (load-library \"ob-lisp\")\n# End:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-expressionists%2Fspell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-expressionists%2Fspell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-expressionists%2Fspell/lists"}