struktura do NKJP.txt
993 Bytes
let text= AltText[Raw,RawText "treść tekstu";Struct,StructText([
AltParagraph[Raw,RawParagraph "treść akapitu 1"; Struct,StructParagraph[p1;p2;...]];
AltParagraph[Raw,RawParagraph "treść akapitu 2"; Struct,StructParagraph[...]];
AltParagraph[Raw,RawParagraph "treść akapitu 3"; Struct,StructParagraph[...]];
...
],tokens)]
W grudniu 1992 roku, po trzech miesiącach, Honecker został zwolniony przez sąd w Berlinie za względów humanitarnych.
let p1 = {pid="13.36"; pbeg=115; plen=230+1-115; pnext=232; psentence=sentence; pfile_prefix="1"}
let sentence = AltSentence[Raw,RawSentence "teść zdania";Struct,DepSentence [|
5,-1,"";
6,-1,"";
7,-1,"";
8,-1,"";
9,-1,"";
|]
let tokens = {| token1; token2; ... |]
let token1 = {empty_token with orth="W"; beg=115; len=1; next=117; token=Lemma("w","prep",[[["loc"];["nwok"]]])}
let token15 = {empty_token with orth="za"; corr_orth="ze"; beg=205; len=2; next=208; token=Lemma("ze","prep",[[["gen"];["wok"]]])}