(* - instead of a generic tag := pos '(' feat* ')' we enumerate all pos so we can state which feat comes with which pos - terminals are sometimes indented to indicate hierarchical relationships, but notice that this is just styling and is not interpreted by the EBNF - relationships still need to be made explicit in ISOcat (and RELcat) *) (* @dcr:datcat 'N' http://www.isocat.org/datcat/DC-4909 *) (* @dcr:datcat 'ADJ' http://www.isocat.org/datcat/DC-4948 *) (* @dcr:datcat 'WW' http://www.isocat.org/datcat/DC-4949 *) (* @dcr:datcat 'TW' http://www.isocat.org/datcat/DC-4950 *) (* @dcr:datcat 'VNW' http://www.isocat.org/datcat/DC-4951 *) (* @dcr:datcat 'LID' http://www.isocat.org/datcat/DC-4952 *) (* @dcr:datcat 'VZ' http://www.isocat.org/datcat/DC-4953 *) (* @dcr:datcat 'VG' http://www.isocat.org/datcat/DC-4954 *) (* @dcr:datcat 'BW' http://www.isocat.org/datcat/DC-4955 *) (* @dcr:datcat 'TSW' http://www.isocat.org/datcat/DC-4970 *) (* @dcr:datcat 'SPEC' http://www.isocat.org/datcat/DC-4956 *) tag = 'N', '(', NTYPE, ',', GETAL, ',', GRAAD, ',', GENUS, ',', NAAMVAL, ')' | 'ADJ', '(', POSITIE, ',', GRAAD, ',', BUIGING, ',', GETAL-N, ',', NAAMVAL, ')' | 'WW', '(', WVORM, ',', PVTIJD, ',', PVAGR, ',', POSITIE, ',', BUIGING, ',', GETAL-N, ')' | 'TW', '(', NUMTYPE, ',', POSITIE, ',', GETAL-N, ',', GRAAD, ',', NAAMVAL, ')' | 'VNW', '(', VWTYPE, ',', PDTYPE, ',', NAAMVAL, ',', STATUS, ',', PERSOON, ',', GETAL, ',', GENUS, ',', POSITIE, ',', BUIGING, ',', NPAGR, ',', GETAL-N, ',', GRAAD, ')' | 'LID', '(', LWTYPE, ',', NAAMVAL, ',', NPAGR, ')' | 'VZ', '(', VZTYPE, ')' | 'VG', '(', CONJTYPE, ')' | 'BW', '(', ')' | 'TSW', '(', ')' | 'SPEC', '(', SPECTYPE, ')' ; (* @dcr:datcat BUIGING http://www.isocat.org/datcat/DC-4944 *) (* @dcr:datcat 'zonder' http://www.isocat.org/datcat/DC-4945 *) (* @dcr:datcat 'met-e' http://www.isocat.org/datcat/DC-4946 *) (* @dcr:datcat 'met-s' http://www.isocat.org/datcat/DC-4947 *) BUIGING = 'zonder' | 'met-e' | 'met-s' ; (* @dcr:datcat CONJTYPE http://www.isocat.org/datcat/DC-5027 *) (* @dcr:datcat 'nevenschikkend' http://www.isocat.org/datcat/DC-5028 *) (* @dcr:datcat 'onderschikkend' http://www.isocat.org/datcat/DC-5029 *) CONJTYPE = 'nevenschikkend' | 'onderschikkend' ; (* @dcr:datcat GENUS http://www.isocat.org/datcat/DC-4926 *) (* @dcr:datcat 'genus' http://www.isocat.org/datcat/DC-4927 *) (* @dcr:datcat 'zijdig' http://www.isocat.org/datcat/DC-4928 *) (* @dcr:datcat 'onzijdig' http://www.isocat.org/datcat/DC-4929 *) (* @dcr:datcat 'masculien' http://www.isocat.org/datcat/DC-4930 *) (* @dcr:datcat 'feminien' http://www.isocat.org/datcat/DC-4931 *) GENUS = 'genus' | 'zijdig' | 'onzijdig' | 'masculien' | 'feminien' ; (* @dcr:datcat GETAL http://www.isocat.org/datcat/DC-4916 *) (* @dcr:datcat 'getal' http://www.isocat.org/datcat/DC-4917 *> (* @dcr:datcat 'enkelvoud' http://www.isocat.org/datcat/DC-4918 *) (* @dcr:datcat 'meervoud' http://www.isocat.org/datcat/DC-4919 *) GETAL = 'getal' | 'enkelvoud' | 'meervoud' ; (* @dcr:datcat GETAL-N http://www.isocat.org/datcat/DC-4913 *) (* @dcr:datcat 'zonder-n' http://www.isocat.org/datcat/DC-4915 *) (* @dcr:datcat 'meervoud-n' http://www.isocat.org/datcat/DC-4914 *) GETAL-N = 'zonder-n' | 'meervoud-n' ; (* @dcr:datcat GRAAD http://www.isocat.org/datcat/DC-4920 *) (* @dcr:datcat 'basis' http://www.isocat.org/datcat/DC-4921 *) (* @dcr:datcat 'comparatief' http://www.isocat.org/datcat/DC-4924 *) (* @dcr:datcat 'superlatief' http://www.isocat.org/datcat/DC-4925 *) (* @dcr:datcat 'diminutief' http://www.isocat.org/datcat/DC-4922 *) GRAAD = 'basis' | 'comparatief' | 'superlatief' | 'diminutief' ; (* @dcr:datcat LWTYPE http://www.isocat.org/datcat/DC-5020 *) (* @dcr:datcat 'bepaald' http://www.isocat.org/datcat/DC-5021 *) (* @dcr:datcat 'onbepaald' http://www.isocat.org/datcat/DC-5022 *) LWTYPE = 'bepaald' | 'onbepaald' ; (* @dcr:datcat NAAMVAL http://www.isocat.org/datcat/DC-4932 *) (* @dcr:datcat 'standaard' http://www.isocat.org/datcat/DC-4933 *) (* @dcr:datcat 'nominatief' http://www.isocat.org/datcat/DC-4934 *) (* @dcr:datcat 'oblique' http://www.isocat.org/datcat/DC-4935 *) (* @dcr:datcat 'genitief' http://www.isocat.org/datcat/DC-4937 *) (* @dcr:datcat 'datief' http://www.isocat.org/datcat/DC-4938 *) (* @dcr:datcat 'bijzonder' http://www.isocat.org/datcat/DC-4936 *) NAAMVAL = 'standaard' | 'nominatief' | 'oblique' | 'genitief' | 'datief' | 'bijzonder' ; (* @dcr:datcat NPAGR http://www.isocat.org/datcat/DC-5009 *) (* @dcr:datcat 'agr' http://www.isocat.org/datcat/DC-5010 *) (* @dcr:datcat 'evon' http://www.isocat.org/datcat/DC-5011 *) (* @dcr:datcat 'rest' http://www.isocat.org/datcat/DC-5012 *) (* @dcr:datcat 'evz' http://www.isocat.org/datcat/DC-5013 *) (* @dcr:datcat 'mv' http://www.isocat.org/datcat/DC-5014 *) (* @dcr:datcat 'agr3' http://www.isocat.org/datcat/DC-5015 *) (* @dcr:datcat 'evmo' http://www.isocat.org/datcat/DC-5016 *) (* @dcr:datcat 'rest3' http://www.isocat.org/datcat/DC-5017 *) (* @dcr:datcat 'evf' http://www.isocat.org/datcat/DC-5018 *) NPAGR = 'agr' | 'evon' | 'rest' | 'evz' | 'mv' | 'agr3' | 'evmo' | 'rest3' | 'evf' (* @dcr:datcat 'mv' http://www.isocat.org/datcat/DC-5019 *) | 'mv' ; (* @dcr:datcat NUMTYPE http://www.isocat.org/datcat/DC-5295 *) (* @dcr:datcat 'hoofdtelwoord' http://www.isocat.org/datcat/DC-4968 *) (* @dcr:datcat 'rangtelwoord' http://www.isocat.org/datcat/DC-4969 *) NUMTYPE = 'hoofdtelwoord' | 'rangtelwoord' ; (* @dcr:datcat NTYPE http://www.isocat.org/datcat/DC-4908 *) (* @dcr:datcat 'soortnaam' http://www.isocat.org/datcat/DC-4910 *) (* @dcr:datcat 'eigennaam' http://www.isocat.org/datcat/DC-4911 *) NTYPE = 'soortnaam' | 'eigennaam' ; (* @dcr:datcat PDTYPE http://www.isocat.org/datcat/DC-4977 *) (* @dcr:datcat 'pronomen' http://www.isocat.org/datcat/DC-4978 *) (* @dcr:datcat 'adv-pronomen' http://www.isocat.org/datcat/DC-4979 *) (* @dcr:datcat 'determiner' http://www.isocat.org/datcat/DC-4980 *) (* @dcr:datcat 'gradeerbaar' http://www.isocat.org/datcat/DC-4981 *) PDTYPE = 'pronomen' | 'adv-pronomen' | 'determiner' | 'gradeerbaar' ; (* @dcr:datcat PERSOON http://www.isocat.org/datcat/DC-4994 *) (* @dcr:datcat 'persoon' http://www.isocat.org/datcat/DC-4995 *) (* @dcr:datcat '1' http://www.isocat.org/datcat/DC-4996 *) (* @dcr:datcat '2' http://www.isocat.org/datcat/DC-4997 *) (* @dcr:datcat '2v' http://www.isocat.org/datcat/DC-4998 *) (* @dcr:datcat '2b' http://www.isocat.org/datcat/DC-4999 *) (* @dcr:datcat '3' http://www.isocat.org/datcat/DC-5000 *) (* @dcr:datcat '3p' http://www.isocat.org/datcat/DC-5001 *) (* @dcr:datcat '3m' http://www.isocat.org/datcat/DC-5003 *) (* @dcr:datcat '3v' http://www.isocat.org/datcat/DC-5002 *) (* @dcr:datcat '3o' http://www.isocat.org/datcat/DC-5004 *) PERSOON = 'persoon' | '1' | '2' | '2v' | '2b' | '3' | '3p' | '3m' | '3v' | '3o' ; (* @dcr:datcat POSITIE http://www.isocat.org/datcat/DC-4939 *) (* @dcr:datcat 'prenominaal' http://www.isocat.org/datcat/DC-4940 *) (* @dcr:datcat 'nominaal' http://www.isocat.org/datcat/DC-4941 *) (* @dcr:datcat 'postnominaal' http://www.isocat.org/datcat/DC-4942 *) (* @dcr:datcat 'vrij' http://www.isocat.org/datcat/DC-4943 *) POSITIE = 'prenominaal' | 'nominaal' | 'postnominaal' | 'vrij' ; (* @dcr:datcat PVAGR http://www.isocat.org/datcat/DC-4973 *) (* @dcr:datcat 'enkelvoud' http://www.isocat.org/datcat/DC-4974 *) (* @dcr:datcat 'meervoud' http://www.isocat.org/datcat/DC-4975 *) (* @dcr:datcat 'met-t' http://www.isocat.org/datcat/DC-4976 *) PVAGR = 'enkelvoud' | 'meervoud' | 'met-t' ; (* @dcr:datcat PVTIJD http://www.isocat.org/datcat/DC-4964 *) (* @dcr:datcat 'tegenwoordig' http://www.isocat.org/datcat/DC-4965 *) (* @dcr:datcat 'verleden' http://www.isocat.org/datcat/DC-4966 *) (* @dcr:datcat 'conjunctief' http://www.isocat.org/datcat/DC-4967 *) PVTIJD = 'tegenwoordig' | 'verleden' | 'conjunctief' ; (* @dcr:datcat SPECTYPE http://www.isocat.org/datcat/DC-5030 *) (* @dcr:datcat 'afgebroken' http://www.isocat.org/datcat/DC-5031 *) (* @dcr:datcat 'onverstaanbaar' http://www.isocat.org/datcat/DC-5032 *) (* @dcr:datcat 'vreemd' http://www.isocat.org/datcat/DC-5033 *) (* @dcr:datcat 'deeleigen' http://www.isocat.org/datcat/DC-4912 *) (* @dcr:datcat 'meta' http://www.isocat.org/datcat/DC-5034 *) (* @dcr:datcat 'commentaar' http://www.isocat.org/datcat/DC-5296 *) (* @dcr:datcat 'achtergrond' http://www.isocat.org/datcat/DC-5035 *) (* @dcr:datcat 'afkorting' http://www.isocat.org/datcat/DC-5036 *) (* @dcr:datcat 'symbool' http://www.isocat.org/datcat/DC-5037 *) SPECTYPE = 'afgebroken' | 'onverstaanbaar' | 'vreemd' | 'deeleigen' | 'meta' | 'commentaar' | 'achtergrond' | 'afkorting' | 'symbool' ; (* @dcr:datcat STATUS http://www.isocat.org/datcat/DC-5005 *) (* @dcr:datcat 'vol' http://www.isocat.org/datcat/DC-5006 *) (* @dcr:datcat 'gereduceerd' http://www.isocat.org/datcat/DC-5007 *) (* @dcr:datcat 'nadruk' http://www.isocat.org/datcat/DC-5008 *) STATUS = 'vol' | 'gereduceerd' | 'nadruk' ; (* @dcr:datcat VWTYPE http://www.isocat.org/datcat/DC-4982 *) (* @dcr:datcat 'pr' http://www.isocat.org/datcat/DC-4983 *) (* @dcr:datcat 'persoonlijk' http://www.isocat.org/datcat/DC-4984 *) (* @dcr:datcat 'reflexief' http://www.isocat.org/datcat/DC-4985 *) (* @dcr:datcat 'reciprook' http://www.isocat.org/datcat/DC-4986 *) (* @dcr:datcat 'bezittelijk' http://www.isocat.org/datcat/DC-4987 *) (* @dcr:datcat 'vb' http://www.isocat.org/datcat/DC-4988 *) (* @dcr:datcat 'vragend' http://www.isocat.org/datcat/DC-4989 *) (* @dcr:datcat 'betrekkelijk' http://www.isocat.org/datcat/DC-4990 *) (* @dcr:datcat 'exclamatief' http://www.isocat.org/datcat/DC-4991 *) (* @dcr:datcat 'aanwijzend' http://www.isocat.org/datcat/DC-4992 *) (* @dcr:datcat 'onbepaald' http://www.isocat.org/datcat/DC-4993 *) VWTYPE = 'pr' | 'persoonlijk' | 'reflexief' | 'reciprook' | 'bezittelijk' | 'vb' | 'vragend' | 'betrekkelijk' | 'exclamatief' | 'aanwijzend' | 'onbepaald' ; (* @dcr:datcat VZTYPE http://www.isocat.org/datcat/DC-5023 *) (* @dcr:datcat 'init' http://www.isocat.org/datcat/DC-5024 *) (* @dcr:datcat 'versmolten' http://www.isocat.org/datcat/DC-5026 *) (* @dcr:datcat 'fin' http://www.isocat.org/datcat/DC-5025 *) VZTYPE = 'init' | 'versmolten' | 'fin' ; (* @dcr:datcat WVORM http://www.isocat.org/datcat/DC-4957 *) (* @dcr:datcat 'persoonsvorm' http://www.isocat.org/datcat/DC-4958 *) (* @dcr:datcat 'buigbaar' http://www.isocat.org/datcat/DC-4960 *) (* @dcr:datcat 'infinitief' http://www.isocat.org/datcat/DC-4961 *) (* @dcr:datcat 'onvdw' http://www.isocat.org/datcat/DC-4962 *) (* @dcr:datcat 'voltdw' http://www.isocat.org/datcat/DC-4963 *) WVORM = 'persoonsvorm' | 'buigbaar' | 'infinitief' | 'onvdw' | 'voltdw' ;