I'm trying to build an app that counts the number of words in a sentence or paragraph but i cant figure it out. for example: “For a for loop count a count”, the output would is to be displayed as “for: 2, a: 2, loop: 1, count: 2”.
That's a nice task for a homework. . So what have you tried?
Pkease do not expect to get the solution directly in blocks... this would not be fair...
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .
Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
has been assigned as a homework assignment many times. As a result there are many community discussions about how best to determine how many words might be in the sentence or paragraph.Search results for 'words in a sentence/' - MIT App Inventor Community . Which have you tried?
Study these blocks:
text blocks that split text into lists
dictionaries
How can I create an app which will count the number of words in a sentence/paragraph. The app will have a text input a submit button and a label to display results. The app must use a loop
welcome
I moved your question into a thread we alread have
please read the already given ansers here in this thread
Taifun
What thread
Well, in the thread your are asking this question...
If you click here you can read from the beginning Word counter to count the number of words in a sentence
Taifun