Comments on: How To Generate All Possible Letter Combinations (Java) https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02 Here you'll find some random shit which I wrote Sun, 21 Jul 2019 03:34:13 +0000 hourly 1 https://wordpress.org/?v=5.4.1 By: Alistair Crazy Diamond https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-55037 Sun, 21 Jul 2019 03:34:13 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-55037 Hi. I have invented a language (for fictional creative purposes), and have worked out its grammar (polysynthetic agglutinating) and function words (numbers, pronouns, questions, conjunctions etc) to a very considerable richness. In order for it to be actually usable, it needs a lexicon. My language derives its lexicon from four syllable roots (much as all Semitic languages do with three syllable roots, e.g. Arabic root k-t-b ‘the concept of writing’ giving kātib ‘writer’, aktaba, ‘he dictated’ etc). In order to create a full lexicon I have downloaded the complete internationally agreed New General Service List of the English words that make up 90% of all contemporary text, created as a standard for global English language learners, and have removed all the words unwanted for my project. There are around 6,000 remaining words. What I want to do is to generate a list of all combinations of 4 consonants from the language’s 22 consonants (the same as in English except that c and q are missing and th, sh and zh are added). To my reckoning that’s 234,256 separate combinations. I then want to pare that down so that only those without duplications, or with only one duplication, remain (i.e. dfkv and dfdv, but not dddv or dfdf). Then I want to randomly assign 6,000 of those combinations to the 6,000 words in the lexicon, to create a complete base from which I can generate real sentences using the created grammar. So my question to you is: have I gone completely mad?

]]>
By: Anirudh https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-54627 Sat, 25 May 2019 08:16:38 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-54627 In reply to Rishi.

There aren’t a lot of for loops, this is one of the simplest ways to do this program

]]>
By: Anirudh https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-54626 Sat, 25 May 2019 08:15:23 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-54626 Thank you so much! Very simple yet useful code!

]]>
By: Rishi https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-53587 Tue, 29 Jan 2019 11:39:56 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-53587 In reply to Adarsh Mehta.

Can u do the above program without using so many for -loops and also without recursion

]]>
By: Avishek https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-33301 Sun, 07 Jan 2018 07:29:39 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-33301 java program that accept a word and display after removing duplicate letters. ex: java=jv

]]>
By: abhinav https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-29078 Fri, 08 Sep 2017 14:40:36 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-29078 please reply

]]>
By: abhinav https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-29077 Fri, 08 Sep 2017 14:39:43 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-29077 can you write a program on java about shooping mall or any other for project please

]]>
By: Adarsh Mehta https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-4235 Wed, 24 Feb 2016 01:49:08 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-4235 In reply to Janmejai.

It makes me delighted to read comments appreciating my work Janmejai. :)

Thank you.

]]>
By: Janmejai https://www.theadarshmehta.in/blog/generating-all-possible-letter-combinations-java/2016/02#comment-4210 Tue, 23 Feb 2016 23:28:23 +0000 http://www.theadarshmehta.in/blog/?page_id=588#comment-4210 Thanks for the program, really simple.

]]>