In machine learning, semantic analysis of a corpus is the task of building structures that approximate concepts from a large set of documents.
Questions tagged [semantic-analysis]
137 questions
3
votes
1 answer
Finding semantic similarity and relations between different words
I am working on a project which involves computation of relatedness between different concepts.
Examples:
"landing" - related to: "to arrive; to come" and "land",
"telephone" - related to: "electronic; electricity" and "to talk; to…

user655136
- 161
- 2
- 10
3
votes
2 answers
Training set - proportion of pos / neg / neutral sentences
I am hand tagging twitter messages as Positive, Negative, Neutral. I am try to appreciate is there some logic one can use to identify of the training set what proportion of message should be positive / negative and neutral ?
So for e.g. if I am…

Rahul Dighe
- 722
- 1
- 7
- 17
3
votes
1 answer
LR-attributed parser Technique
I would like to know what LR-attributed parsers can do and how it is implemented.
yacc generated parsers allow inherited attributes when the source of the attribute is a sibling that is located to the left using the $0, $-1, etc. specification…

user764754
- 3,865
- 2
- 39
- 55
3
votes
2 answers
semantic analysis opensource tool - suggestions needed
I've a book review site, where readers can write reviews about books, other users can post comments. I wanted to know following things automatically whenever new review publish or new comment published.
(1) whether book review is positive or not?…

dr_sunshine
- 91
- 2
- 8
3
votes
1 answer
The smallest number of containers that contain all given elements
Suppose C refers to a set of containers {c1,c2,c3....cn}, where each of these containers contains a finite set of integers {i1,i2,i3...im}. Further, suppose that it is possible for an integer to exist in more than one container. Given a finite set…

Traveling Salesman
- 2,209
- 11
- 46
- 83
3
votes
1 answer
semantic type checking analysis in bison
I've been trying to find examples everywhere but it's been in vain.
I am trying to write a basic Ruby interpreter. For this, I wrote a flex lexical file, containing token recognition sentences, and a grammar file.
I wish for my grammar to contain…

SoManyGoblins
- 5,605
- 8
- 45
- 65
3
votes
1 answer
How to tell if two web contents are similar?
Given 2 html sources, I want to first extract the main content out of it using something like this. Are there any other better libraries - I am specifically looking for Python/Javascript ones?
Once I have the two extracted contents, I want to return…

pathikrit
- 32,469
- 37
- 142
- 221
2
votes
3 answers
AST trees semantic analyzer
The last nodes of an AST tree must have the information of the traduction of the semantic analyzer or the non-last nodes also can have this information?

pablomarti
- 2,087
- 2
- 22
- 35
2
votes
3 answers
Checking linguistic validity
Are there any [open source] code libraries for checking a sentence's linguistic validity according to syntax and semantics?

NodeG
- 21
- 1
2
votes
1 answer
The construction of semantic analyser
In the process of learning about compilers a wrote a simple tokenizer and parser (recursive descent). The parser constructs an abstract syntax tree. Now I am going with semantic analysis. However I have a few questions about a construction of…

Ady Shlock
- 23
- 3
2
votes
2 answers
Symbol table and semantic analysis for compiler
I'm working on building a compiler (without using any tools -like lex or bison) for a C like language (a simpler one) and have gotten past the lexer and parser.
I am not sure the way I am doing the parser is correct or not. Because, so far to do the…

beanyblue
- 171
- 3
- 7
2
votes
2 answers
Multilanguage OpenCalais like system?
I was very impressed with the OpenCalais system. It's (is/has) a web service where you send your text, they analyze it, then you are provided with a series of categorized (RDF enabled) tags that your document belongs to.
But - at the moment -…

Claudio
- 5,740
- 5
- 33
- 40
2
votes
1 answer
How do I translate LR(1) Parse into a Abstract syntax tree?
I have coded a table driven LR(1) parser and it is working very well however I am having a bit of a disconnect on the stage of turing a parse into a syntax tree/abstract syntax tree. This is a project that I m very passionate about but I have really…

Devin Wall
- 180
- 1
- 16
2
votes
1 answer
Syntax directed translation
I am trying to write the semantic rules for syntax directed translation of an expression following a given cfg into 3 code representation.
Consider,
Here, Why is || operator required ? gen() is the only thing needed it seems as it does what is…

Novak007
- 426
- 1
- 9
- 23
2
votes
0 answers
Translation from plain English to a set of instruction
I have a set of instructions, for example Linux's "ls", "grep", "cd", etc.
I want the user to be able to execute this commands without knowing the exact names and parameters but rather with something similar to their meaning in plain English, e.g.…

s-rusev
- 150
- 1
- 11