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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -