The cl-apertium-stream Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-apertium-stream Reference Manual

This is the cl-apertium-stream Reference Manual, version 0.0.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Thu Sep 15 03:33:24 2022 GMT+0.

Table of Contents


1 Introduction

cl-apertium-stream

Vee Satayamas 5ssgdxltv@relay.firefox.com

cl-apertium-stream written in Common Lisp

Example

* (ql:quickload :cl-apertium-stream)
To load "cl-apertium-stream":
  Load 1 ASDF system:
    cl-apertium-stream
; Loading "cl-apertium-stream"
..
(:CL-APERTIUM-STREAM)

* (defvar *parsed-lexical-units* (cl-apertium-stream:parse-stream "^prpers<prn><subj><p1><mf><sg>/ฉัน<prn><pers>$ ^eat<vblex><pres>/กิน<vblex><pres>$ ^rice<n><sg>/ข้าว<n><sg>$"))
*PARSED-LEXICAL-UNITS*

* *parsed-lexical-units*
((:LEXICAL-UNIT
  ((:FLAG) (:LING-FORM . "prpers") (:INVARIABLE-PART)
   (:TAGS "prn" "subj" "p1" "mf" "sg") (:INVARIABLE-PART))
  ((:FLAG) (:LING-FORM . "ฉัน") (:INVARIABLE-PART) (:TAGS "prn" "pers")
   (:INVARIABLE-PART)))
 (:UNPARSED . " ")
 (:LEXICAL-UNIT
  ((:FLAG) (:LING-FORM . "eat") (:INVARIABLE-PART) (:TAGS "vblex" "pres")
   (:INVARIABLE-PART))
  ((:FLAG) (:LING-FORM . "กิน") (:INVARIABLE-PART) (:TAGS "vblex" "pres")
   (:INVARIABLE-PART)))
 (:UNPARSED . " ")
 (:LEXICAL-UNIT
  ((:FLAG) (:LING-FORM . "rice") (:INVARIABLE-PART) (:TAGS "n" "sg")
   (:INVARIABLE-PART))
  ((:FLAG) (:LING-FORM . "ข้าว") (:INVARIABLE-PART) (:TAGS "n" "sg")
   (:INVARIABLE-PART))))

* (cl-apertium-stream:to-stream *parsed-lexical-units*)
"^prpers<prn><subj><p1><mf><sg>/ฉัน<prn><pers>$ ^eat<vblex><pres>/กิน<vblex><pres>$ ^ri

2 Systems

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


Previous: , Up: Systems   [Contents][Index]

2.1 cl-apertium-stream

Apertium stream written in Common Lisp

Author

Vee Satayamas <5ssgdxltv@relay.firefox.com>

License

Apache-2.0

Version

0.0.3

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

cl-apertium-stream.asd.

Child Components

3 Files

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


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


3.1.1 cl-apertium-stream/cl-apertium-stream.asd

Source

cl-apertium-stream.asd.

Parent Component

cl-apertium-stream (system).

ASDF Systems

cl-apertium-stream.


3.1.2 cl-apertium-stream/package.lisp

Source

cl-apertium-stream.asd.

Parent Component

cl-apertium-stream (system).

Packages

cl-apertium-stream.


3.1.3 cl-apertium-stream/parser.lisp

Dependency

package.lisp (file).

Source

cl-apertium-stream.asd.

Parent Component

cl-apertium-stream (system).

Public Interface

parse-stream (function).

Internals

3.1.4 cl-apertium-stream/generator.lisp

Dependency

parser.lisp (file).

Source

cl-apertium-stream.asd.

Parent Component

cl-apertium-stream (system).

Public Interface

to-stream (function).

Internals

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 cl-apertium-stream

Source

package.lisp.

Use List
  • cl-ppcre.
  • common-lisp.
  • esrap.
Public Interface
Internals

5 Definitions

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


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


5.1.1 Ordinary functions

Function: parse-stream (s)
Package

cl-apertium-stream.

Source

parser.lisp.

Function: to-stream (nodes)
Package

cl-apertium-stream.

Source

generator.lisp.


5.2 Internals


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.1 Special variables

Special Variable: *lu-special-char-tab*
Package

cl-apertium-stream.

Source

parser.lisp.

Special Variable: ling-form-escape-pat
Package

cl-apertium-stream.

Source

generator.lisp.


5.2.2 Ordinary functions

