language design
Recently Published Documents


TOTAL DOCUMENTS

414
(FIVE YEARS 63)

H-INDEX

23
(FIVE YEARS 2)

2022 ◽  
Vol 29 (2) ◽  
pp. 1-38
Author(s):  
Ana Paula Chaves ◽  
Jesse Egbert ◽  
Toby Hocking ◽  
Eck Doerry ◽  
Marco Aurelio Gerosa

Chatbots are often designed to mimic social roles attributed to humans. However, little is known about the impact of using language that fails to conform to the associated social role. Our research draws on sociolinguistic to investigate how a chatbot’s language choices can adhere to the expected social role the agent performs within a context. We seek to understand whether chatbots design should account for linguistic register. This research analyzes how register differences play a role in shaping the user’s perception of the human-chatbot interaction. We produced parallel corpora of conversations in the tourism domain with similar content and varying register characteristics and evaluated users’ preferences of chatbot’s linguistic choices in terms of appropriateness, credibility, and user experience. Our results show that register characteristics are strong predictors of user’s preferences, which points to the needs of designing chatbots with register-appropriate language to improve acceptance and users’ perceptions of chatbot interactions.


2021 ◽  
Vol 68 (6) ◽  
pp. 1-47
Author(s):  
Jonathan Sterling ◽  
Robert Harper

The theory of program modules is of interest to language designers not only for its practical importance to programming, but also because it lies at the nexus of three fundamental concerns in language design: the phase distinction , computational effects , and type abstraction . We contribute a fresh “synthetic” take on program modules that treats modules as the fundamental constructs, in which the usual suspects of prior module calculi (kinds, constructors, dynamic programs) are rendered as derived notions in terms of a modal type-theoretic account of the phase distinction. We simplify the account of type abstraction (embodied in the generativity of module functors) through a lax modality that encapsulates computational effects, placing projectibility of module expressions on a type-theoretic basis. Our main result is a (significant) proof-relevant and phase-sensitive generalization of the Reynolds abstraction theorem for a calculus of program modules, based on a new kind of logical relation called a parametricity structure . Parametricity structures generalize the proof-irrelevant relations of classical parametricity to proof- relevant families, where there may be non-trivial evidence witnessing the relatedness of two programs—simplifying the metatheory of strong sums over the collection of types, for although there can be no “relation classifying relations,” one easily accommodates a “family classifying small families.” Using the insight that logical relations/parametricity is itself a form of phase distinction between the syntactic and the semantic, we contribute a new synthetic approach to phase separated parametricity based on the slogan logical relations as types , by iterating our modal account of the phase distinction. We axiomatize a dependent type theory of parametricity structures using two pairs of complementary modalities (syntactic, semantic) and (static, dynamic), substantiated using the topos theoretic Artin gluing construction. Then, to construct a simulation between two implementations of an abstract type, one simply programs a third implementation whose type component carries the representation invariant.


Author(s):  
Svіtlana Lytvynska ◽  
Anastasiia Sibruk ◽  
Chrystyna Stetsyk

Background. The main aim of terminology standardization in different branches of knowledge is to standardize and approve unmistakable terms for any field of study, to improve the further development of the Ukrainian science. Achieving these tasks is impossible without exemplary in terms of the language design of regulations that regulate the use of industry terminology – national terminological standards. The high linguistic quality of these documents allows their effective use, so the linguistic examination of national terminological standards, their analysis in terms of compliance with the norms of language culture – is an urgent task of modern science.Purpose. To analyze cases of violation of lexical and grammatical norms of the modern Ukrainian language in the formulation of definitions. Suggest ways to replace identified non-normative words, expressions and sentences in the text of the standard.Methods. Linguistic description of linguistic facts, method of component analysis, comparative and statistical methods (to identify the number or nature of linguistic errors).Results. The standard contains errors related to the use of inappropriate or redundant words, tracing paper from the Russian language, violation of the laws of melodiousness of the modern Ukrainian literary language. In some cases, non-compliance with grammatical rules has been demonstrated.Discussion. Analysis of the text of SSTU 3294-95 “Marketing. Terms and definitions of basic concepts” in terms of compliance with language norms reveals violations related to the use of lexical units not peculiar to the Ukrainian language, the use of words in inappropriate meanings, without regard to their lexical compatibility or contrary to established tradition of word usage.


2021 ◽  
Author(s):  
◽  
Timothy Jones

<p>Objects have been categorised into classes that declare and implement their behaviour ever since the paradigm of object-orientation in programming languages was first conceived. Classes have an integral role in the design and theory of object-oriented languages, and often appear alongside objects as a foundational concept of the paradigm in many theoretical models.  A number of object-oriented languages have attempted to remove classes as a core component of the language design and rebuild their functionality purely in terms of objects, to varying success. Much of the formal theory of objects that eschews classes as a fundamental construct has difficulty encoding the variety of behaviours possible in programs from class-based languages.  This dissertation investigates the foundational nature of the class in the object-oriented paradigm from the perspective of an ‘objects-first’, classless language. Using the design of theoretical models and practical implementations of these designs as extensions of the Grace programming language, we demonstrate how objects can be used to emulate the functionality of classes, and the necessary trade-offs of this approach.  We present Graceless, our theory of objects without classes, and use this language to explore what class functionality is difficult to encode using only objects. We consider the role of classes in the types and static analysis of object-oriented languages, and present both a practical design of brand objects and a corresponding extension of our theory that simulates the discipline of nominal typing. We also modify our theory to investigate the semantics of many different kinds of implementation reuse in the form of inheritance between both objects and classes, and compare the consequences of these different approaches.</p>


2021 ◽  
Author(s):  
◽  
Timothy Jones

<p>Objects have been categorised into classes that declare and implement their behaviour ever since the paradigm of object-orientation in programming languages was first conceived. Classes have an integral role in the design and theory of object-oriented languages, and often appear alongside objects as a foundational concept of the paradigm in many theoretical models.  A number of object-oriented languages have attempted to remove classes as a core component of the language design and rebuild their functionality purely in terms of objects, to varying success. Much of the formal theory of objects that eschews classes as a fundamental construct has difficulty encoding the variety of behaviours possible in programs from class-based languages.  This dissertation investigates the foundational nature of the class in the object-oriented paradigm from the perspective of an ‘objects-first’, classless language. Using the design of theoretical models and practical implementations of these designs as extensions of the Grace programming language, we demonstrate how objects can be used to emulate the functionality of classes, and the necessary trade-offs of this approach.  We present Graceless, our theory of objects without classes, and use this language to explore what class functionality is difficult to encode using only objects. We consider the role of classes in the types and static analysis of object-oriented languages, and present both a practical design of brand objects and a corresponding extension of our theory that simulates the discipline of nominal typing. We also modify our theory to investigate the semantics of many different kinds of implementation reuse in the form of inheritance between both objects and classes, and compare the consequences of these different approaches.</p>


Author(s):  
Kuang-Chen Lu ◽  
Ben Greenman ◽  
Shriram Krishnamurthi
Keyword(s):  

2021 ◽  
Author(s):  
Kiko Fernandez-Reyes ◽  
Isaac Oscar Gariano ◽  
James Noble ◽  
Erin Greenwood-Thessman ◽  
Michael Homer ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document