Questions tagged [vocabulary]

For questions related to dictionary-like structures in programming, mainly to Semantic Web vocabularies. Please do not use in place of the "terminology" tag.

In Semantic Web

  • In the Semantic Web field, a controlled vocabulary is a set of URIs used to identify things, relations or classes.

  • A vocabulary with well-developed subsumption (subclass-superclass) relations is often called a taxonomy.

  • A taxonomy with well-developed non-subsumption relations is often called an ontology.

See also:

190 questions
450
votes
6 answers

What is the difference between a shim and a polyfill?

Both seem to be used in web development circles, see e.g. HTML5 Cross Browser Polyfills, which says: So here we're collecting all the shims, fallbacks, and polyfills... Or, there's the es5-shim project. In my current project we're using a number…
Domenic
  • 110,262
  • 41
  • 219
  • 271
304
votes
5 answers

What do pty and tty mean?

I noticed many mentions of pty and tty in some open source projects, could someone tell me what do they mean and what is the difference between them?
why
  • 23,923
  • 29
  • 97
  • 142
215
votes
7 answers

What is a Shim?

What's the definition of a Shim?
Nanook
  • 3,072
  • 2
  • 19
  • 19
27
votes
5 answers

Ontology vs vocabulary

I have recently started working with semantic web and linked data technologies, I have been always confused about one thing though. What is the difference between an Ontology and a vocabulary? Which is preferable?
Shishya
  • 1,069
  • 1
  • 14
  • 22
24
votes
1 answer

Markup for postal addresses

Which HTML5 markup should we use for postal addresses? And which vocabulary could we use for enabling machine-readability? As an example, the address of W3C’s main office: W3C/MIT 32 Vassar Street Room 32-G515 Cambridge, MA 02139 USA
unor
  • 92,415
  • 26
  • 211
  • 360
17
votes
2 answers

Tensorflow vocabularyprocessor

I am following the wildml blog on text classification using tensorflow. I am not able to understand the purpose of max_document_length in the code statement : vocab_processor = learn.preprocessing.VocabularyProcessor(max_document_length) Also how…
Nitin
  • 2,572
  • 5
  • 21
  • 28
16
votes
14 answers

What's that CS "big word" term for the same action always having the same effect

There's a computer science term for this that escapes my head, one of those words that ends with "-icity". It means something like a given action will always produce the same result, IE there won't be any hysteresis, or the action will not alter the…
ambertch
  • 7,581
  • 4
  • 28
  • 40
13
votes
2 answers

How do I relate items in schema.org?

Suppose I have this simple HTML page about a guy getting a job: New Job for John Doe

New Job for John Doe

This…

james.garriss
  • 12,959
  • 7
  • 83
  • 96
12
votes
1 answer

What is the difference between dublin core terms and dublin core elements vocabularies

There's 2 Dublin Core vocabularies DC terms and DC elements. They define almost the same classes and properties. So what is the key differences between them, and when to use each one.
Wisamx
  • 183
  • 3
  • 12
11
votes
3 answers

Where to get a Database of Spanish <-> English Translations?

for a program I am writing I would need a dictionary between Spanish and English words. I googled a while, but I could not find any database freely available. Does anybody know where or how to get such a database (preferably a simple CSV or XML…
martinus
  • 17,736
  • 15
  • 72
  • 92
10
votes
3 answers

What is the meaning of "#" in MyType#myMethod() and the difference with "." as in MyType.myMethod()

Well, all is in the title... I understand that both forms refer to the method, but I don't see what # adds to the other form.
mins
  • 6,478
  • 12
  • 56
  • 75
10
votes
2 answers

What is a vocabulary tree and how to build one?

I'm reading a lot about vocabulary trees when it comes to fast queries for similar images or texts in big databases. But I couldn't find any good (easy to understand) description on what such a vocabulary tree is and how to build one of features.
dan
  • 371
  • 1
  • 4
  • 8
10
votes
1 answer

What is the Ruby equivalent of "pythonic"?

In the Python community, the term pythonic refers to idiomatic Python[1]. Is there an equivalent term in the Ruby community for idiomatic Ruby[2]? [1] For example, using enumerate(l) instead of range(len(l)) is pythonic. [2] For example, using .each…
Snowball
  • 11,102
  • 3
  • 34
  • 51
9
votes
1 answer

Any free database of English-Spanish words?

I want to make a Vocabulary Trainer and I was thinking about the best way to do it. First I searched some translation APIs to use, to avoid having to build my own dictionary, but I found that most of them are paid and some are free but have…
gal007
  • 6,911
  • 8
  • 47
  • 70
6
votes
2 answers

spaCy: Word in vocabulary

I try to do typo correction with spaCy, and for that I need to know if a word exists in the vocab or not. If not, the idea is to split the word in two until all segments do exist. As example, "ofthe" does not exist, "of" and "the" do. So I first…
user9165100
  • 371
  • 3
  • 11
1
2 3
12 13