黄精什么人不能吃| 牙结石有什么危害| 肺结节吃什么食物散结节最快| 丑时五行属什么| 胃反酸水是什么原因| m的意思是什么| 1935年属什么生肖属相| 2100年是什么年| 黄金螺吃什么| 苏州有什么好玩的地方| 肝异常一般是什么情况| 乙肝病毒表面抗体弱阳性什么意思| 平躺就咳嗽是什么原因| 时光如梭是什么意思| 区局长是什么级别| 什么水果可以解酒| 呼吸困难是什么原因| dp是什么| 鼻子发痒是什么原因引起的| 资金流入股价下跌为什么| 人生海海是什么意思| 温煦是什么意思| 十月23日是什么星座| ideal是什么意思| 四级士官是什么级别| 吃什么会流产| 流量加油包是什么意思| 头发爱出油是什么原因| 毛主席什么时候死的| 张嘴睡觉有什么危害| 食物中毒吃什么| 婚煞是什么意思| 减肥中午吃什么| 肺炎咳嗽吃什么药| 闪婚是什么意思| 正色是什么意思| 补气血吃什么水果| 男人脚肿是什么原因| 7月28日是什么星座| 无名指下面的竖线代表什么| 空腹血糖17已经严重到什么时候| 尿频尿急吃什么药比较好| er是什么意思| 理气是什么意思| 大圣归来2什么时候上映| 信仰是什么意思| 一直发烧不退是什么原因| 照见五蕴皆空什么意思| 0101是什么意思| 作茧自缚是什么意思| 副军级是什么级别| 64年属什么的| 李商隐是什么朝代的| 江西庐山产什么茶| 前列腺增生是什么意思| 虎是什么结构| 避孕套和安全套有什么区别| 睾丸癌是由什么引起的| 店长的工作职责是什么| 前置胎盘需要注意什么| 虚伪是什么意思| 鱼和熊掌不可兼得什么意思| 鹿加几念什么| 什么是静脉血栓| 组织委员的职责是什么| 花开半夏是什么意思| 肠炎能吃什么| 睚眦是什么意思| 法西斯是什么| 心律不齐是什么原因引起的| 感冒鼻子不通气吃什么药| 蓓字五行属什么| toshiba是什么牌子| 植物功能紊乱吃什么药| 血糖高是什么原因引起| 右眼上眼皮跳是什么预兆| 深井冰是什么意思| 五塔标行军散有什么功效| 歇菜是什么意思| 做一半就软了是什么原因| 清华大学校长什么级别| 男才女貌是什么意思| 男人分手是什么感觉| 每天早上喝一杯蜂蜜水有什么好处| 人为什么会近视| 汉武帝属什么生肖| 事倍功半的意思是什么| 黄痰黄鼻涕吃什么药| 自讨没趣什么意思| 搞破鞋是什么意思| 世界上最多笔画的字是什么| 肆意是什么意思| 中药学专业学什么| 店长的工作职责是什么| 男人精子少是什么原因| 胰腺炎吃什么好| 低血压吃什么调理| 小孩流鼻血吃什么好| 复方石韦胶囊治什么病| 16年是什么年| 鸭肉和什么不能一起吃| 女性hpv是什么意思| 勃起功能障碍吃什么药| 龙是什么意思| 诺如病毒感染吃什么药| 颈椎病挂什么科最好| 脚干裂用什么药最好| 男性尿很黄是什么原因| 熹字五行属什么| 荨麻疹可以吃什么水果| 牛油果有什么营养| 九月二十九号是什么星座| 在所不辞是什么意思| 什么是紫河车| 花儿像什么比喻句| 汗毛长的女人代表什么| 左侧上颌窦囊肿是什么意思| 夏天吃什么菜好| 做穿刺是什么意思| 男人吃西红柿有什么好处| 冰冻三尺非一日之寒是什么意思| 什么察秋毫| 尿酸高适合喝什么汤| 消化不良的症状吃什么药| 什么人喜欢天天下雨| 四川有什么特产| 决定的近义词是什么| 黑色碎花裙配什么上衣| 梦见自己生了个女儿是什么预兆| 孕酮低吃什么可以提高孕酮| 脚趾缝痒用什么药| 高字是什么结构| 海米是什么| 副部长是什么级别| 胃胀气是什么症状| 尿潴留是什么原因引起的| 疣长什么样子| 怕热是什么原因| 混血是什么意思| 眼镜轴向是什么意思| 全身大面积湿疹暗示着什么| 10月26日什么星座| 200年属什么生肖| 血糖有点高吃什么食物好| 肩胛骨麻麻的什么原因| 2019属什么| 心脏b超能查出什么| 沼泽地是什么意思| 手背肿是什么原因| 心肌炎吃什么药| 君王是什么生肖| 言字旁可念什么| 人心叵测是什么意思| 西瓜禁忌和什么一起吃| 脂肪瘤挂什么科| 高数是什么| 月季什么时候扦插最好| 脚肿吃什么消肿最快| 1069是什么意思| 保安的职责是什么| 头部ct挂什么科| 肥大肾柱是什么意思| 塔罗牌是什么意思| soso什么意思| 吃什么药通气放屁最快| 未什么意思| spo2过低是什么意思| 感情是什么| 胃不好吃什么好消化又有营养| 检查生育能力挂什么科| 雾化是什么意思| 肝癌是什么症状| 金国是什么民族| 吃什么药可以死| 是代表什么意思| 碳酸钠为什么显碱性| 银杏树叶像什么| 锋芒是什么意思| 西楚霸王是什么生肖| 什么心什么血| 黄麻是什么| 疾控中心属于什么单位| 风湿因子高是什么原因引起的| 单剂量给药是什么意思| soleil是什么意思| 今天农历什么日子| 猕猴桃是什么季节的水果| 葡萄糖阴性什么意思| 孕妇鼻子出血是什么原因| 超声检查是什么| 太平鸟属于什么档次| 搀扶是什么意思| 普洱在云南什么位置| 砧板是什么工作| her是什么意思| 血流信号是什么意思| 生化检查能查出什么病| 么么叽是什么意思| 电动伐木锯什么牌子好| 孕妇为什么不能参加婚礼| 梦见狗追我是什么意思| 什么展翅| 为什么会有鼻炎| 耳鸣看什么科| 总是打嗝是什么原因| 打夜针是什么意思| 颈椎ct能检查出什么| 咋啦是什么意思| 梦遗是什么| 狂风暴雨是什么生肖| 低密度脂蛋白胆固醇偏高是什么意思| 扶苏姓什么| 飞机什么时候开始登机| 鱼为什么睁着眼睛睡觉| 手机贴什么膜最好| 壬寅年五行属什么| 年年有今日岁岁有今朝什么意思| 给女生送礼物送什么好| 红鸾星动是什么意思| 懵圈是什么意思| 以什么见什么| 斐乐什么档次| 寓是什么意思| 6月8号什么星座| 蜂蜜芥末酱是什么味道| 肾不好挂什么科| 过房是什么意思| 曲拉是什么| 上海五行属什么| 精湛是什么意思| 有恙是什么意思| oto是什么意思| 95年属什么| 阴道炎用什么药效果最好| 伤骨头了吃什么好得快| 梦见挖野菜是什么意思| 木加一笔变成什么字| 斯人是什么意思| 95属什么生肖| 再三的意思是什么| 老年人脸肿是什么原因引起的| 法盲是什么意思| 打嗝是什么原因引起的| 幻听是什么原因| 羊奶和牛奶有什么区别| 儿童乐园有什么好玩的| 流泪痣是什么意思| tct检查是什么| 扫把星是什么生肖| 乳腺增生1类什么意思| 女人没有白带说明什么| 低血压高吃什么药好| 为什么会磨牙| 尿素氮偏低是什么原因| 上海立秋吃什么| 大姨妈来了不能吃什么东西| 准确值是什么意思| eb病毒感染是什么病| 机不可失的下一句是什么| 什么是关税| 做飞机需要注意什么| b超回声不均匀是什么意思| 世态炎凉是什么意思| 营卫不和是什么意思| 百度Jump to content

