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

opennlp sample training data for disease

I'm using OpenNLP for data classification. I could not find TokenNameFinderModel for disease here. I know I can create my own model but I was wondering is there any large sample training data available for disease?
Pakira
  • 1,951
  • 3
  • 25
  • 54
0
votes
1 answer

Embedding Semantic Queries in MediaWiki Search Results

I am using Semantic MediaWiki with Lucene search and looking for a way to embed a SQL or Semantic Search query using the search input terms to generate a small table of results. For example: If I was searching for Bob's phone number and my semantic…
0
votes
1 answer

Why does std::chrono::time_point not behave as expected?

#include int main() { using clock = std::chrono::system_clock; using time_point = std::chrono::time_point; auto tp_now = clock::now(); auto tp_min = time_point::min(); bool b1 = tp_now > tp_min; bool b2 =…
xmllmx
  • 39,765
  • 26
  • 162
  • 323
0
votes
2 answers

Tag is ignored in mobile?

I got an information, from a senior developer, that the tag is ignored in mobile browsers, but I could not find this information anywhere on internet. According to him, all mobile browsers uses the tag on the entire page, so styling this tag…
William
  • 1,010
  • 3
  • 21
  • 39
0
votes
2 answers

What are the algorithms which could be sued to match sentences?

Let's say we have a list of 50 sentences and we have an input sentence. How can i choose the closest sentence to the input sentence from the list? I have tried many methods/algorithms such as averaging word2vec vector representations of each token…
jasemi
  • 67
  • 7
0
votes
1 answer

semantics of verb-attached preposition phrases Prolog

I am trying to implement a verb-attached preposition phrases in prolog. So I've got: VP -> Vbar Vbar -> v, PP PP -> Pbar Pbar -> prep,np the problem is when I try to phrase something like "Mary saw Tom with a telescope". There would be an…
0
votes
1 answer

MonetDB is timestamp guaranteed to be unique

The temporal definition in MonetDB says that: "TIMESTAMP [ '(' posint ')' ] date concatenated with unique time, precision" That this mean that if two rows are created with a DEFAULT TIMESTAMP that these timestamps are guaranteed to be unique, even…
kenwri
  • 1
0
votes
2 answers

Unrecognized dependency in gradle build for slib-dist-0.9-all-jar

I want to use "slib-dist-0.9-all-jar" for my android project. I downloaded the jar from semantics measure library and copied it in my android project/apps/libs folder. and in gradle , added a line as "compile files('libs/slib-dist-0.9-all-jar')" but…
Jana
  • 189
  • 1
  • 3
  • 13
0
votes
1 answer

Fetch the data semantically from a hash table

I am going to make a Hash Table using C# and store a number of Html tags in each sell of this hash table. Then, I want to write an algorithm to read the code from the Hash table and demonstrate them semantically and correctly in the output. For…
mazName
  • 145
  • 9
0
votes
0 answers

Implementing semantic search using mongodb

I wrote a client-server group chat with MQTT and the database is MongoDB. I want to add semantic search, for example if anyone wants to know what messages are about the topic "flower" and there is a message "I love roses" it will find it. What is…
Ben Kalifa
  • 17
  • 6
0
votes
1 answer

GloVe methods for semantic clustering

After implementing GloVe (global vector) method to convert words to word vectors, how should one proceed ahead for semantic clustering? Thanks in advance!!
Raunak Lohiya
  • 21
  • 1
  • 7
0
votes
0 answers

Input tag, self closing tag?

I reviewed W3school example on the form and the input types, here is the example:
First name:

Last name:
Now I see this a lot(even here on…
AndrewMk
  • 623
  • 2
  • 6
  • 16
0
votes
0 answers

What tag can I use for a font-logo?

I have a logo which is just font and the name. Now I was wondering what kind of tag would be best, semantic. Cause I think a simple wouldn't let Google see it as a logo. And considering it's a logo, I think it's quite important for a…
C.Ronaldo
  • 593
  • 1
  • 6
  • 25
0
votes
1 answer

Quantifiers in lambda calculus

I'm learning lambda calculus, however I'm quite confused about the quantifiers in lambda calculus. As far as I know, quantifiers such as "∃" are concepts of first order logic (FOL), which are not needed by lambda calculus. Moreover, I didn't find…
Zhao
  • 2,043
  • 1
  • 17
  • 36
0
votes
1 answer

value_if - the converse of value_or for std::optional?

std::optional has the method template< class U > constexpr T value_or( U&& default_value ) const&; and yet, it doesn't have the constructor template< class U > optional(bool condition, const U& value ); which seeps like the opposite thing.…
einpoklum
  • 118,144
  • 57
  • 340
  • 684