Loving Common Lisp, or the Savvy Programmerโs Secret Weapon
โ Scribed by Mark Watson
- Publisher
- Lean Publishing
- Year
- 2020
- Tongue
- English
- Leaves
- 233
- Edition
- 6
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Table of Contents
Table of Contents
Cover Material, Copyright, and License
Preface
Notes on the Sixth Edition Published June 2020
Notes on the Fifth Edition Published September 2019
Why Use Common Lisp?
A Request from the Author
Older Book Editions
Acknowledgments
Setting Up Your Common Lisp Development System and Quicklisp
List of Quicklisp Projects and Small Examples in this Book
Introduction
Why Did I Write this Book?
Free Software Tools for Common Lisp Programming
How is Lisp Different from Languages like Java and C++?
Advantages of Working in a Lisp Environment
Common Lisp Basics
Getting Started with SBCL
Making the repl Nicer using rlwrap
The Basics of Lisp Programming
Symbols
Operations on Lists
Using Arrays and Vectors
Using Strings
Using Hash Tables
Using Eval to Evaluate Lisp Forms
Using a Text Editor to Edit Lisp Source Files
Recovering from Errors
Garbage Collection
Loading your Working Environment Quickly
Functional Programming Concepts
Quicklisp
Using Quicklisp to Find Packages
Using Quicklisp to Configure Emacs and Slime
Defining Lisp Functions
Using Lambda Forms
Using Recursion
Closures
Using the Function eval
Defining Common Lisp Macros
Example Macro
Using the Splicing Operator
Using macroexpand-1
Using Common Lisp Loop Macros
dolist
dotimes
do
Using the loop Special Form to Iterate Over Vectors or Arrays
Common Lisp Package System
Input and Output
The Lisp read and read-line Functions
Lisp Printing Functions
Plotting Data
Implementing the Library
Packaging as a Quicklisp Project
Common Lisp Object System - CLOS
Example of Using a CLOS Class
Implementation of the HTMLstream Class
Using Defstruct or CLOS
Heuristically Guided Search
Network Programming
An introduction to Drakma
An introduction to Hunchentoot
Complete REST Client Server Example Using JSON for Data Serialization
Network Programming Wrap Up
Using the Microsoft Bing Search APIs
Getting an Access Key for Microsoft Bing Search APIs
Example Search Script
Wrap-up
Accessing Relational Databases
Database Wrap Up
Using MongoDB, Solr NoSQL Data Stores
MongoDB
A Common Lisp Solr Client
NoSQL Wrapup
Natural Language Processing
Loading and Running the NLP Library
Part of Speech Tagging
Categorizing Text
Detecting People's Names and Place Names
Summarizing Text
Text Mining
Information Gathering
DBPedia Lookup Service
Web Spiders
Using Apache Nutch
Wrap Up
Using The CL Machine-Learning Library
Using the CLML Data Loading and Access APIs
K-Means Clustering of Cancer Data Set
SVM Classification of Cancer Data Set
CLML Wrap Up
Backpropagation Neural Networks
Hopfield Neural Networks
Using Python Deep Learning Models In Common Lisp With a Web Services Interface
Setting up the Python Web Services Used in this Chapter
Installing the spaCY NLP Services
Installing the Coreference NLP Services
Common Lisp Client for the spaCy NLP Web Services
Common Lisp Client for the Coreference NLP Web Services
Trouble Shooting Possible Problems - Skip if this Example Works on Your System
Python Interop Wrap-up
Using the PY4CL Library to Embed Python in Common Lisp
Project Structure, Building the Python Wrapper, and Running an Example
Implementation of spacy-py4cl
Trouble Shooting Possible Problems - Skip if this Example Works on Your System
Wrap-up for Using Py4CL
Automatically Generating Data for Knowledge Graphs
Implementation Notes
Generating RDF Data
Generating Data for the Neo4j Graph Database
Implementing the Top Level Application APIs
Implementing The Web Interface
Creating a Standalone Application Using SBCL
KGCreator Wrap Up
Knowledge Graph Navigator
Example Output
Project Configuration and Running the Application
Review of NLP Utilities Used in Application
Developing Low-Level SPARQL Utilities
Implementing the Caching Layer
Utilities to Colorize SPARQL and Generated Output
Text Utilities for Queries and Results
Using LispWorks CAPI UI Toolkit
Writing Utilities for the UI
Writing the UI
Wrap-up
Book Wrapup
๐ SIMILAR VOLUMES
This book is intended to get you, the reader, programming quickly<br/>in Common Lisp. Although the Lisp programming language is<br/>often associated with artificial intelligence, this is not a book on<br/>artificial intelligence.<br/>The Common Lisp program examples for this web book are<br/>distrib
PROGRAMMERS GUIDE with Table of Contents