北京检方依法批捕比特币被盗案犯罪嫌疑人

From Wikipedia, the free encyclopedia
百度 该委员主席通常为一名副总理,成员则包括政府办公厅主任、国防部副部长等高官。

In formal language theory, a context-sensitive language is a formal language that can be defined by a context-sensitive grammar, where the applicability of a production rule may depend on the surrounding context of symbols. Unlike context-free grammars, which can apply rules regardless of context, context-sensitive grammars allow rules to be applied only when specific neighboring symbols are present, enabling them to express dependencies and agreements between distant parts of a string.

These languages correspond to type-1 languages in the Chomsky hierarchy and are equivalently defined by noncontracting grammars (grammars where production rules never decrease the total length of a string). Context-sensitive languages can model natural language phenomena such as subject-verb agreement, cross-serial dependencies, and other complex syntactic relationships that cannot be captured by simpler grammar types,[citation needed] making them important for computational linguistics and natural language processing.

Computational properties

[edit]

Computationally, a context-sensitive language is equivalent to a linear bounded nondeterministic Turing machine, also called a linear bounded automaton. That is a non-deterministic Turing machine with a tape of only cells, where is the size of the input and is a constant associated with the machine. This means that every formal language that can be decided by such a machine is a context-sensitive language, and every context-sensitive language can be decided by such a machine.