Function: child-nodes-to-lexical-unit-substream (child-nodes)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: concat-string (lst)
Package

cl-apertium-stream.

Source

parser.lisp.

Function: escape-ling-form (text)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: not-lu-special-char (ch)
Package

cl-apertium-stream.

Source

parser.lisp.

Function: test-to-chunk-substream ()
Package

cl-apertium-stream.

Source

generator.lisp.

Function: test-to-lexical-unit-stream-1 ()
Package

cl-apertium-stream.

Source

generator.lisp.

Function: test-to-stream-1 ()
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-chunk-child-substream (child)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-chunk-children-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-chunk-head-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-chunk-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-flag-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-format-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-invariable-part-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-joined-lexical-unit-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-lexical-unit-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-ling-form-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-sub-lu-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-tags-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.

Function: to-unparsed-substream (node)
Package

cl-apertium-stream.

Source

generator.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.3 Generic functions

Generic Reader: expected-symbol (condition)
Package

cl-apertium-stream.

Methods
Reader Method: expected-symbol ((condition generation-error))
Source

generator.lisp.

Target Slot

%expected-symbol.

Generic Reader: nodes (condition)
Package

cl-apertium-stream.

Methods
Reader Method: nodes ((condition generation-error))
Source

generator.lisp.

Target Slot

%nodes.


Previous: , Up: Internals   [Contents][Index]

5.2.4 Conditions

Condition: generation-error
Package

cl-apertium-stream.

Source

generator.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: %nodes
Initargs

:nodes

Readers

nodes.

Writers

This slot is read-only.

Slot: %expected-symbol
Initargs

:expected-symbol

Readers

expected-symbol.

Writers

This slot is read-only.


Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   C   E   F   G   M   N   P   T  
Index Entry  Section

C
child-nodes-to-lexical-unit-substream: Private ordinary functions
concat-string: Private ordinary functions

E
escape-ling-form: Private ordinary functions
expected-symbol: Private generic functions
expected-symbol: Private generic functions

F
Function, child-nodes-to-lexical-unit-substream: Private ordinary functions
Function, concat-string: Private ordinary functions
Function, escape-ling-form: Private ordinary functions
Function, not-lu-special-char: Private ordinary functions
Function, parse-stream: Public ordinary functions
Function, test-to-chunk-substream: Private ordinary functions
Function, test-to-lexical-unit-stream-1: Private ordinary functions
Function, test-to-stream-1: Private ordinary functions
Function, to-chunk-child-substream: Private ordinary functions
Function, to-chunk-children-substream: Private ordinary functions
Function, to-chunk-head-substream: Private ordinary functions
Function, to-chunk-substream: Private ordinary functions
Function, to-flag-substream: Private ordinary functions
Function, to-format-substream: Private ordinary functions
Function, to-invariable-part-substream: Private ordinary functions
Function, to-joined-lexical-unit-substream: Private ordinary functions
Function, to-lexical-unit-substream: Private ordinary functions
Function, to-ling-form-substream: Private ordinary functions
Function, to-stream: Public ordinary functions
Function, to-sub-lu-substream: Private ordinary functions
Function, to-tags-substream: Private ordinary functions
Function, to-unparsed-substream: Private ordinary functions

G
Generic Function, expected-symbol: Private generic functions
Generic Function, nodes: Private generic functions

M
Method, expected-symbol: Private generic functions
Method, nodes: Private generic functions

N
nodes: Private generic functions
nodes: Private generic functions
not-lu-special-char: Private ordinary functions

P
parse-stream: Public ordinary functions

T
test-to-chunk-substream: Private ordinary functions
test-to-lexical-unit-stream-1: Private ordinary functions
test-to-stream-1: Private ordinary functions
to-chunk-child-substream: Private ordinary functions
to-chunk-children-substream: Private ordinary functions
to-chunk-head-substream: Private ordinary functions
to-chunk-substream: Private ordinary functions
to-flag-substream: Private ordinary functions
to-format-substream: Private ordinary functions
to-invariable-part-substream: Private ordinary functions
to-joined-lexical-unit-substream: Private ordinary functions
to-lexical-unit-substream: Private ordinary functions
to-ling-form-substream: Private ordinary functions
to-stream: Public ordinary functions
to-sub-lu-substream: Private ordinary functions
to-tags-substream: Private ordinary functions
to-unparsed-substream: Private ordinary functions

Jump to:   C   E   F   G   M   N   P   T