/[webpac]/trunk2/all2all.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk2/all2all.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 357 by dpavlin, Wed Jun 16 13:39:17 2004 UTC revision 362 by dpavlin, Wed Jun 16 16:50:30 2004 UTC
# Line 34  my $maxmfn = $webpac->open_isis( Line 34  my $maxmfn = $webpac->open_isis(
34    
35  print "rows: $maxmfn\n\n";  print "rows: $maxmfn\n\n";
36    
37  for (my $mfn = 1; $mfn <= $maxmfn; $mfn++) {  while (my $rec = $webpac->fetch_rec) {
         my $rec = $webpac->{'data'}->{$mfn} || die "no record with mfn $mfn";  
38    
39          print "-- ",$webpac->fill_in($rec,'v250^a (v901^a)'),"\n";          print "-- ",$webpac->parse($rec,'v250^a / [v562^4] v562^a'),"\n";
40    
41            print " ",
42                    $webpac->parse($rec,'eval{v901^a eq "Deskriptor"}v250^a / [v562^4] v562^a'),
43                    $webpac->parse($rec,'eval{v901^a ne "Deskriptor"}250a [251]'),
44                    "\n";
45    
46          my @t = $webpac->fill_in($rec,'v553^1;;v553^a');          my @t = $webpac->fill_in($rec,'v553^1;;v553^a');
47          print " Uži pojam: ",join("\t\n",@t),"\n" if (@t);          print " Uži pojam: ",join("\t\n",@t),"\n" if (@t);
48    
49          @t = $webpac->fill_in($rec,'[a:v251::];;[d:[a:v251::]]');          @t = $webpac->fill_in($rec,'eval{v901^a eq "Područje"}[a:v251::];;[d:[a:v251::]]');
50          print " Područje: ",join("\t\n",@t),"\n" if (@t);          print " Područje: ",join("\t\n",@t),"\n" if (@t);
51    
52          @t = $webpac->fill_in($rec,'[a:v561^4:v251:];;[d:[a:v561^4:v251:]]');          @t = $webpac->fill_in($rec,'eval{v901^a eq "Mikrotezaurus"}[a:v561^4:v251:];;[d:[a:v561^4:v251:]]');
53          print " Mikrotezaurus: ",join("\t\n",@t),"\n" if (@t);          print " Mikrotezaurus: ",join("\t\n",@t),"\n" if (@t);
54    
55          @t = $webpac->fill_in($rec,'[a:v561^4:v562^4:v900];;[d:[a:v561^4:v562^4:v900]]');          @t = $webpac->fill_in($rec,'eval{v901^a eq "Deskriptor"}[a:v561^4:v562^4:v900];;[d:[a:v561^4:v562^4:v900]]');
56          print " Deskriptor: ",join("\t\n",@t),"\n" if (@t);          print " Deskriptor: ",join("\t\n",@t),"\n" if (@t);
57  }  }
58    

Legend:
Removed from v.357  
changed lines
  Added in v.362

  ViewVC Help
Powered by ViewVC 1.1.26