This would be quite a cool problem to attack using RNN. Perhaps using an attention-following mechanism like the one used for house numbers [1]. It&#x27;s fairly well-defined.  You would need a ton of example data though.<p>[1] <a href="http:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1412.7755" rel="nofollow">http:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1412.7755</a>