Call two files and merge all entities to create all combos
Hello,
I am preparing an expanded verb morphology of Indian languages for the Open Source Community and have developed two files. The first file called root contains the verbal roots and the second (called prefix) contains all the syntactic elements which can be appended to the root file.
An example from English will make this clear: The root file contains all the root verbs of English (around 4000 in number). A sample for -ing enders is given below:
The prefix file contains all verbal elements which can be tagged on to the root file. These vary around 75 to hundred such elements. A small sample is given below
The idea is to take the prefix file and appended to each word form of the root, all the prefixes and store the full set of all combinations of prefix+root in a new file. A small example is given below:
My expertise in PERL and AWK has been restricted to working with a file and I do not know how to call two files and merge them to generate out all forms. I would appreciate and so would the Community if someone could help me out, (if possible with a commented script, to help me learn) and show me how this can be done.
Many thanks
Dear Gents,
Please I need your help... I need small script :) to do the following.
I have a thousand of files in a folder produced daily.
I need first to merge all files called. txt (0009.txt, 0010.txt, 0011.txt) and and to output a resume of all information on 2 separate files in csv... (14 Replies)
Hi,
My requirement is,there is a directory location like:
:camp/current/
In this location there can be different flat files that are generated in a single day with same header and the data will be different, differentiated by timestamp, so i need to verify how many files are generated... (10 Replies)
Hello everyone!!
I am not completely new to shell script but I havent been able to find the answer to my problem and I'm sure there are some smart brains here up for the challenge :D.
I have several CSV files that I need to combine into one, but I also need to know where each row came from.... (7 Replies)
Hello,
I am trying to identify names which are "illegal" in the sense that they do not comply with the spelling norms of a culture. I have written NGrams for initial and final combos which are illegal. These are lists stored in 2 files named Initial and Final. Here are few... (2 Replies)
Hi,
I want to create MySQL stored procedure and call the stored procedure using perl.
I tried like this:
use DBI;
my $dbh = DBI->connect ("DBI:mysql:test",
"root", "ibab",
{ RaiseError => 1, PrintError => 0});
$create_procedure =... (5 Replies)
Hi!
I am not a whiz at awk and very unsure about the aplication of awk solve my problem. I was hoping for some quick pointers so I can figure this out.
I have a file that looks like so:
label.Asked=\u8CEA\u554F\u6E08\u307F
button.Edit=\u7DE8\u96C6... (3 Replies)
Hello to all!
I am new with unix and i need your help to make something..
First of all i want to inform you that i am working under the Minix 3 OS.
What i want to make is, a new system call in terms of the process manager.
This system call should take an integer as a parameter (input) and... (1 Reply)
hi,
i am facing a problem in merging two files using awk,
the problem is as stated below,
file1:
A|B|C|D|E|F|G|H|I|1
M|N|O|P|Q|R|S|T|U|2
AA|BB|CC|DD|EE|FF|GG|HH|II|1
....
....
....
file2 :
1|Mn|op|qr (2 Replies)
I have an RPM that I am trying to install and it keeps coming back with:
I know I could kill the bird by throwing a "yum install *perl*" at it, but this seems like hurling a skyscraper at an ant...
any better suggestions? (2 Replies)