The cl-sentiment Reference Manual

This is the cl-sentiment Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sat Dec 03 20:39:48 2022 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-sentiment

A sentiment analysis library for Common Lisp.

Author

Rob Blackwell

Version

0.0.1

Dependencies
  • cl-ppcre (system).
  • rt (system).
Source

cl-sentiment.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-sentiment/cl-sentiment.asd

Source

cl-sentiment.asd.

Parent Component

cl-sentiment (system).

ASDF Systems

cl-sentiment.


3.1.2 cl-sentiment/package.lisp

Source

cl-sentiment.asd.

Parent Component

cl-sentiment (system).

Packages

cl-sentiment.


3.1.3 cl-sentiment/sentiment.lisp

Dependency

package.lisp (file).

Source

cl-sentiment.asd.

Parent Component

cl-sentiment (system).

Public Interface
Internals

3.1.4 cl-sentiment/tests.lisp

Dependency

sentiment.lisp (file).

Source

cl-sentiment.asd.

Parent Component

cl-sentiment (system).


4 Packages

Packages are listed by definition order.


4.1 cl-sentiment

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: initialize (&optional filename)

Initializes cl-sentiment with a default word-score table.

Package

cl-sentiment.

Source

sentiment.lisp.

Function: load-word-scores (filename)

Loads a word score table from a tab separated file.

Package

cl-sentiment.

Source

sentiment.lisp.

Function: sentiment (text &optional table)

Returns the sentiment measure for the given text.

Package

cl-sentiment.

Source

sentiment.lisp.


5.2 Internals


5.2.1 Special variables

Special Variable: *word-scores*
Package

cl-sentiment.

Source

sentiment.lisp.


5.2.2 Ordinary functions

Function: words (text)

Returns a list of words in the given text using simplistic tokenization.

Package

cl-sentiment.

Source

sentiment.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables

Jump to:   *  
S  
Index Entry  Section

*
*word-scores*: Private special variables

S
Special Variable, *word-scores*: Private special variables