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
1
vote
1 answer
Semantic analysis for C language
I've been searching for a semantic analyzer for C language lately, but couldn't find any. I've found flex and yacc C language files to generate a parser. I've managed to modify them and generate a parser. But now i need to perform next step. I'll…

roman
- 5,100
- 14
- 44
- 77
0
votes
1 answer
Method/Tool for Extracting Keywords from List of Sentences
I have a large list of sentences and would like to tag each of them with their own unique keywords, to help me identify which sentences are similar for grouping purposes.
As an example:
The dog ran fast. - tagged as: dog
The cat is sleeping -…

Steven
- 1
- 1
0
votes
0 answers
Is there any technology that could automatically generate the semantic level features needed for programming language?
In LSP Server, To provide semantic-level language support capabilities, additional code would need to be written manually to implement them.Is there any technology that could automatically generate the semantic level features needed for programming…

ezezez
- 1
0
votes
0 answers
unsupported class file major version 63
I am trying to run my flutter project in VScode. But this error is * shown. Any ideas on how to resolve this issue?
Java version is 19.0.1
gradle version is 7.1.2
Flutter 3.3.9
Tools
• Dart 2.18.5
• DevTools 2.15.0
FAILURE: Build failed with an…

Nishwa Nishwa
- 1
- 1
0
votes
0 answers
How to use BERT for semantic similarity tasks with long texts?
I'm trying to analyze the semantic relationship between a sentence and an article text using BERT (in order to understand if they contradict, reaffirm ou doesn't have any significant relationship with each other).
However, because of BERT's max…

Neves
- 3
- 3
0
votes
0 answers
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63 IntelliJ Idea Error
Just started to learn Kotlin on IntelliJ Idea, immediately hit with this bug
Could not open init generic class cache for initialization script 'C:\Users\MrHi\AppData\Local\Temp\wrapper_init22.gradle'…

Random Coder
- 1
- 1
0
votes
0 answers
i want to intialize number of variables according to number of cases
i want to intialize number of variables according to number of cases in my switch case as i want it to be dynamic any number of cases to work not only 2
statment=[]
body=[]
switch=[]
cc=[]
case1=[]
case2=[]
cases=[]
for x in range(0,len(cc)):
…

omar ezzat
- 11
- 1
0
votes
0 answers
Issue regarding the use of Ontology in python code
I've worked on a project related to the NLP. I built an ontology for that but I don't know to exploit it in my code.
Would you mind giving me some tips or indicates regarding the use/extract meaningful information from the ontology inside the python…

Japy
- 31
- 6
0
votes
1 answer
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61 in intellija idea
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 61

Mukesh Kumar Sah
- 11
- 1
- 1
0
votes
0 answers
Using BERT model for parsing and doing bigram or multi-gram
The task I want to do is finding the sentiment of some phrases in a group of sentences (not of all the sentences). For example, I have these sentences:
Ended up deciding that a pebble was best. Less charging, more simplistic ui, buttons seem easier…

Shahab Kazemi
- 3
- 1
0
votes
1 answer
What kind of data structure should I provide to handle scopes in my compiler?
I am developing a "toy" compiler with flex and bisonc++ in ubuntu, which compile a C-like input language into optimized C++.
In the input language contains a main functions (must have) and can have optionals functions outside the main, for…

Business Man
- 81
- 1
- 6
0
votes
1 answer
Bison if statements - setting symbol table prior to parsing block statements
In my language I have the ability to declare a variable in the current symbol table scope and also create a if statement which will generate a new symbol table scope for its statements.
stmts : stmt { $$ = new Block(); $$->addStatement($1); }
…

Tom
- 1,235
- 9
- 22
0
votes
1 answer
Simple semantic analyser for multiple and redeclaration in yacc gives parsing error
Here is my code for a simple semantic analyser that only checks for re-declarations and multiple declarations.
This is the lex file
{
#include "y.tab.h"
%}
digits [0-9]*
letters [a-zA-Z]
%%
"for" return FOR;
"if" return IF;
"else" return…

Hamsa
- 476
- 5
- 23
0
votes
1 answer
Can an attribute be synthesized and inherited at the same time?
I have read that synthesized and inherited attributes are disjoint sets. However I have difficulty deducing that from the definitions, which points to my lack of understanding of these definitions.
Assume that I have a production S -> E + E. If I…

TheGrayed
- 103
- 3
0
votes
1 answer
extract structured data from text
Is there any available tool/library (preferably established/solid commercial product or open source) that can extract structured data from plain text? Usually the plain text contains boolean or math operands like (AND, OR, BETWEEN, etc.).
I like AWS…

Dan L.
- 1,717
- 1
- 21
- 41