2 ms·
Too bad there's no chain rule for derivatives of (weighted) regular expressions!
by nsajko 4y ago
Too bad there's no chain rule for derivatives of (weighted) regular expressions!
- mcovalt 4y agoA weighted automata can be expressed as a sparse matrix and the matrix-vector product can be used to traverse the states. I think you could get a derivative out of that.