Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LovecraftHP

    Batch processing?

    Hi guys! I'm new to Linux so excuse me if the answer to this should turn out to be too obvious. I am working with numbered files eg train1.txt, train2.txt etc. Is there a way to execute a command on these files and make the number variable? What I mean is something like: for (x=1;x<=10;x++) do...
  2. LovecraftHP

    Help with shuffling data

    Hi guys! I'm working on a little program to randomly shuffle my data (for use in tenfold cross-validation experiments). My data file has 4332 records, so I thought I'd first fill an array with numbers from 1 to 4332 (each number being in there once) and then later use these numbers as indices...
  3. LovecraftHP

    Problem with coda

    Hi, Been working on a program that among others should be able to split up verbs in a onset-nucleus-coda structure (with the help of this forum, thanks guys). Almost finished now, except for a couple of bugs. Sample code: BEGIN { FS="," ; fs="[" ; d="=" } { printf $1 FS $2 FS $3 n =...
  4. LovecraftHP

    How to convert a cvc structure to an onset-nucleus-coda structure?

    I have an input file with a lemma, the cvc structure of that lemma, and the pronunciation of that lemma, eg abide,[V][CVVC],[@][baId] abolish,[V][CV][CVC],[@][bO][lIS] What I would like to do is convert this to an output that gives me the original lemma together with an onset-nucleus-coda...
  5. LovecraftHP

    Sliding window problem

    Let me first give an example of what I would like to do: I have an input file consisting of a number of records, each record consisting of 2 fields eg list lIst screen skri.n I want to be able to shift the focus letter of the first field, along with its context (eg 3 letters to the right, 3...
  6. LovecraftHP

    How to check for previous occurence?

    I'm new to AWK, but I was wondering if any of you might be able to help me with this: I want to be able to check whether the value of a certain field (the field is the same for all the records) is different from any of the field values in previous records. So e.g., every record has 4 fields...

Part and Inventory Search

Back
Top