Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linguistics]

The tag has no usage guidance.

15
votes
4answers
2k views

What stopwords list is the Wolfram language using?

The documentation of DeleteStopwords only says that it "uses a standard, built-in list of stopwords". So what is it exactly? Update Now that it is said "standard"...
8
votes
0answers
110 views

How to run GrammarApply offline?

It is a question regarding formal grammar. I have a grammar rule addition as below:- ...
6
votes
2answers
234 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 (...
10
votes
2answers
269 views

Unscrambling jumbled anagrams

I know that we can easily check to see if a string contains any anagrams by the following snippet: ...
14
votes
2answers
938 views

Checking if a word exists

Probably the simplest way to check a word if it exists is to use DictionaryWordQ[] DictionaryWordQ["color"] True But it ...
3
votes
2answers
438 views

Finding the number of syllables in a string of text

To implement a readability algorithm, I need to find the number of symbols in a long string of text (almost 5000 words). There doesn't seem to be a built-in Mathematica function that can count the ...
1
vote
0answers
48 views

Is WordStem available for German?

The WordStem function looks very useful to me. Is there a way to use it for non-English words?
2
votes
1answer
58 views

Can WordFrequencyData be used with phrases?

Can WordFrequencyData be used with phrases? I'd like to look up words/phrases like "cell phone" instead of "cellphone". ...
5
votes
0answers
61 views

How to transform traditional Chinese string into simplified Chinese string in Mathematica?

There are two type of written Characters in Chinese: traditional Chinese and simplified Chinese. Is there a way to transform traditional Chinese string into simplified Chinese string in Mathematica? ...
7
votes
2answers
2k views

How to apply profanity filter

What is the simplest way to filter out profanity from Word Data without manually removing the words?
0
votes
0answers
84 views

Filtering word data nouns by subfield?

I am making string combinations using WordData and would like to filter all nouns that come from a specific professional specialization. For example, the nouns in ...
10
votes
2answers
2k views

How do I translate a list of English words into another language using an online translation service with Mathematica?

As far as I know, there are two posts on this topic: Can I use Mathematica to translate a English word to a Chinese characters? and *How can I use Mathematica to get the translated result from the ...
27
votes
3answers
943 views

Can Mathematica determine part-of-speech for each word in a text?

I've found that WordData has a database of English words and their possible parts of speech. But some words are ambiguous, e.g. result can be a verb or a noun: <...
6
votes
2answers
174 views

DictionaryLookup very slow

I'm trying to plot, given a list of words, how many words belongs to each language. I'm using the following code: ...
11
votes
2answers
388 views

WordData for other languages

Mathematica already includes dictionaries for a lot of languages. What I am looking for is a handy semantic/grammatic database for Hungarian, just like WordData for ...