GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Hailo::Role::Storage(3) User Contributed Perl Documentation Hailo::Role::Storage(3)

Hailo::Role::Storage - A role representing a Hailo storage backend

Ask the storage backend if it considers itself ready to go. E.g. a storage that requires a "brain" would return false if it wasn't passed one.

If you're connecting to an existing storage that already has a populated schema and is ready to go this'll return true.

The Markov order (chain length) being used.

The name of the resource (file name, database name) to use as storage.

This is the constructor. It accept the attributes specified in "ATTRIBUTES".

Saves the current state.

Learns from a sequence of tokens. Takes an array reference of strings.

Takes an (optional) array reference of tokens and returns a reply (arrayref of tokens) that might be relevant.

Takes no arguments. Returns the number of tokens the brain knows.

Takes no arguments. Returns the number of expressions the brain knows.

Takes no arguments. This method is called by Hailo right before learning begins.

Takes no arguments. This method is called by Hailo right after learning finishes.

Takes no arguments. This method is called by Hailo right before training begins.

Takes no arguments. This method is called by Hailo right after training finishes.

Hinrik Örn Sigurðsson, hinrik.sig@gmail.com

Copyright 2010 Hinrik Örn Sigurðsson

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

2018-11-28 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.