This set of languages is also known as NLINSPACE or NSPACE(O(n)), because they can be accepted using linear space on a non-deterministic Turing machine.[1] The class LINSPACE (or DSPACE(O(n))) is defined the same, except using a deterministic Turing machine. Clearly LINSPACE is a subset of NLINSPACE, but it is not known whether LINSPACE?=?NLINSPACE.[2]

Examples

[edit]

One of the simplest context-sensitive but not context-free languages is : the language of all strings consisting of n occurrences of the symbol "a", then n "b"s, then n "c"s (abc, aabbcc, aaabbbccc, etc.). A superset of this language, called the Bach language,[3] is defined as the set of all strings where "a", "b" and "c" (or any other set of three symbols) occurs equally often (aabccb, baabcaccb, etc.) and is also context-sensitive.[4][5]

L can be shown to be a context-sensitive language by constructing a linear bounded automaton which accepts L. The language can easily be shown to be neither regular nor context-free by applying the respective pumping lemmas for each of the language classes to L.

Similarly:

is another context-sensitive language; the corresponding context-sensitive grammar can be easily projected starting with two context-free grammars generating sentential forms in the formats and and then supplementing them with a permutation production like , a new starting symbol and standard syntactic sugar.

is another context-sensitive language (the "3" in the name of this language is intended to mean a ternary alphabet); that is, the "product" operation defines a context-sensitive language (but the "sum" defines only a context-free language as the grammar and shows). Because of the commutative property of the product, the most intuitive grammar for is ambiguous. This problem can be avoided considering a somehow more restrictive definition of the language, e.g. . This can be specialized to and, from this, to , , etc.

is a context-sensitive language. The corresponding context-sensitive grammar can be obtained as a generalization of the context-sensitive grammars for , , etc.

is a context-sensitive language.[6]

is a context-sensitive language (the "2" in the name of this language is intended to mean a binary alphabet). This was proved by Hartmanis using pumping lemmas for regular and context-free languages over a binary alphabet and, after that, sketching a linear bounded multitape automaton accepting .[7]

is a context-sensitive language (the "1" in the name of this language is intended to mean a unary alphabet). This was credited by A. Salomaa to Matti Soittola by means of a linear bounded automaton over a unary alphabet[8] (pages 213–214, exercise 6.8) and also to Marti Penttonen by means of a context-sensitive grammar also over a unary alphabet (See: Formal Languages by A. Salomaa, page 14, Example 2.5).

An example of recursive language that is not context-sensitive is any recursive language whose decision is an EXPSPACE-hard problem, say, the set of pairs of equivalent regular expressions with exponentiation.

Properties of context-sensitive languages

[edit]
  • The union, intersection, concatenation of two context-sensitive languages is context-sensitive, also the Kleene plus of a context-sensitive language is context-sensitive.[9]
  • The complement of a context-sensitive language is itself context-sensitive[10] a result known as the Immerman–Szelepcsényi theorem.
  • Membership of a string in a language defined by an arbitrary context-sensitive grammar, or by an arbitrary deterministic context-sensitive grammar, is a PSPACE-complete problem.

See also

[edit]

References

