I would represent you data using ordinal fraction like this:

10 English
11 Write your name
12 Options
20 Svenska
21 Skriv ditt namn
31 Inställningar

The ordinal fraction algebra is described here: 
http://www.statemaster.com/encyclopedia/Ordinal-fraction

Hälsning, Bo.


Den 9:04 fredag den 16. maj 2014 skrev Gian Medri <[email protected]>:
 
Hi!
>
>I have 2 or more lists of substantives. The lists must be as simple as
>possible, since they are done
>
>by a translator not familiar with computer languages.
>From the lists I want to get a boxed matrix.
>The numbers in each line of the list are only for reference purposes,
>since the lists
>
>are normally hundreds of lines. I wonder if there are a better way to
>solve the problem
>
>than in the example.
>
>
>
>cut=:' '&$: :([: -.&a: <;._2@,~)
>
>ingl=.(0 : 0)
>
>1;English
>
>2;Write your name
>
>3;Options
>
>)
>
>ingl=. > ';' cut each <;._2 ingl
>
>
>
>sved=. (0 : 0)
>
>1;Svenska
>
>2;Skriv ditt namn
>
>3;Inställningar
>
>)
>
>sved=.1{"1 > ';' cut each <;._2 sved
>
>]matx=:ingl,.sved
>
>
>
>┌─┬───────────────┬───────────────┐
>
>│1 │English                            │Svenska        │
>
>├─┼───────────────┼───────────────┤
>
>│2 │Write your name              │Skriv ditt namn│
>
>├─┼───────────────┼───────────────┤
>
>│3 │Options                           │Inställningar │
>
>└─┴───────────────┴───────────────┘
>
>
>
>Thanks,
>
>Gian Medri
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to