Advertisement
Guest User

Untitled

a guest
Jul 30th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. {{AFC submission|t||ts=20180122113451|u=Rilti|ns=118|demo=}}<!-- Important, do not remove this line before article has been created. -->
  2. '''Type theory with records''' is a formal semantics representation framework, using ''[[Record (logic)|records]]'' to express [[type theory]] ''types''. It has been used in [[natural language processing]], principally [[computational semantics]] and [[dialogue systems]].<ref>Cooper, Robin (2005). ''Records and Record Types in Semantic Theory''. Journal of Logic and Computation. DOI: 10.1093/logcom/exi004</ref><ref>Cooper, Robin (2010). ''Type theory and semantics in flux''. ''Handbook of the Philosophy of Science. Volume 14: Philosophy of Linguistics''. Elsevier.</ref>
  3.  
  4. == Syntax ==
  5.  
  6. A ''record type'' is a set of fields. A field is a pair consisting of a label and a type. Within a record type, field labels are unique. The witness of a record type is a ''record''. A record is a similar set of fields, but fields contain objects instead of types. The object in each field must be of the type declared in the corresponding field in the record type.<ref>R. Cooper. Type theory and language: From perception to linguistic communication. Draft of book chapters available from https://sites.google.com/site/typetheorywithrecords/drafts</ref>
  7.  
  8. Basic type: <math>\begin{bmatrix} \text{x} : Ind \end{bmatrix}</math>
  9.  
  10. Object: <math>\begin{bmatrix}
  11. \text{x} = a
  12. \end{bmatrix}</math>
  13.  
  14. Ptype: <math>\left [ \begin{array}{lll}
  15. \text{x} & : & Ind \\
  16. \text{c}_\text{boy} & : & boy(\text{x}) \\
  17. \text{y} & : & Ind \\
  18. \text{c}_\text{dog} & : & dog(\text{y}) \\
  19. \text{c}_\text{hug} & : & hug(x,y)
  20. \end{array} \right ]</math>
  21.  
  22. Object: <math>\left [ \begin{array}{lll}
  23. \text{x} & = & a \\
  24. \text{c}_\text{boy} & = & p_1 \\
  25. \text{y} & = & b \\
  26. \text{c}_\text{dog} & = & p_2 \\
  27. \text{c}_\text{hug} & = & p_3
  28. \end{array} \right ]</math>
  29.  
  30. where <math>a</math> is an individiual, <math>p_1</math> is proof that <math>a</math> is a boy, etc.
  31.  
  32. == References ==
  33. <!-- Inline citations added to your article will automatically display here. See https://en.wikipedia.org/wiki/WP:REFB for instructions on how to add citations. -->
  34. {{reflist}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement