Questions tagged [lexicon]
69 questions
0
votes
2 answers
Append text file to lexicon in Rascal
Is it possible to append terminals retrieved from a text file to a lexicon in Rascal? This would happen at run time, and I see no obvious way to achieve this. I would rather keep the data separate from the Rascal project. For example, if I had read…

rien333
- 1,154
- 13
- 15
0
votes
2 answers
Is there a downloadable corpus (dictionary/ lexicon) for informal, playful words such as 'gonna', 'LOL', 'wanna' in English?
Please suggest me a downloadable English corpus that contains informal, playful words such as 'gonna', 'LOL' and 'wanna'
user5232014
0
votes
1 answer
modx : changing label text language in MIGX
I am new to modx. I am using MIGX to create some CMP. I gave the menu tab name as migx.hello and in core->compontents->migx->lexicon->en->default.inc.php I added a label
$_lang['migx.hello'] = 'Hello World';
But the when I load the page page,…

noob
- 641
- 1
- 6
- 21
0
votes
1 answer
merge qml tags file, with lex file for presentation?
I have no knowledge to qml, qt, or c++ for that part.
but my problem is that I have this .lex file, which is really only xml, and some files that end With .qml, like this one frontpagetemplate.qml.
The format in here is unknown too me.

Terje Solem
- 816
- 1
- 10
- 25
0
votes
2 answers
get the number of character vector elements in a corpus
my goal is to use R for lexicon based sentiment analysis!
i have two character vectors. one with positive words and one with negative words.
e.g.
pos <- c("good", "accomplished", "won", "happy")
neg <- c("bad", "loss", "damaged", "sued",…

cptn
- 693
- 2
- 8
- 28
0
votes
1 answer
Microsoft Speech Recognition
I am trying to write an application by using Microsoft in-process speech recognition engine. My application uses sometimes dictation grammar and sometimes SRGS. Obviously, I do not have any problem when I use SRGS.
Even though I use one of the best…

alan turing
- 463
- 4
- 20
-1
votes
1 answer
AFINN sentiment analysis in Python
I want to understand the afinn code
from afinn import Afinn
from nltk.corpus import gutenberg
import textwrap
afinn = Afinn()
sentences = (" ".join(wordlist) for wordlist in gutenberg.sents('austen-sense.txt'))
scored_sentences =…

Rafsan Sadman
- 195
- 1
- 1
- 9
-1
votes
1 answer
mapping custom dictionary to tweet dataframe
I build my custom dictionary and now i want to map it to my tweet dataframe. How can i do that?
so basically, I have this 3 dictionary. Positive, negative and neutral words. I have twitter dataset and I want to map my dictionary to that dataset to…

aiman khalid
- 147
- 10
-1
votes
1 answer
how to add uri of lexicon file in xml
I am writing code for custom grammar for that I created a lexicon file which I am using in XML grammar file. I want to add the lexicon with my software to the end user as an embedded resources so how can i reference it's uri in XML?
my XML codes…

user3289174
- 37
- 5