Questions tagged [natural-language]

Questions about natural language input or text processing.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Error Code 414 while trying to do a substitution

I was trying to see what would happen if I let d=q in the following equation: ...
3
votes
2answers
86 views

How do I import data formatted in C or Fortran into Wolfram Language?

I want to import some data that has been formatted using C language. I am not sure if there is a way to read in data by specifying column widths in WL. The data has been formatted using ...
4
votes
1answer
123 views

Named entity recognition

How can one process natural language (English) to extract named entities (aka NER)? Or at least, entities which can be mapped to a Mathematica Entity. Note that trying to map entities via simple ...
4
votes
0answers
96 views

How to import unsupported language dictionaries?

Mathematica seems to only know about these 27 languages: However, I need access to dictionaries for other languages, namely Romanian and Japanese. Now, WordList ...
3
votes
2answers
262 views

Answer multiple choice questions

FindTextualAnswer isn't working for me here: ...
0
votes
0answers
29 views

Error using DictionaryWordQ[] on Raspberry Pi (Raspbian)

When I try to use DictionaryWordQ["word"] I get a list of errors: ...
1
vote
0answers
41 views

Extracting Parts of Speech

I am looking to parse the ConstituentsTree from TextStructure. Someone already asked how to get the proper nouns out of a text here: Extract names from a document I am looking for a more general ...
4
votes
1answer
258 views

Delete all French stopwords [duplicate]

I have a list of french stopwords: ...
7
votes
1answer
446 views

A strange verb from Mathematica's WordList

The first word returned by WordList["Verb"] is "aah", even though I think it actually an interjection, I still wonder whether ...
1
vote
1answer
65 views

Plot with Wolfram Alpha Scientific Data

Now that Mathematica has already embedded Wolfram Alpha, so I'd like to plot a graph: "Air Density" - "Elevation". I know that yields But I can't do that 10000 ...
5
votes
2answers
197 views

Split up word pairs in string based on semantic textual analysis

I have several hundred sentence-strings with joined words. They were extracted from a text (and are in sequence). Here is an example of one: ...
9
votes
3answers
470 views

Number of capital letters

I am interested in counting a number of uppercase letters in the text. I do it in the following manner. ...
2
votes
0answers
41 views

Confusing behavior for GrammarRules and GrammarApply

I have been experimenting with GrammarRules in an attempt to create a parser for text downloaded from the web. I have been using Interpreter to help understand the behavior of GrammarApply. Here is a ...
3
votes
0answers
103 views

Can someone help me to understand sequence-to-sequence transformation using (Wolfram-specific) recurrent neural nets?

I've been learning about recurrent neural networks lately and I think I'm starting to get the basic idea of how they work. I'm particularly interested in the sequence transformation capabilities of ...
6
votes
2answers
170 views

Average length (in words) of paragraphs in document

I try to calculate the average length (in words) of paragraphs in a document. The data look like: ...
6
votes
2answers
265 views

Bigrams and TF-IDF calculation

I want to create a bag of bigrams in a set of documents and calculate the TF-IDF vector of each document. To calculate the bigram of the text I used the following code: The small example of the data (...
1
vote
1answer
93 views

Specify NetEncode's tokenization model?

NetEncoder[{"Tokens"}] uses WordData indices to tokenize an input string. But is there a way to tell ...
5
votes
1answer
160 views

Counting a part of the speech in a sentence

I want to count a number of nouns in a sentence. For that, I'm using TextStructere but I don't know how to get tags of each word.
2
votes
2answers
100 views

Searching words with the five vowels

after looking for a long time manually words in Spanish that have the five vowels in any order, for example Republicano, murcielago, superiora, etc; I'm bored and without success. I thought that ...
10
votes
2answers
277 views

Unscrambling jumbled anagrams

I know that we can easily check to see if a string contains any anagrams by the following snippet: ...
4
votes
1answer
129 views

Manually plotting the 'sheep curve'

There are a number of 'popular' parametric plots that draw recognisable pictures - of course I must learn more about the 'sheep curve'. It's straightforward to 'find' them using a natural language ...
5
votes
1answer
173 views

Languages/scripts supported by Alphabet[]

How can I get the full list of languages/scripts/alphabets supported by the Alphabet function? Note that while the auto-completion suggests many possibilities, it ...
2
votes
0answers
191 views

Sentimental Analysis Classification Problem [closed]

I am keen on working with Mathematica for my sentimental analysis project. I have just started and been working around with some examples. During which I found: ...
2
votes
0answers
57 views

Another question on Mma data sources/syntax

Let's say I want to have the vapor pressure of mercury, as a function of temperature. I know that this information is available, for any specific temperature, from Wolfram Alpha, and I can also get ...
17
votes
1answer
426 views

Programming of a natural language interface

I've just started using the Mathematica natural language interface and found it very interesting. After doing some research, I found some documentation on the "Programmable Linguistic Interface": ...
1
vote
0answers
118 views

Why do I get different results for the same input specified using natural language phrasing? [closed]

One of the comments to Stephen Wolfram's blog post on Ada Lovelace, mentioned that WolframAlpha (and verified in Mathematica as well) provided slightly different results for the question of Ada's age ...
1
vote
0answers
86 views

What's in a Name? [closed]

StringReplacePart["StringReplacePart","At",{14,17}] ... Surely you can't be serious? ... Naming Matters: I think what and how we call things is underestimated ...
1
vote
0answers
181 views

Alternatives to Mathematica that are not computer algebra systems [closed]

Are there alternatives to Mathematica that are not computer algebra systems? I know there have been questions on this, but I am focusing on oprn source projects and instead of focusing on computer ...
11
votes
2answers
417 views

Comparing natural language strings

I have a large spreadsheet with thousands of rows/columns of text. Some are saying essentially the same thing but in different ways. When you enter a natural language question Wolfram Alpha makes a ...
3
votes
1answer
204 views

How to get free-form linguistic input to act on a previous output?

It seems that Mathematica is capable of taking free-form input that acts on previous outputs (see "separate color channels"), but I'm having trouble getting it to work in my case. I've got ...
3
votes
0answers
340 views

Mixing Wolfram Language & WolframAlpha Queries - How robust is it?

The advent of Mathematica in the cloud and linguistic input potentially transforms expectations of the Wolfram Language's programming model and its inherent robustness. An example of this comes form ...
11
votes
3answers
1k views

Convert number to word

I have a big number like: 123 456 789. Now I'll to writ it like this 123 million 456 thousand 789 I've search on the internet but nothing found that works. How can you do that? Thanks.