Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts EasySnaps 1
iScripts NetMenus 2.0
iScripts EasyIndex 1
ATN Site Builder 3.0
phpEnter 5.1.
IcrediBB Bulletin Board System 1.0
PHP MLM Software 2.0.1
GnuWin64 64
Deals and Discounts Website Script 1.0.2
Azizi search engine script PHP 4.1.10
Single Leg MLM 1.2.1
Eclipse Metrics plugin continued 1.3.8.20100730.001
Circle Fit (Taubin method) 1.0
Exlcart 2.0
OpenCV Delphi wrapper 1.0
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
State Machine for Text Processing 
File ID: 65182






State Machine for Text Processing 
Download State Machine for Text Processing http://code.activestate.com/recipes/577335-martin-gardners-the-monkey-and-the-coconuts-proble/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 23
Submit Rating:
State Machine for Text Processing  Description
Description: General state machine mechanism plus a specialized version, LineStateMachine, for processing text files based by using regular expressions to determine state transitions.

License: Freeware

Related: state machine, text processing

O/S:Windows

Downloads: 23



More Similar Code

State machine for processing text files on a line-by-line basis using regular
expressions to determine transition to next state.

Developed from sample code from "Text Processing in Python" by David Mertz,pp. 274-280.



Tool for generete testcasesPresents a proposal to employ use cases to estimate the test effort and to create a finite state machine for model-based test case generation.



This program parses the logfile given by the execution of the keylogger
command 'script -c "xinput test ID_CODE" | cat LOG_FILE' and
it is based on a Finite State Machine (FSM) to manage all
the possible combinations of...



The operation of the state machine is defined by transitions. The transitions
control what value is returned and which new state to switch to, given an
"event" input when in a certain current "state". State machines...



This is a simple state machine that takes a functional approach.
It requires trampoline from pysistence.func to avoid the recursion limit.

Namedtuples are used to define the different states.
globals() is used to reference the...



A very simple idiom for implementing a state machine.



This is java State Machine Framework for all OS platforms. The framework is for modeling any event processing system as a state machine. This aims to separate the state transition and event handling logic from the business logic and let developers...



AWK is a text processing language that makes it easy to "search files for lines [...] that contain certain patterns. When a line matches one of the patterns, awk performs specified actions on that line." (GNU Awk User's Guide)
This...



This is an open source state machine template for C++. Initially FSM support will be given. The purpose is to facilitate developers to create state machine based C++ applications easily.



This recipe shows a Finite State Machine (FSM) that can be used for small parsing tasks. The code is quite simple. The bulk of it is comments. In addition to state this FSM also maintains a user defined "memory". So this FSM is a...

User Review for State Machine for Text Processing
- required fields
     

Please enter text on the image