Group Abstract Group Abstract

Message Boards Message Boards

Palindromes, reduplication, and more

Posted 3 years ago

POSTED BY: Chase Marangu
16 Replies
Posted 3 years ago

Hi Chase Marangu. I liked your post, it's nice to read for a newcomer, with all those word clouds. I have a question: I wanted to know if studying computational linguistics or Natural Language Processing in a formal way, like as a Masters or something, would require previous programming experience. Would a person with just basic experience in programming languages find it difficult?

And also, does this field have a good future in terms of a career? Are there decently paying jobs out there in this compling/NLP field?

Thanks!

POSTED BY: Thom M

What does it mean to make a word cloud out of a word square..

wordsquare[s_String] := 
 Module[{n = StringLength[s], c = {{Characters[s]}}, w, m = 1}, 
  w = Characters /@ 
    Select[WordList[], StringMatchQ[#, Repeated[_, {n}]] &];
  NestWhile[computewords[w, n, m++, #] &, c, m < n &]]

computewords[w_, n_Integer, m_Integer, c_List] := 
 Flatten[
  DeleteCases[
   Map[Cases[w, 
      p : Append[#[[All, m + 1]], Repeated[_, {n - m}]] :> 
       Append[#, p]] &, c], {}], 1]

Table[WordCloud[wordsquare["twain"][[i]][[j]]], {i, 1, 
  Length[wordsquare["twain"]]}, {j, 1, 3}]

twain

POSTED BY: Dean Gladish

Do you know to make a word cube? I wanted to add a word cube function to my WordCloud paclet but I couldn't figure it out.

POSTED BY: Peter Burbery
Posted 3 years ago

Peter! Ever since I was a little kid I wanted to know how to make a Word Cube, and ever since WordCloud came out I've been all on it. I don't know. What is a Word Cube, non-quantitatively?

POSTED BY: Updating Name

I know Donald Knuth has created a program to find a word cube but I don't know how to do it in Mathematica. A word cube is like a symmetric tensor of rank 3.

POSTED BY: Peter Burbery
POSTED BY: Dean Gladish

I found a post that has a program to create a random word cube or square but unfortunately, it doesn't let you specify a word to make a word cube out of.

POSTED BY: Peter Burbery
Posted 3 years ago
POSTED BY: Updating Name

The feature request is issue 2245 on redmine.

POSTED BY: Peter Burbery
POSTED BY: Dean Gladish
Posted 3 years ago
POSTED BY: Chase Marangu

PalindromeQ also works.

POSTED BY: Peter Burbery
Posted 3 years ago

Good point—I think I will edit that in.

POSTED BY: Chase Marangu

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: EDITORIAL BOARD
Posted 3 years ago

Thanks so much!

POSTED BY: Chase Marangu
POSTED BY: Peter Burbery
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard