Questions tagged [semantics]

The study of meaning as it applies to programming languages

Semantics is the study of meaning. In computer programming, semantics refers to the relationships between symbols in a programming language, and how those symbols are combined and manipulated to produce a computing result.

Useful links

1728 questions
0
votes
0 answers

build a semantic map-knowrob

I'm having some problems with the rospackage knowrob_gui knowrobGUI. I need it to build a semantic map that i have to integrate with my owl file.I started following this guide: But when i run the command:rosrun knowrob_gui KnowRobGUI i have this…
0
votes
4 answers

Does CSS affects HTML semantics?

Does CSS affects HTML semantics? For example, Hiding the bullets of ordered list (
  1. ) and using an image instead. Will it be treated like unordered list after applying the CSS?
Wreeecks
  • 2,186
  • 1
  • 33
  • 53
0
votes
1 answer

Conflicting layouts prevents semantic html

If there are two layouts for the same data should I try to find a semantic layout that fits both or just pick one to be semantic and the other stylistic only? Any ideas would be appreciated since at the moment, I'm doing neither. I'm trying to put…
David Mann
  • 2,074
  • 1
  • 17
  • 17
0
votes
2 answers

The h1 in the structure of a page

(I am not sure if this is the right place to ask this question, if not please suggest the appropriate forum) I have a very simple structure in the page:

This is the…

Nrc
  • 9,577
  • 17
  • 67
  • 114
0
votes
0 answers

Is there an NS* constant for "many found"?

I am writing a method that performs an action which will give us an array of NSErrors. After this, we must handle the returned array: If the array is empty, no error has occurred and we continue as normal If the array has one item, that is the…
Ky -
  • 30,724
  • 51
  • 192
  • 308
0
votes
1 answer

How to notate that the parameter value doesn't matter in a JUnit test?

I'm doing some TDD using JUnit4, Mockito, and Hamcrest. My current test looks like this: FeatureFilter featureFilter = FeatureFilter .describeFeature() .addFeatureRef("myNewFeature", thatIsAvailable() …
0
votes
1 answer

Semantics - creating grammar in NLTK

I'm trying to expand NLTK's simple-sem.fcfg so that it supports coordination of phrases. I want it to successfully parse a sentence like: Irene walks and Angus barks. Since this is represented as walk(Irene) & bark(Angus), I think the best way to…
user16655
  • 1,901
  • 6
  • 36
  • 60
0
votes
1 answer

What does this JavaScript expression in BIRT report mean?

I am working on a BIRT Report and one of the fields contains the following expression: dataSetRow["user_id"] != dataSetRow["creatorId"] ? dataSetRow["orderCreator"] : '' What is the logic of this statement?
Orin
  • 419
  • 1
  • 5
  • 10
0
votes
1 answer

What is the right semantics tag for the content of a
?

Is there any correct way to name the content element in the "section" tag? I have sections with headings and i need to wrap the content of the sections into something. Particularly in my case because the content elements are surrounded by one single…
zwieble
  • 11
0
votes
0 answers

About Virtuoso Yago in Java

I use the code below for get hasLongitude and hasLatitude from yago with java use virtuoso but I don't receive anything :(( Is there any problem in this code?? VirtGraph set = new VirtGraph ("jdbc:virtuoso://localhost:1111", "dba", "dba"); …
0
votes
1 answer

DBPedia query to extract all attributes from all the smartphones present in dbpedia

Is it possible to make a query to extract all the attributes from all the smartphones present in DBPedia?
Usi Usi
  • 2,967
  • 5
  • 38
  • 69
0
votes
1 answer

clustering semantically related words from a list of words

I have a word list containing about 30000 unique words. I would like to group this list of words based on how similar these words tend to be. Can I create a ontology tree using this list and with possibly with the help of WordNet? So essentially…
samsamara
  • 4,630
  • 7
  • 36
  • 66
0
votes
2 answers

No visible @interface for 'WKinterfaceGroup' declares the selector: has something changed in iOS 8.3?

I am using iOS SDK 8.3 and trying to follow this tutorial to create a table in a watch kit app. I added an Table on interface controller of the iWatch app and then linked it to my InterfaceController. The I created a custom row class and linked the…
mm24
  • 9,280
  • 12
  • 75
  • 170
0
votes
1 answer

In need of a SaaS solution for semantic thesaurus matching

I'm currently building a web application. In one of it's key processes the application need to match short phrases to other similar ones available in the DB. The application needs to be able to match the phrase: Looking for a second hand car in…
Roy Peleg
  • 1,000
  • 2
  • 8
  • 25
0
votes
1 answer

Semantic Distance/Similarity between two terms in a sentence

I was wondering of anyone have a reference of information talking about semantic distance/similarity between 2 words in a sentence BASED on counting the words that separate between these 2 words? Example: "The student went to the university to…
Nirke
  • 173
  • 1
  • 5
  • 12