Questions tagged [semantic-analysis]

In machine learning, semantic analysis of a corpus is the task of building structures that approximate concepts from a large set of documents.

137 questions
0
votes
0 answers

syntax-directed definition to determine the type of expression

Consider the grammar: E→E+T/T T→num.num/num The grammar generates the expression of + to integer or real. When two integers are added, the resulting type is integer otherwise, it is real. Give a syntax-directed definition to determine the type of…
0
votes
1 answer

Which is the most efficient framework for Semantic Analysis in Machine Learning?

My product is made in Python and I need Semantic Analysis for classification of sentences into questions, complaints, etc. Which is the best framework for the same?
0
votes
1 answer

Questions about Syntax Directed Translation and Bison Parser

I am confused between Syntax Directed Translation and parser written using Bison. (The main confusion is whether parser written in Bison already consists of syntax directed translator.)I rephrase the above sentence in parenthesis as (How does Bison…
karma
  • 137
  • 3
  • 18
0
votes
2 answers

How to implement random sampling of a set of vectors in java?

I have a huge number of context vectors and I want to find the average cosine similarity of them. However, it's not efficient to calculate it through the whole set. That's why, I want to take a random sample from this set. The problem is that each…
bc_16
  • 3
  • 3
0
votes
2 answers

Is semantic video/image search available anywhere other than google photo?

I am looking for a search engine, or only the technology, that can comprehend natural language semantics (to some level, of course) in order to find correspond images. The other way around can work as well. For example: a software that can…
0
votes
2 answers

Semantria Integration with DB

I need to know, has someone integrated any DB to Semantria, and get output to any DB or excel or text file ? I have tried to explore semantria via excel and API , but integration does not work perfectly.
0
votes
1 answer

Harmonizing terms in two different RDF ontologies

At first this problem seems trivial: given two ontologies, which term in ontology A best refers to a term in ontology B. But its simplicity is deceptive: this problem is extremely hard and has currently lead to thousands of academic publications,…
JoelKuiper
  • 4,362
  • 2
  • 22
  • 33
0
votes
2 answers

Eclipse compilation errors when enabling semantic analysis on SPL classes

I have a PHP project which I develop with Eclipse. Project is hosted on GitHub: https://github.com/elgervb/compact/. When I enable Semantic Analysis (Window -> Preferences -> PHP -> Semantic Analysis), then I get all kinds of compilation errors…
Elger van Boxtel
  • 1,030
  • 12
  • 23
0
votes
0 answers

Error 948 on sql server 2008 when trying to attach semanticsDB

When i'm trying to attach semanticsDB, it says that the database semanticsdb is version 693 but mine is 661. Is there a way to run the semantic search (https://msdn.microsoft.com/en-us/library/gg492075.aspx) on a sql server 2008? Is there anything…
Lorenzo
  • 673
  • 1
  • 11
  • 25
0
votes
2 answers

fatal error in Bison : start symbole can't derive any sentence

%token ENTIER REEL VECTOR INTEGER FLOAT CONST READ DISPLAY IF ELSE FOR END AND OR NOT G L GE LE EQ DI ACOUV AT %token ACFER AFFEC PLUS MOIN MUL DIV CROOUV CROFER PAROUV PARFER SEP VERG PVERG DEUXPT ESPACE ID CAR CHCAR STRING %start S %% S: ID…
0
votes
1 answer

Text Feature Representation As Vectors for SVM

I am learning the Semantic Role Labeling (SRL) task. I have read a lot, and now I come to a problem for how to represent the text features as vectors. For example, for the sentence: We like StackOverflow very much given the predicate verb: like, a…
0
votes
1 answer

Semantic Role Labeling System Using SVM

Can anyone please tell me a working SRL(Semantic Role Labeling) based on SVM classifier? Python or Java preferred. My intention is to learn how the features in the sentences are represented as vectors, given a predicate verb. Many thanks!
leslie
  • 11,858
  • 7
  • 23
  • 22
0
votes
1 answer

Does Freebase support indirect or predicate objects?

How are indirect objects represented in Freebase? I know google can give the answer to the question: Who did obama give the medal of freedom to? Washington (CNN) – President Barack Obama awarded the Presidential Medal of Freedom – the nation's…
John
  • 633
  • 6
  • 10
0
votes
2 answers

Unit-testing the semantic analysis visitors of an ANTLR-based tree

I'm developing a small compiler. In past compilers I've worked with I just ignored unit-testing, doing all my testing via system-tests. It worked reasonably well, but I felt it always to be far from perfect. This time I'm tempted to try to make…
0
votes
2 answers

Optimizing search for keywords in two strings

I have two Strings that I am checking for specific common words in both of them. I already have the semantic scores; irrelevant in this case as these words are technical abbreviations and have special emphasis. The more set of common words they…