Reducing multiple entries in a tri-lingual dictionary to single entries
Dear all,
I am editing a tri-lingual dictionary for open source which has the following data structure
as in the example below
The English headword entry has at times more than one word, each word separated by a comma or a semi-colon as shown below and also in the example above
For purposes of editing the dictionary, I need to reduce the multiple headwords in English to single entries. Thus the data in the example above would be reduced to the following entries:
I could handle two mappings but I do not know how to handle such a complicated data structure in Perl or Awk. Any help provided would be gratefully acknowledged.
I would like to add that I work under Windows Vista and Windows 7. Unfortunately solutions in Linux do not help.
Is it possible to triple boot with Solaris 9 (x86 version)?
I installed XP Prof first, then Linux Fedora. Currently there it is a dual boot, and the dual boot software came with Fedora.
I already used partition magic to allocate 5 gigs of free space on my disk.
Basically my questions are:... (1 Reply)
Hello,
I have a file Test.txt with 9 columns that looks like this:
1g12 A 14 19 2OAY A 326 331 AAAASA
1l7v A 68 73 1l7v A 68 73 AALAIS
1l7v A 68 73 1XVW B 72 77 AALAIS
1l7v A 68 73 1XXU A 65 70 AALAIS
1l7v A 68 73 1XXU B 65 70 AALAIS
1l7v A 68 73 1XXU C 65 70 AALAIS
1l7v A 68 73 1XXU D... (4 Replies)
Hi,
I will use below command for grep single string ("osuser" is search string)
ex: find . -type f | xarg grep -il osuser
but i have one more string "v$session"
here i want to grep in which file these two strings are present.
any help is appreciated,
Thanks in advance.
Gagan (2 Replies)
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
In one of our project requirements , we will be
SCANNING ALL RECORDS OF AN INPUT TEXT FILE AND WILL BE FILTERING OUT RECORDS WHICH CONTAINS NON-LINGUAL CHARACTERS
What's meant by this requirement is that we will be retaining records that contains alphabets used in any
language , like English... (1 Reply)
I have a simple shell file (convert.sh), that I would like to add a loop to that allows the user to have the "Enter ID:" prompt keep displaying until end is typed.
So instead of:
bash ~/convert.sh
Enter ID:123
bash ~/convert.sh
Enter ID:456
bash ~/convert.sh
Enter ID:789
The user would... (7 Replies)
All,
I come across the below requirement and my search on the previous posts did not result into any matches.
I have one column of data from a csv file like below. And I need to add additional column based on string count in first column.
Given column, Required column, Other columns
A, 1,... (8 Replies)
I have a large number of files in the standard subtitle format with the additional proviso that the files are bi-lingual i.e. English and a second language: in this case Hindi. A small sample is given below:
00 04 07 08
00 04 11 00
I mean very high fever...
He even vomited.
00 04 07 08
00... (6 Replies)
I am reworking a Marathi-English dictionary to be out on open-source. My dictionary has the Headword in Marathi, followed by its Part of Speech and subsequently by its English glosses as in the examples below;
अकरसणें v i To contract, shrink.
अकरा a Eleven.
अकराळ a Frightful, terrible.
विकराळ... (2 Replies)