Click here to Skip to main content
15,887,027 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: MS can't catch a break when it comes to search Pin
sasadler19-Jan-24 6:13
sasadler19-Jan-24 6:13 
GeneralRe: MS can't catch a break when it comes to search Pin
dandy7219-Jan-24 6:53
dandy7219-Jan-24 6:53 
GeneralRe: MS can't catch a break when it comes to search Pin
zezba900019-Jan-24 11:39
zezba900019-Jan-24 11:39 
QuestionFinite State Transducers? Pin
honey the codewitch17-Jan-24 14:48
mvahoney the codewitch17-Jan-24 14:48 
AnswerRe: Finite State Transducers? Pin
Mircea Neacsu17-Jan-24 16:07
Mircea Neacsu17-Jan-24 16:07 
GeneralRe: Finite State Transducers? Pin
jmaida17-Jan-24 16:44
jmaida17-Jan-24 16:44 
GeneralRe: Finite State Transducers? Pin
honey the codewitch17-Jan-24 23:39
mvahoney the codewitch17-Jan-24 23:39 
GeneralRe: Finite State Transducers? Pin
Mircea Neacsu18-Jan-24 2:07
Mircea Neacsu18-Jan-24 2:07 
Starting from the bottom:
Quote:
the set of signals that you triggered during transitions are the output tape of a FST" - are you saying that I write out each transition?
In some cases, yes. Here is a simple example: a FST that decodes a quadrature encoder[^]. The input alphabet consists of the states of the 2 inputs: 00, 01, 10, 11. The output alphabet is composed of the numbers 0 to 2N-1, where N is the number of bits in the counter. The states space is 0 to 2N-1 plus E, the error state. With the input 00 01 11, the final state is "2" and the output tape shows 0, 1, 2. From the same initial state, if input is 00 01 10, the output tape showa 0, 1 but the final state is E, the only non-accepting state so we scrap the output tape (or blow a whistle, call the fire brigade, etc.).

Quote:
However, the output only gets emitted on Accept.
This still qualifies as a FST. The transitions space of an FST is defined over (input alphabet and the empty string) X (output alphabet and the empty string) X (state space). In other words you are allowed to have transitions that don't produce any output and your model produces output only on the transition to an accepting state.

Quote:
At that point I yield the input I've received so far, which is not exactly (forensically speaking) a map of my transitions, but rather what the transitions gathered from the input tape, so close, but not quite the same thing. (I could modify it to record state transitions easily but I don't understand why I'd do that.)
You are doing right. There is no need to output every transition. Your output represents a word in the output alphabet which doesn't need to be the same as the states set.

One of the references you provided in the first message, sent me to a pretty good description of FSTs: Index 1,600,000,000 Keys with Automata and Rust - Andrew Gallant's Blog[^] Take a look.
Mircea

GeneralRe: Finite State Transducers? Pin
honey the codewitch18-Jan-24 2:57
mvahoney the codewitch18-Jan-24 2:57 
GeneralRe: Finite State Transducers? Pin
Mircea Neacsu18-Jan-24 2:58
Mircea Neacsu18-Jan-24 2:58 
GeneralRe: Finite State Transducers? Pin
honey the codewitch18-Jan-24 3:03
mvahoney the codewitch18-Jan-24 3:03 
GeneralRe: Finite State Transducers? Pin
Mircea Neacsu18-Jan-24 3:14
Mircea Neacsu18-Jan-24 3:14 
GeneralRe: Finite State Transducers? Pin
honey the codewitch18-Jan-24 3:30
mvahoney the codewitch18-Jan-24 3:30 
AnswerRe: Finite State Transducers? Pin
Sander Rossel18-Jan-24 21:55
professionalSander Rossel18-Jan-24 21:55 
GeneralWordle 943 Pin
StarNamer@work17-Jan-24 13:58
professionalStarNamer@work17-Jan-24 13:58 
GeneralRe: Wordle 943 Pin
Amarnath S17-Jan-24 14:10
professionalAmarnath S17-Jan-24 14:10 
GeneralRe: Wordle 943 Pin
Sandeep Mewara17-Jan-24 16:09
mveSandeep Mewara17-Jan-24 16:09 
GeneralRe: Wordle 943 Pin
Shane010317-Jan-24 16:37
Shane010317-Jan-24 16:37 
GeneralRe: Wordle 943 Pin
GKP199217-Jan-24 17:52
professionalGKP199217-Jan-24 17:52 
GeneralRe: Wordle 943 Pin
GuyThiebaut17-Jan-24 18:48
professionalGuyThiebaut17-Jan-24 18:48 
GeneralRe: Wordle 943 Pin
OriginalGriff17-Jan-24 18:50
mveOriginalGriff17-Jan-24 18:50 
GeneralRe: Wordle 943 Pin
ChandraRam17-Jan-24 20:25
ChandraRam17-Jan-24 20:25 
GeneralRe: Wordle 943 - 5 4 me Pin
pkfox17-Jan-24 21:19
professionalpkfox17-Jan-24 21:19 
GeneralRe: Wordle 943 Pin
Sander Rossel17-Jan-24 22:03
professionalSander Rossel17-Jan-24 22:03 
GeneralRe: Wordle 943 Pin
Cp-Coder18-Jan-24 0:32
Cp-Coder18-Jan-24 0:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.