[edit]
  1. ^ Rothe, J?rg (2005), Complexity theory and cryptology, Texts in Theoretical Computer Science. An EATCS Series, Berlin: Springer-Verlag, p. 77, ISBN 978-3-540-22147-0, MR 2164257.
  2. ^ Odifreddi, P. G. (1999), Classical recursion theory. Vol. II, Studies in Logic and the Foundations of Mathematics, vol. 143, Amsterdam: North-Holland Publishing Co., p. 236, ISBN 978-0-444-50205-6, MR 1718169.
  3. ^ Pullum, Geoffrey K. (1983). Context-freeness and the computer processing of human languages. Proc. 21st Annual Meeting of the ACL.
  4. ^ Bach, E. (1981). "Discontinuous constituents in generalized categorial grammars" Archived 2025-08-05 at the Wayback Machine. NELS, vol. 11, pp. 1–12.
  5. ^ Joshi, A.; Vijay-Shanker, K.; and Weir, D. (1991). "The convergence of mildly context-sensitive grammar formalisms". In: Sells, P., Shieber, S.M. and Wasow, T. (Editors). Foundational Issues in Natural Language Processing. Cambridge MA: Bradford.
  6. ^ Example 9.5 (p. 224) of Hopcroft, John E.; Ullman, Jeffrey D. (1979). Introduction to Automata Theory, Languages, and Computation. Addison-Wesley
  7. ^ J. Hartmanis and H. Shank (Jul 1968). "On the Recognition of Primes by Automata" (PDF). Journal of the ACM. 15 (3): 382–389. doi:10.1145/321466.321470. hdl:1813/5864. S2CID 17998039.
  8. ^ Salomaa, Arto (1969), Theory of Automata, ISBN 978-0-08-013376-8, Pergamon, 276 pages. doi:10.1016/C2013-0-02221-9
  9. ^ John E. Hopcroft; Jeffrey D. Ullman (1979). Introduction to Automata Theory, Languages, and Computation. Addison-Wesley. ISBN 9780201029888.; Exercise 9.10, p.230. In the 2000 edition, the chapter on context-sensitive languages has been omitted.
  10. ^ Immerman, Neil (1988). "Nondeterministic space is closed under complementation" (PDF). SIAM J. Comput. 17 (5): 935–938. CiteSeerX 10.1.1.54.5941. doi:10.1137/0217058. Archived (PDF) from the original on 2025-08-05.
  • Sipser, M. (1996), Introduction to the Theory of Computation, PWS Publishing Co.
妍五行属什么 王白读什么 伤口好转的迹象是什么 矿物油是什么油 什么水果是钙中之王
怀二胎初期有什么症状 指标什么意思 硅橡胶是什么材料 夫妻备孕检查挂什么科 乙肝通过什么传播
更年期提前是什么症状 全员加速中什么时候播 低回声是什么意思 泡脚有什么好处和坏处 食道不舒服挂什么科
闲鱼卖出的东西钱什么时候到账 人几读什么 痔疮吃什么药效果好 空气缸是什么意思 手术后吃什么恢复快
老来得子是什么意思hcv8jop8ns9r.cn 巨蟹和什么星座最配对zsyouku.com 肺静脉流的是什么血hcv9jop0ns7r.cn 江小白加雪碧什么意思hcv8jop7ns5r.cn 管教有方是什么意思mmeoe.com
咽喉炎吃什么消炎药hcv8jop5ns3r.cn 酷暑的反义词是什么hcv7jop7ns0r.cn 右边偏头痛什么原因wuhaiwuya.com 20是什么生肖luyiluode.com 颞下颌关节炎吃什么药hcv9jop4ns9r.cn
ppd是什么检查jingluanji.com 嗓子突然哑了是什么原因引起的hcv9jop4ns4r.cn 晕车为什么读第四声hcv9jop5ns2r.cn 刺史相当于现在什么官hcv8jop9ns4r.cn 摩羯后面是什么星座hcv7jop9ns2r.cn
怀孕前期有什么症状hcv7jop7ns0r.cn simon什么意思hcv7jop6ns4r.cn 产能过剩是什么意思hcv8jop5ns3r.cn 什么是同位素hcv9jop7ns2r.cn 胚根发育成什么gysmod.com
百度