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
4
votes
3 answers

Audio/Video content hinting

What kind of semantic information can be extracted from such media? Anything would be fine, be it differentiation between music and spoken text, detection of distinct sounds (like gunshots or birds or cars), detecting indoor/outdoor takes or…
soulmerge
  • 73,842
  • 19
  • 118
  • 155
4
votes
1 answer

how to determine the accuracy of a semantic search engine?

my cousin has created a semantic search engine and he claims that his search engine is the most accurate. I've seen many semantic search engine and they all look the same to me, because they are not designed to give you results based on the keyword…
Lynob
  • 5,059
  • 15
  • 64
  • 114
4
votes
1 answer

Compiler: is implicit type conversion considered in parsing or semantic analysis?

In my understanding implicit conversion is done in semantic analysis, but clang AST command clang -Xclang -ast-dump -fsyntax-only file.cpp produces type conversion information in AST, like these two: ... `- ImplicitCastExpr 0x7fdc27050558
4
votes
1 answer

RDF and OWL workflow question

I have been looking at and playing with OWL through Protege and I would like to know if I understand the "workflow" and idea of it correctly (for building up a database from scratch: Generate an OWL ontology for your data using Protege or…
tjb
  • 11,480
  • 9
  • 70
  • 91
4
votes
1 answer

Does the Stanford NLP Parser have methods for semantic role labelling?

I'm trying to find the semantic labels of english sentences. I am using the Stanford NLP parser. Does it have methods for this? I was going through the documentation but the closest thing I could find…
noob11
  • 65
  • 3
4
votes
1 answer

How do I group companies having different names but are essentially the same semantically?

I am doing competitor analysis using Open Government Data from UK public sector. But there are some anomalies in my results. When I am grouping the contracts by the company names, there are a lot of issues like companies are misspelt or they vary in…
4
votes
2 answers

Looking for a good semantic parser for the Russian language

Does anyone know of a semantic parser for the Russian language? I've attempted to configure the link-parser available from link-grammar site but to no avail. I'm hoping for a system that can run on the Mac and generate either a prolog or lisp-like…
4
votes
3 answers

The distance between the meaning of two sentences

I am looking for a way to measure the semantic distance between two sentences. Suppose we have the following sentences: (S1) The beautiful cherry blossoms in Japan. (S2) The beautiful Japan. S2 is created from S1 by eliminating the words "cherry",…
Riadh Belkebir
  • 797
  • 1
  • 12
  • 34
4
votes
1 answer

Is the semantic analysis step in Clang an essential part of the compiler?

I'm trying to understand the ins and outs of Clang, and I'm not really sure about the "Sema" library. Is the semantic analysis in the path the compiler takes to compile a program? Or is it only used by the programmer to analyze his/her code? From…
user377628
3
votes
1 answer

ANTLR - check semantics/meaning of the values

I have a simple grammar which allows the user to define some objects with attributes. For example: carpark : my carpark lots: 100 car: BMW color: red wheels: 4 motocycle age: 4 color: red carpark : my second…
Alexander
  • 7,178
  • 8
  • 45
  • 75
3
votes
1 answer

What are the jobs of a semantic analyser in a dynamic language?

Pardon my english. I am recently trying to understand the different parts of a compiler and to implement them with a play language. I am wondering what the jobs of a semantic analyzer is, because many things that I read that a semantic analyzer is…
3
votes
1 answer

Efficient keyword detection / extraction. Predefined set of keywords

How can I efficiently extract keywords with relevance from a string? My list of keywords are predefined. For example, in an article about Michelle Obama that also mentions Barack Obama, I want to extract Michelle Obama and Barack Obama with the…
Joyce Babu
  • 19,602
  • 13
  • 62
  • 97
3
votes
1 answer

What are the tools for semantic analysis phase of compiler construction?

Compiler construction can be divided into several phases such as Lexical analysis, Syntax analysis, Semantic analysis and etc. In lexical analysis, there are tools such as Lex, Flex and etc. In syntax analysis, there are tools such as Yacc, Bison,…
3
votes
2 answers

Associativity and Precedence of Expressions when Generating C / C++ Code?

I have written a basic compiler which generates an AST, correctly taking account of the operator precedence in expressions. However, when performing code generation to produce C++ code, I'm unsure of how to handle the use of brackets. For this…
3
votes
1 answer

Grammar vs. Semantic analysis

I am wondering where is the borderline between grammar specification and semantic analysis. What is better: to use a detailed grammar description or leave the details for semantic phase? For example: imagine an OO-language like C# with enum type,…
Marc Andreson
  • 3,405
  • 5
  • 35
  • 51
1
2
3
9 10