Go offers a primitive dictionary type called a map. The following example shows how to make and use a Go map.
Go提供了一个基本的dictionary类型叫做map。
The example sentences in this dictionary are printed in italic type.
本词典中的例句都是用斜体排印的。
Definitions in this dictionary are printed in roman type.
这本词典里的释义是用罗马体印刷的。
Note that the values in a list or dictionary don't have to be all of the same type; you can mix strings, Numbers, and even nested lists and dictionaries if you wish.
注意,列表或字典中的值不一定必须是相同的类型;可以混合使用字符串、数字,甚至是嵌套的列表或字典,如果需要的话。
In the default rule set, a part type is identified by classifying the token using a dictionary.
在默认的规则集中,可以通过使用字典分类令牌来识别部件类型。
The type of the annotations created by a dictionary lookup is derived from the dictionary name.
字典查找创建的注释的类型来自于字典名。
But as soon as you type at least three letters, the suggestion box will open with a list of the first 10 words returned from the dictionary.
但是如果输入三个以上字母,将会显示出来自于词典的包含10个单词的推荐框。
To instantiate a Dictionary object, you need to pass a type string and a DictionaryIO object to its constructor.
要实例化Dictionary对象,需要将类型字符串和DictionaryIO 对象传递给它的构造函数。
The first time you encounter a Dictionary object in a calling method, you can check its type before working with it.
在调用方法中第一次遇到Dictionary对象时,可以在使用它之前检查它的类型。
Such objects have a field that points to the "Class" object that holds the dictionary for the object's type.
这些对象都有一个指向“类”对象的字段(Field),而“类”对象属于对象类型字典里某种类型。
In the resulting window, type a name for the dictionary, such as skills, and click Finish.
在出现的窗口中,为字典输入一个名称,比如skills,然后单击Finish。
PHP has an array type that doubles as as a simple list and a dictionary or hash; Python separates the two.
PHP的数组类型可同时支持简单列表和字典或散列,但Python却将这两者分开。
The dictionary container type in Python is different from the other three container types in that it is an unordered collection.
Python中的dictionary容器类型与这三种容器类型的不同之处在于,它是一个无序的集合。
The first six types are sequences, while the last type, dictionary, is a map.
前六个类型是有序的,最后一个类型dictionary则是一个映射。
This behavior applies also to out-of-vocabulary words if you type them in lower-case letters into your dictionary, such as ipod.
这一行为也适用于词汇表以外的单词,如果将它们以小写字母的形式输入到字典中的话,例如ipod。
This article has discussed the Python dictionary data type.
本文讨论了Pythondictionary数据类型。
A more general industry specific dictionary which caters to a specific industry type e.g. automobile dealers.
一个更通用的特定于行业的dictionary,该dictionary可以满足特定行业的需求,比如汽车行业。
The values in a dictionary, however, can be any data type.
但是dictionary中的值可以是任何数据类型的。
The headwords in this dictionary are in bold type.
本词典的词条用的是粗体字。
This analogy extends to the Python programming language and the special container type known as a dictionary.
这种概念延伸到Python编程语言中,就成了特殊的容器类型,称为dictionary。
The dictionary container in Python is also a mutable data type, which means you can change it after it has been created.
Python中的dictionary容器也是易变的数据类型,这意味着在创建它之后可以修改它。
Fundamentally, the order of the items in a dictionary is controlled by the actual implementation of the Python dictionary data type.
本质上,dictionary中元素的次序是由Python dictionary数据类型的实际实现控制的。
The working of this type of dictionary is best explained by the flow diagram shown in Figure 6.
图 6 所示的流程图很好地解释了此类dictionary的工作原理。
The American Heritage Dictionary says that window is an example of a type of word called a “kenning” that the Norse loved to invent.
《美国传统词典》写道,window属于古斯堪地那维亚人很喜欢自创的所谓“隐喻语”(kenning)。
It's a slippery thing; high-performance models, assessments, and descriptions abound, yet a satisfying all-inclusive dictionary-type definition eludes.
它是个难以捉摸的家伙;高绩效的模型、评估和描述比比皆是,然而还没有出现一个能让人满意的、全面的、字典式的定义。
Finally, this example demonstrates that the underlying data type for a dictionary in Python is the dict object.
最后,这个示例说明了Python中dictionary的底层数据类型是dict对象。
One type of book is the Greek or Hebrew dictionary (lexicon) that provides definitions of words.
其中一种就是能提供字词定义的希腊文或希伯来文字典(词典)。
If you type the same example on your computer, you might get a different result. In general, the order of items in a dictionary is unpredictable.
如果你在你电脑上测试上面这段代码,你得到的结果也可能不一样,实际上,字典中的项的顺序是不确定的。
The head-words in this dictionary are printed in bold type.
这部词典的词目是用黑体字排印的。
The head-words in this dictionary are printed in bold type.
这部词典的词目是用黑体字排印的。
应用推荐