Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #433: Ogden’s Basic English – Making Words Count

AYXAcademy
Alteryx
Alteryx

Maveryx_WC_Banner.png

 

Hi Maveryx,

 

A solution to last week’s challenge can be found here.

 

Are you enjoying the new Weekly Challenge page? We hope you've had a chance to read our blog post explaining the exciting new features we've introduced in this latest version. We'd love to hear your thoughts, so please leave us a comment with your feedback!

 

This week's challenge, created by Motoi Tokimatsu, will test your RegEx skills! Thank you, @Tokimatsu , for presenting this intriguing task.

 

Have you heard about the 850 words of Charles Kay Ogden's Basic English? (In this context, the acronym BASIC stands for British American Scientific International Commercial.) In his book published in 1930, Basic English: A General Introduction with Rules and Grammar, he created a list of about 850 words to form the core vocabulary of Basic English. Basic English aims to create an easier and more efficient form of English for international communication, particularly for those learning English as a second language. The reduced vocabulary is designed to cover most everyday situations and needs without the complexity of the full English language.

 

Your tasks for this challenge include:

  1. Download the data from the URL provided.
  2. List the words (around 850)
  3. Create an index with the first letter of each word.
  4. Calculate the number of words that start with each letter of the alphabet.

 

In this challenge, the Replace and Tokenize functions in RegEx will be your best friends.

 

Need a refresher? Review the following lessons in Academy to gear up:

 

Good luck!

 

AYX-Maveryx_Micro Identity-Maveryx Academy_wordmark.png

Kenda
16 - Nebula
16 - Nebula
Spoiler
Fun challenge! 

I got a different answer for G & P, but manually counting shows my answer seems to be correct.

(Edit - I got rid of the RecordID tool since that literally wasn't doing anything, but post won't let me upload a new image. Workflow is updated, though.)

image.png
mmontgomery
11 - Bolide

C433

Spoiler
Took a bit to figure out parsing/extraction logic. Mine is slightly different than the answer provided but matches the wiki page sectionsc433.png
binuacs
20 - Arcturus
Spoiler
image.png
Tofel
8 - Asteroid

Slightly different results to the solution, probably because of these words in brackets, but in total it is 850 words, so it should be good.

 

Spoiler
Challenge 433.JPG

LindonB
8 - Asteroid

Fun as always. 

Spoiler
I find that I usually prefer to use the Python tool and beautifulsoup to parse data, so I always love the practice with the download tool.

Solution433.PNG
logdog0411
9 - Comet
Spoiler
Bellamy 433.png

Not sure why I'm 1-2 off on some letters. I scanned my list and didn't see anything out of the ordinary. 

TurboToad
10 - Fireball

Always enjoy a good regex problem!

 

Spoiler
433.PNG
RWvanLeeuwen
11 - Bolide

here's my take

 

Spoiler
I lost a lot of time reading through that boring HTML finding scraps of data, but with a bit help I found the rows I needed... Still, the answers seem a tiny bit offI lost a lot of time reading through that boring HTML finding scraps of data, but with a bit help I found the rows I needed... Still, the answers seem a tiny bit off
Erin
9 - Comet

Excited to see how the RegEx champions solved this - because I am not quite there yet. I didn't use the RegEx tool (Other than parsing, it trips me up), and instead did my RegEx in the formula tool.  

 

I came up with 852 words vs the suggested output solution that has 856. Tomato, tomato....

Spoiler
433.png