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
6
votes
1 answer

resource that explains vocabulary used in Edward Kmett's lens package

I am trying to read the documentation in Edward Kmett's Lens package. I am not familiar with a lot of the terms used (profunctor, isomorphism, monomorphic, contravariant, bifunctor, etc...) What would be a good resource to go to learn some of this…
John F. Miller
  • 26,961
  • 10
  • 71
  • 121
6
votes
2 answers

Is there a dictionary about common programming vocabulary?

When I need a name for a new class that extends behaviour of an existing class, I usually have hard time to come up with a name for it. For example, if I have a class MyClass, then the new class could be named something like MyClassAdapter,…
sventevit
  • 4,766
  • 10
  • 57
  • 89
5
votes
2 answers

How to find the vocabulary size of a spaCy model?

I am trying to find the vocabulary size of the large English model, i.e. en_core_web_lg, and I find three different sources of information: spaCy's docs: 685k keys, 685k unique vectors nlp.vocab.__len__(): 1340242 # (number of…
Yannis Ch
  • 53
  • 1
  • 4
5
votes
0 answers

How to restore a vocab file asset saved using Tensorflow SavedModel

I am working through a Tensorflow blog to create a CNN. Its a great article but it does use the following code to save and restore the vocab file to the file system: vocab_processor.save(vocab) vocab_processor =…
j_1234
  • 51
  • 3
5
votes
4 answers

Kind of a question about the English language: Using plural in the first part of an identifier name

As a non-native English speaker, I often wonder about using the plural form in the initial part(s) of noun phrases when naming classes or objects. For example: If I have an interface to multiple [streaming] players, it is good English to name it…
5
votes
1 answer

RDF Vocabulary for describing Uri components

Is there a known RDF vocabulary for describing metadata of Uri components? (e.g. scheme, authority, querystring, etc.) Update I have been able to find a DublinCore term resource for URI, but the extent of information communicated in the…
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
5
votes
5 answers

How do you maintain your program vocabulary?

In a not-so-small program, when you have not-so-few entities, in order to maintain code readability, common terms, and otherwise improve mutual understanding between team members, one have to define and maintain program vocabulary. How do you (or…
Ilya Ryzhenkov
  • 11,782
  • 1
  • 40
  • 50
4
votes
1 answer

Return the most similar document compared to a query document by using Cosine similarity in python

I have a set of files and a query doc.My purpose is to return the most similar documents by comparing with query doc for each of the document.To use cosine similarity first i have to map the document strings to vectors.Also i have already created a…
Barbaros26
  • 149
  • 1
  • 6
4
votes
2 answers

Tagging and Searching Plone Content from Constrained Vocabularies

I want to let my editors tag content on several orthogonal vocabularies and then have a nice search interface that lets users search for the content based on those vocabularies. It seems too parts of the solution exist ATVocabularyManager - lets…
djay
  • 1,058
  • 5
  • 12
4
votes
0 answers

RDF Data Cubes, AttributeProperty, units of measurement & QUDT

I'm doing some work with RDF Data Cubes vocabulary for publishing time-series of various data, among others sensors. The measurement of the sensor is taken at a specific time at a specific station. Both time and station I will model as…
Adrian Gschwend
  • 664
  • 8
  • 16
4
votes
1 answer

Microdata for dictionary : can I use yandex

I'm willing to use microdata/microformat/etc. for the part of my website which is an online dictionary. Basically I just want to tag word and definition to help search engines to grab the most important data in every page belonging to the…
Gilles
  • 155
  • 1
  • 7
4
votes
1 answer

custom url for taxonomy > vocabulary at Drupal 6

I'm new at Drupal. a question; I create a hotels directory site. I created Taxonomy>Vocabulary for locations like London, Liverpool, etc... For example the url below lists the London localhost/drupal/taxonomy/term/1 how can change that url to…
designer-trying-coding
  • 5,994
  • 17
  • 70
  • 99
4
votes
3 answers

define mysql indexing

What is indexing? What is full text? I know the answers to both questions, but I can't expose those answers in the exact way to an interviewer: indexing means something like index in book fulltext means for search string Can please give me…
Bharanikumar
  • 25,457
  • 50
  • 131
  • 201
4
votes
1 answer

WordNet(JWI MIT) : How to find words with a particular alphabet/phrase?

How can I find the list of words starting with a particular alphabet or particular phrase using JWI MIT interface(http://projects.csail.mit.edu/jwi/) from WordNet API(http://wordnet.princeton.edu/). Any Idea, how to achieve this?
Master
  • 2,945
  • 5
  • 34
  • 65
4
votes
3 answers

Problems using a custom vocabulary for TfidfVectorizer scikit-learn

I'm trying to use a custom vocabulary in scikit-learn for some clustering tasks and I'm getting very weird results. The program runs ok when not using a custom vocabulary and I'm satisfied with the cluster creation. However, I have already…
FRiverai
  • 97
  • 1
  • 6
1
2
3
12 13