4 ms·
this could be an NLP problem although if you can find an adequate solution with a regular expression/context free grammar that's the easier route. a lot of mod
by _corbett 16y ago
this could be an NLP problem although if you can find an adequate solution with a regular expression/context free grammar that's the easier route.
a lot of modern NLP is based on statistical methods and training data driven, meaning having a training corpus of example addresses identified within the context of these webpages would be the starting place if you went one of those routes. you might start by looking up some academic papers in this area and see if it's been done and methods published.
- nervechannel 16y agoJust for information, CFGs used for processing natural language are almost invariably statistical too these days. Because natural language is inherently ambiguous and probabilistic. "Fruit flies like bananas" can be grammatically parsed in [at least] two ways, but one if a much more likely interpretation.
- _corbett 16y agoyea for sure, I meant in my advice that a non-statistical solution might be good to start out with.