24 ms·
> Try writing this in a natural language format: > [...] That's a regex to get the value of an href from anchor links. A true natural language to regex system
by modeless 10y ago
> Try writing this in a natural language format:
> [...] That's a regex to get the value of an href from anchor links.
A true natural language to regex system would take your short natural language description as input, not paragraphs describing the task in more detail. Of course this would require a lot of domain knowledge about HTML, but that knowledge is readily available out there on the internet. I think it's no longer crazy to imagine a system which could read the internet, learn about HTML, and apply that knowledge to answer your natural language regex query.
This is clearly far beyond where we are today, but I think a few orders of magnitude larger neural nets would be able to handle this task, and the hardware guys are hard at work getting us there. The pace of improvement will be much faster than Moore's law over the next couple of years as the first optimized neural net hardware becomes available.