[Ilugc] Python File Search
- From: steve@xxxxxxxxxxxx (steve)
- Date: Tue Jan 12 11:14:50 2010
Hi,
On 01/12/2010 05:19 AM, Eknath Venkataramani wrote:
correct.txt snippet:
1 2 1
1 3 3
1 5 21
1 7 19
union_output_TEMP.txt snippet:
1 2 1_NN
1 3 3_VBZ
1 3 5_VBZ
1 3 2_VBZ
1 5 21_VB
1 7 19_NN
1 9 14_VB
I need to get the output in categorized.txt as:
NN={1 7 19, 1 2 1}
VBZ={1 3 3}
VB={1 5 21}
in python.
What have you done so far ? Where exactly are you facing problems achieving
what
you need ?
cheers,
- steve
--
random non tech spiel:
http://lonetwin.blogspot.com/
tech randomness:
http://lonehacks.blogspot.com/
what i'm stumbling into:
http://lonetwin.stumbleupon.com/
Other related posts: