The Relationship Between Language, Signs, and Syntax in Computer Science

The Relationship Between Language, Signs, and Syntax in Computer Science
Slide Note
Embed
Share

In the realm of computer science, language plays a crucial role intertwined with signs and syntax. Understanding semiotics - the study of signs - sheds light on how communication is facilitated through the arrangement of signs with rules of syntax. Language is more than just words; it's a structured system of signs and rules that enable effective communication and interpretation. Exploring the connection between language and computer science unveils a world where meaning is derived from the interpretation of signs within a syntactical framework. This relationship is key in shaping how information is processed and understood in the digital landscape.

  • language
  • signs
  • syntax
  • computer science
  • semiotics

Uploaded on Mar 08, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Semiotics bla, bla, bla What has language to do with computer science? Applied Research and Innovation in Computer Science Dipl.-Ing. Hubert Sch lnast, BSc. WS 2021/22

  2. Languages Languages consist of signs which, when linked together, can describe something, and can be understood (interpreted) by someone. Syntax signs Semantics Pragmatics object interpreter Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 2

  3. Signs A sign is something that designates something else. The sign itself is not the thing that it depicts and the sign itself has no meaning. It needs to be interpreted to mean something. 4 ( A Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 3

  4. Syntax Syntax is a set of rules that define the way signs may be arranged and connected to each other. In formal systems, syntax is a set of rules that specifies how pre-existing groups of signs may be transformed into other, new groups of signs. Syntax does not care about the objects to witch single signs or groups of signs refer. Syntax does not care about the meaning that an interpreter might see in the group of signs. Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 4

  5. Syntax, an example Our language has 8 words: a, big, cat, guitar, plays, sleeps, small, the And there are also 6 phrases: adjective, article, nominal_group, noun, sentence, verb One of these phrases is the starting phrase: sentence Now we only need some rules Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 5

  6. Syntax, an example Rules Rule 1: Rule 2: nominal_group article noun | article adjective noun sentence nominal_group verb Rule 3: Rule 4: Rule 5: Rule 6: article the | a adjective big | small noun guitar | cat verb sleeps | plays Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 6

  7. Syntax, an example sentence rule 1 nominal_phrase verb rule 2 rule 6 article adjective noun rule 3 rule 4 rule 5 big sleeps the cat Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 7

  8. Syntax, an example Other valid sentences: a guitar plays the cat plays the cat sleeps a small guitar sleeps a small cat plays the guitar plays the big guitar sleeps a guitar sleeps Invalid sentences: a cat plays the guitar to be or not to be the guitar cat sleeps where is the cat? plays sleeps a the guitar big meow Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 8

  9. Syntax Syntax appears in natural languages in spoken language as phonetic rules The signs are single sounds (in linguistics: phonemes ) some sequences of phones are possible, others are not in written language as orthography The signs are single characters phone character matching some sequences of characters are possible, others are not in both as grammar The signs are single words some sequences of words are possible, others are not between orthography and grammar is another layer (morphemes) on higher levels there is a syntax of story telling. The signs from which you can build dramas are acts, there are rules for their sequence. Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 9

  10. What is a sign? This depends on the definition of the term sentence . sentence or word sign a spoken word a written word a mathematical formula sentence of a natural language source code of a computer program score of an opera DNA a sound ( phoneme ) a letter numbers, operators, etc. word stems, word endings, blanks, interpunctuation keywords, special characters, letters, etc. staves, bar lines, notes, etc. nucleotides Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 10

  11. Semantics Semantics is the process that connects the signs (or groups of signs) to real things. the big cat sleeps semantics Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 11

  12. Semantics Semantics describes the relationship of signs or groups of signs to reality. Semantics investigates whether linguistic expressions are true, false or without meaning. the big cat sleeps can be true or false Semantics can only assign meaning to syntactically correct collections of signs plays sleeps a the guitar big has no meaning Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 12

  13. Pragmatik Pragmatics studies the relationship of language to the speaker and the addressee. The interpretation of signs often differs between different listeners of the same message. But it also often differs between sender and receiver. Semantics is about what the signs really mean. Pragmatics is about how the sender, or the receiver of a message understands it. Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 13

  14. Pragmatics The same sign can be interpreted by different interpreters in different ways For divers under water everything is ok For racists: white power Some people see in it a human anus Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 14

  15. Pragmatics Correct piece of code in C programming language: a = 2 b = 5 c = a+++b printf("a=%i, b=%i, c=%i",a,b,c) The 3rdline can be interpreted in two different ways c = a++ + b first calculate the sum of a and b, assign it to c then increment a by 1 ( post-increment ) output: a=3, b=5, c=7 c = a + ++b first increment b by 1 ( pre-increment ) then calculate the sum of a and b and assign it to c output: a=2, b=6, c=8 Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 15

  16. Pragmatics In computer science, attempts are almost always made to keep the influence of pragmatics, i.e., the scope for interpretation, to a minimum and, if possible, to avoid it completely. Pragmatics will not be a topic for the rest of this course. Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 16

  17. Syntax vs. Semantics Be always aware that there is a big difference between syntax, which does not know anything about the meaning of signs, and semantics, which deals with the meaning of signs. The spell checker of your word processor has no idea of the meaning of the words you wrote. It works exclusively on the syntactic level. If in the course you are asked to focus only on the syntax of strings, think of this spell checker, which also completely ignores the meaning of the characters. Semiotics | MCS | WS2021/22 | Dipl.-Ing. Hubert Sch lnast, BSc. | September 2021 17

More Related Content