Skip to main content

Questions tagged [natural-language]

Questions about natural language input or text processing.

Filter by
Sorted by
Tagged with
17 votes
1 answer
553 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": ...
Burton Samograd's user avatar
12 votes
3 answers
2k 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.
Mark's user avatar
  • 145
6 votes
1 answer
338 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 ...
Francois Vanderseypen's user avatar
6 votes
2 answers
658 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 (...
Kiril Danilchenko's user avatar
4 votes
1 answer
92 views

Assigning probabilities to an Autocomplete function

I have created an autocomplete function based on WordList. auto = Autocomplete[WordList["KnownWords"]] And if I use this on the letters "ga", it will provide me ...
Tim B's user avatar
  • 547
3 votes
1 answer
184 views

Specify NetEncode's tokenization model?

NetEncoder[{"Tokens"}] uses WordData indices to tokenize an input string. But is there a way to tell ...
M.R.'s user avatar
  • 31.6k
2 votes
0 answers
77 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 ...
Connor's user avatar
  • 41
0 votes
1 answer
220 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: ...
EverythingEnds's user avatar