nlp - parsing sizes from textual data -


i want extract sizes , textual data ("the missile fifty 5 inches long." , or "he weighted 9 , half pounds.") , convert them data in format usable program.

what's way go ? there helpful libraries ?

and how complex task ?

you approach information extraction (ie) problem. in case, basic approach formulate bunch of regular expressions describe problem approximately , refine until they're either enough or can't further.

or, your favorite parser , see kind of trees/dependency structures produces sentences you're after, figure out general pattern, check how , maybe filter results regexp or predicate on returned structure.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -