Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the dataloader Reference Manual, version 0.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:16:24 2020 GMT+0.
• Introduction | What dataloader is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
This is what you might have needed for a long time. It loads a file in an arbitrary data format into a numcl-compatible array.
load (file &rest args
&key (mime (magicffi:pathname-mime-type file))
;; asarray
type
;; csv args
csv-reader row-fn map-fn data-map-fn sample skip-first-p
(separator cl-csv:*separator*)
(quote cl-csv:*quote*)
(escape cl-csv:*quote-escape*)
unquoted-empty-string-is-nil
quoted-empty-string-is-nil
trim-outer-whitespace
newline
escape-mode
&allow-other-keys)
Load an arbitrary file using the mime type information obtained by libmagic
.
Supported files are currently png
, jpg
, tiff
, bmp
, csv
, tsv
.
We plan to include support for wav
, gif
, npy
, npz
.
This library merely provides a bridge to various libraries. It uses cl-png
,
retrospectiff
, cl-csv
and so on.
save (array file &key (mime (pathname-type file)))
This function saves the array into a file, using the file name extension or the
additional mime
argument.
You currently need a patched version of magicffi
in https://github.com/guicho271828/magicffi .
It also depends on NUMCL.
If you have roswell
, run follows:
ros install numcl/constantfold numcl/specialized-function numcl/gtype numcl/numcl guicho271828/magicffi guicho271828/dataloader
This library is at least tested on implementation listed below:
Also, it depends on the following libraries:
cl-wav :
cl-png :
cl-jpeg :
retrospectiff :
iterate by ** : Jonathan Amsterdam's iterator/gatherer/accumulator facility
alexandria by Nikodemus Siivola nikodemus@sb-studio.net, and others. : Alexandria is a collection of portable public domain utilities.
trivia by Masataro Asai : NON-optimized pattern matcher compatible with OPTIMA, with extensible optimizer interface and clean codebase
Copyright (c) 2019 Masataro Asai (guicho2.71828@gmail.com)
Licensed under the LLGPL License.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The dataloader system |
Masataro Asai
LLGPL
A universal loader library for various data formats for images/audio
0.1
dataloader.asd (file)
package.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The dataloader.asd file | ||
• The dataloader/package.lisp file |
Next: The dataloader/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
/home/quickref/quicklisp/dists/quicklisp/software/dataloader-20201220-git/dataloader.asd
dataloader (system)
Previous: The dataloader․asd file, Up: Lisp files [Contents][Index]
dataloader (system)
package.lisp
external-format (function)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The dataloader package |
package.lisp (file)
external-format (function)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported functions |
Previous: Exported definitions, Up: Exported definitions [Contents][Index]
package.lisp (file)
package.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal functions |
Previous: Internal definitions, Up: Internal definitions [Contents][Index]
package.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | D F L |
---|
Jump to: | D F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | E F L S |
---|
Jump to: | E F L S |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | D P S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
D | |||
dataloader : | The dataloader system | ||
dataloader : | The dataloader package | ||
| |||
P | |||
Package, dataloader : | The dataloader package | ||
| |||
S | |||
System, dataloader : | The dataloader system | ||
|
Jump to: | D P S |
---|