% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % File: fldtest.dtr % % Purpose: construction of feature-logic descriptions % % Author: James Kilbury, 2 February 1993 % % Email: kilbury@ling.uni-duesseldorf.de % % Address: U Drf, Universitaetsstr. 1, D-40225 Duesseldorf, Germany % % Related files: fldcons.dtr, fldtest1.dmp, fldtest2.dmp, englex2.dtr % % Version: 2.05 (21 September 1994) % % % % Copyright (c) University of Duesseldorf 1994. All rights reserved. % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % Call cp([fldcons, fldpatr2, fldtest]) (PATR-II syntax) or % cp([fldcons, fldqpatr, fldtest]) (QPATR syntax) to load, % inferences(10000) to set recursion depth, and then % A to get the feature-structure % description defined by node A. % % A:<*> = < X a b c > = 1 . PATR-II % A:<*> = X / a / b / c *= 1 . QPATR % simple examples % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % A: <*> == FS: % '*' designates the end of a path == FS: % in a feature structure or DAG; == FS: % expressions with FS, ATOM, and VAR == ATOM:<1 ^>. % stipulate typing. '^' is a node % that transduces attribute paths. B: <*> == FS: == FS: == ATOM:<1 ^> == FS: == ATOM:<2 ^> == FS: == ATOM:<3 ^>. % examples with lists % % % % % % % % % % % % % % % % % % % % % % % % % % % % C: <*> == FS: == ATOM: == FS: == ATOM: == ATOM:. D: <*> == LIST % LIST:<> == FS:. == ATOM: == LIST == ATOM: == ATOM:. E: <*> == LIST == LIST == ATOM: == ATOM: == LIST == LIST == ATOM: == ATOM: == ATOM:. % examples with reentrancy % % % % % % % % % % % % % % % % % % % % % % % % % F: <*> == LIST == RP: % First specify the reentrant paths VAR:<^> % and then the type at the r. point. == LIST == VAR:<^> == ATOM:. G: <*> == FS: == RP: FS: == ATOM: == VAR:<^> == FS: % This should be eliminated to == FS: % avoid redundant formulas in the == ATOM: % feature-structure description. == VAR:<^>. % H: <*> == FS: % ONE possible solution for G: == RP: % only f is declared as being FS: % specified in H, since the path == ATOM: % is already fully described == VAR:<^>. % with the reentrancy. % examples with calls to other FS-nodes % % % % % % % % % % % % % % % % % % % I: <*> == FS: == A:< |:<> ||' ~:< |:<> | > >. % A:< \\ > An alias for the eval. expressions % is desirable as 'syntactic sugar'. J: <*> == FS: == A:< |:<> ||' ~:< |:<> | > > == A:< |:<> ||' ~:< |:<> | > >. K: <*> == FS: == A:< |:<> ||' ~:< |:<> | > > == ATOM:<0 ^> == B:< |:<> ||' ~:< |:<> | > >. % multiple embedding of calls to other FS-nodes % % % % % % % % % % % % % % % L: <*> == FS: == M:< |:<> ||' ~:< |:<> | > >. M: <*> == FS: == N:< |:<> ||' ~:< |:<> | > >. N: <*> == ATOM:<1 ^>. %___________________ P: <*> == FS: == Q:< |:<> ||' ~:< |:<> | > >. Q: <*> == FS: == R:< |:<> ||' ~:< |:<> | > >. R: <*> == FS: == ATOM:<1 ^>. %___________________ S: <*> == FS: == K:< |:<> ||' ~:< |:<> | > > == P:< |:<> ||' ~:< |:<> | > >. % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % # show <*>. # hide FS LIST ATOM VAR RP FS_Path FL_Fmlas Path_Expr FL_Path FL_Path_Rest ^ ~ | || ||| |' ||' |||' Bounded$ PRev$ PCutoff$ PCut$ Anon_Var& Variable& Conjunction& Value_at_Path& Reentrancy& FS_at_Path& Path_Connective& LBracket& RBracket&. % The next line is the Revision Control System Id: do not delete it. % $Id: archive.dtr,v 1.1 1997/04/09 20:40:33 root Exp $