Non-terminal
Non-terminal refers to a concept or entity that is not at its end stage or conclusion. In various fields, the term "non-terminal" can have specific meanings and applications. Below, the term is explored in the contexts of computing, linguistics, and medicine, showcasing its diverse usage across different disciplines.
Computing[edit | edit source]
In the realm of computing, particularly in the study of formal languages and automata theory, a non-terminal symbol is a crucial component of a grammar. Non-terminal symbols are used in the production rules of a context-free grammar to generate strings of a language. These symbols can be replaced by groups of non-terminal or terminal symbols, where terminal symbols represent the actual characters or tokens of the language.
Definition[edit | edit source]
A non-terminal symbol is defined within a grammar as a symbol that can be replaced by a sequence of terminal and/or other non-terminal symbols according to the production rules of the grammar. Non-terminal symbols are typically denoted by uppercase letters (A, B, C, ...) in contrast to terminal symbols, which are denoted by lowercase letters (a, b, c, ...), digits, or other characters.
Example[edit | edit source]
Consider a simple grammar G defined as follows:
- Non-terminal symbols: S, A
- Terminal symbols: a, b
- Production rules:
* S → aA * A → b
In this grammar, S and A are non-terminal symbols that can be replaced by sequences of other symbols according to the production rules to generate strings of the language defined by grammar G.
Linguistics[edit | edit source]
In linguistics, a non-terminal symbol, also referred to as a syntactic variable, is a symbol used in the syntax trees and rules of generative grammar to represent categories of words or phrases. These symbols are essential for the hierarchical organization and generation of sentences in a language.
Definition[edit | edit source]
In generative grammar, non-terminal symbols are categories that can be further decomposed into smaller units in a syntax tree. These categories include parts of speech like nouns (N), verbs (V), adjectives (Adj), and phrases like noun phrases (NP) and verb phrases (VP).
Example[edit | edit source]
In a simple sentence structure:
- The sentence (S) can be divided into a noun phrase (NP) and a verb phrase (VP).
- The noun phrase (NP) might further be divided into a determiner (Det) and a noun (N).
- The verb phrase (VP) could consist of a verb (V) and possibly another noun phrase (NP) as its object.
This hierarchical structure is represented using non-terminal symbols in the syntax trees of generative grammar.
Medicine[edit | edit source]
In medicine, the term non-terminal is used to describe a condition or illness that is not expected to result in the death of the patient in the near term. This term is significant in discussions of treatment options, palliative care, and ethical considerations in patient care.
Definition[edit | edit source]
A non-terminal illness is one that, while possibly chronic and serious, does not have an immediate fatal prognosis. These conditions may require long-term management, treatment, and care, but they do not have the same urgency for end-of-life planning as terminal illnesses.
Example[edit | edit source]
Chronic diseases such as diabetes, hypertension, and certain types of cancer can be considered non-terminal, as they can often be managed with treatment and do not necessarily lead to imminent death.
Conclusion[edit | edit source]
The concept of "non-terminal" plays a significant role in various fields, each with its specific context and implications. Understanding these differences is crucial for professionals and scholars working within these disciplines.
Non-terminal Resources | |
---|---|
|
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD