Questions tagged [lexicon]

69 questions
0
votes
0 answers

how to show a long long result in python?

i want to print a vector (148K length) in python (Jupyter). but only 8-10 characters of it showed. like this: [0 0 0 ... 0 0 0] i want to see the result fully. import re import nltk import numpy import pandas from nltk.corpus import stopwords from…
Mamad_Knight
  • 31
  • 1
  • 6
0
votes
1 answer

How to implement Clay in Liferay 7.2

As much as i try to find an explicit manual over the Liferay 7.2 documentation im not able to get a concrete and "non cryptic" way of implement clay in Liferay 7.2. Just looking forward for some feedback about just how to implement Clay on a Liferay…
Lowtrux
  • 156
  • 2
  • 12
  • 41
0
votes
0 answers

Getting accented characters recognized when building a custom stopwords lexicon in R

I'm building a custom stopwords lexicon in R to remove accented characters. I thought that using the unicode reference would enable this, but it doesn't work and I'm having trouble thinking off different solutions, especially as some of these could…
0
votes
3 answers

I am trying to create a lexicon using an input file in C++

I have a file.txt I want to create a function in C++ that can read the words in that file, and print each word and how many times they occur into a file2.txt I am doing some research I know i can use the parser and writer, and also the map class,…
Technupe
  • 4,831
  • 14
  • 34
  • 37
0
votes
2 answers

Offline English Lexicon

I would like to download an English lexicon (dictionary) - preferably a free one. I have searched online and all I can find is software. I am looking to experiment with making software to create and solve puzzles. Does anyone know where I can find…
Mark Di Val
  • 81
  • 1
  • 7
0
votes
1 answer

Lexicion DNS provider authentication failure for GANDI

For those who use lexicon for dns manipulation I'm trying to use lexicon dns api with gandi as dns provider, and have authentication error. In fact I'm trying to generate letsencrypt certificate on a non publicly accessible vagrant box, using an…
nixmind
  • 2,060
  • 6
  • 32
  • 54
0
votes
1 answer

(Nosetest) AssertionError: None != inlearningpythonthehardway ex48 lexicon scan

Please refer to LearningPythonTheHardWay exercise48 for more details on the purpose of these code. I am still new, I know there are a lot to be improved or better ways to do them. The main issue I have encounter here is that the result from the…
Disrudog
  • 59
  • 8
0
votes
1 answer

Liferay Spring MVC Portlet Lexicon 1.0 Toggles

I am trying to leverage the Lexicon library toggles within a Liferay Spring MVC Portlet. I am using the Spring command for their form tag. Which get my POJO class boolean property. I set this to true and "bind" the value to the input value tag but…
esanfio
  • 33
  • 1
  • 8
0
votes
1 answer

I have setup the all basic plugins and driver when I run the Feature file and getting ERROR

I'm running this from Itellij IDEA. I have the necessary Plugins and drivers, but Unable to figure out why getting this error. Please find code in the image Exception in thread "main" cucumber.runtime.CucumberException: Error parsing feature file…
0
votes
0 answers

Strange lemmatization result in r, textstem package

I would like to get lemma "dive" from all possible forms of the word using textstem package in R. But when I used textstem package in r, the basic form becomes a very strange result. library(textstem) words<-c("dived", "diving",…
Kenpy
  • 1
0
votes
2 answers

Sentiment analysis (AFINN) in R

I am trying to the sentiment of a dataset of Tweets using the AFINN dictionary (get_sentiments("afinn"). A sample of the dataset is provided below: A tibble: 10 x 2 Date TweetText …
Tim
  • 1
  • 1
  • 3
0
votes
1 answer

With text analysis inner_join removes more than a thousand words in R

I'm analysing a column with words in my most_used_words dataframe. With 2180 words. most_used_words word times_used 1 people 70 2 news 69 3 fake 68 4 country 54 5 …
Tdebeus
  • 1,519
  • 5
  • 21
  • 43
0
votes
3 answers

String match with R: Finding the best possible match

I have two vectors of words. Corpus<- c('animalada', 'fe', 'fernandez', 'ladrillo') Lexicon<- c('animal', 'animalada', 'fe', 'fernandez', 'ladr', 'ladrillo') I need to make the best possible match between the Lexicon and Corpus. I tried many…
pch919
  • 19
  • 3
0
votes
1 answer

How can I apply a lexicon to a list of sentences?

I have a lexicon dictionary in this shape 6 ابن جزمه 1 7 ابو جهل -1 8 اتق الله -1 9 اتقو الله 1 I want to create a new list containing the score of each sentence based on the lexicon adding the score of each word and if no words…
Muhammed Eltabakh
  • 375
  • 1
  • 10
  • 24
0
votes
2 answers

Marklogic lexicons: understanding cts:element-values

I am trying to understand the usage of cts:element-values($element-names as xs:QName*,[$start as xs:anyAtomicType?]) I was under the impression that the above function returns values from the specified element value lexicon, starting with…
Yash
  • 510
  • 2
  • 6
  • 14