Risposto
How to use word2vec with the documents
doc2sequence is actually the tool to use to run word2vec on a document, plus padding the output to a common length if desired – ...

quasi 6 anni fa | 0

Risposto
partial word search text analytics toolbox
You could compute those words and then feed them into context: documents = tokenizedDocument(["A long winding road"; "The winds...

quasi 6 anni fa | 0

Risposto
Text Analytics Toolbox seems making lots of mistakes on recognizing language and PartOfSpeech
Language detection also works very much better on longer text. It is not trying to do a dictionary lookup (and several of your w...

quasi 6 anni fa | 0

Risposto
How to append abbreviations in Text Analytics Toolkit
You cannot extend the return value of abbreviations. But you can pass an extended table to addSentenceDetails in the "Abbreviati...

quasi 6 anni fa | 0

Risposto
How was the exampleWordEmbedding example in the text analytics toolbox trained, in detail?
The embedding is rather low-dimensional (50 dimensions) and has a small vocabulary (with 9999 words). It is unlikely to be “high...

quasi 6 anni fa | 0

Risposto
Script doesn't seem to be execute properly
In your code, you spend a lot of time computing the same prime over and over again. Do not start the search at a+1 for the secon...

circa 7 anni fa | 3

Risposto
Question on running fitlda
Gibbs sampling involves stochastic elements (i.e., a pseudorandom number generator), meaning reproducing exactly the results of ...

circa 7 anni fa | 1

| accettato

Risposto
Changing varibles in a Matrix to Values
Assigning values to MATLAB variables does not affect symbolic expressions that have variables of the same name inside. Use the s...

circa 7 anni fa | 0

Risposto
multivariable dsolve. Can it be solved for multivariables?
You are trying to solve a PDE (partial differential equation), but dsolve only handles ODEs (ordinary differential equations), w...

circa 7 anni fa | 1

Risposto
How to find mutual words in title field?
If I read the question correctly, you are looking for a co-occurence matrix. You can get those from a bag-of-Words model by a ma...

circa 7 anni fa | 0

Risposto
computing frequency*rank
Assuming we have t = topkwords(bag,100); You can get frequency*rank as: t.FreqTimesRank = (1:size(t,1)).*t.Count; And you ca...

circa 7 anni fa | 0

| accettato

Risposto
Does the text analytics toolbox allow users to test out-of-sample perplexity with LDA?
The second output of logp gives you the perplexity. txt = extractFileText('sonnets.txt'); sonnets = split(txt,[newline newline...

circa 7 anni fa | 0

| accettato

Risposto
Code for text mining through Bayes Classifier?
MathWorks has examples like this one using classifiers from the Statistics and Machine Learning Toolbox to work on text data. Th...

circa 7 anni fa | 0

Risposto
how to create a function that counts all words in a document?
Check out the bagOfWords class in Text Analytics Toolbox. It solves exactly this problem. (You may want to have some preprocess...

circa 7 anni fa | 0

Risposto
how to find most common words in text by matlab
Finding the most common words is easy with Text Analytics Toolbox: >> sonnets = extractFileText("sonnets.txt"); >> sonnets = e...

circa 7 anni fa | 2

| accettato

Risposto
How to fucntions like plot f(x,y) = 2 when 0<=x<=1 and 0<=y<=x
If the region to plot over were a simple 0 ≤ x ≤ 1 and 0 ≤ y ≤ 1, you could use |fimplicit(f(x,y) - 2, [0 1 0 1])|. I don't thin...

quasi 8 anni fa | 0

| accettato

Risposto
Int vs Integral; Int giving wrong results
As the documentation says down in the “Tips” section, |int(f,1,S)| assumes that |1 ≤ S|. In that region, your input function is ...

quasi 8 anni fa | 1

Risposto
measuring term frequency of words
See <https://www.mathworks.com/help/textanalytics/ref/bagofwords.html the |bagOfWords| documentation>. E.g., you can use the |tf...

circa 8 anni fa | 0

| accettato

Risolto


5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...

circa 8 anni fa

Risolto


Sums of Distinct Powers
You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...

circa 8 anni fa

Risolto


"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...

circa 8 anni fa

Risolto


Acid and water
&#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; Assume that there is a 100 liter tank. It is initially fi...

circa 8 anni fa

Risolto


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

circa 8 anni fa

Risolto


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

circa 8 anni fa

Risposto
Is it possible to convert symfun to sym?
Symfun is a subclass of sym, so, yes, a symfun is already a sym. To get only the body of the function, use |formula| or call ...

circa 8 anni fa | 6

| accettato

Risposto
Is there any video which shows the entire process of opinion mining on actual data?
In its simplest form, opinion mining can be viewed as a binary classification problem. There is an example at <https://www.mathw...

circa 8 anni fa | 0

| accettato

Risposto
How can I remove websites' links from a text?
The <https://www.mathworks.com/help/textanalytics/ref/eraseurls.html eraseURLs> functions might help. Which does a little more w...

circa 8 anni fa | 0

Risposto
Text Extraction and retrieval
It's probably easiest to split the text and then check the number of splits created to count, using string functions: str =...

circa 8 anni fa | 0

Risposto
How to Read PDF file in Matlab?
Just for the record, Text Analytics Toolbox (new in R2017b) includes a function |extractFileText| that will extract text data fr...

circa 8 anni fa | 4

| accettato

Risposto
Basic question about Text Analysis/Text Analytics/Text Mining using Matlab
As a quick update, the new <https://www.mathworks.com/products/text-analytics.html Text Analytics Toolbox> debuted in R2017b.

oltre 8 anni fa | 0

Carica altro