Python: How to get the similar-sounding words togetherHow can I represent an 'Enum' in Python?How do I copy a file in Python?How can I safely create a nested directory in Python?How to get the current time in PythonHow can I make a time delay in Python?How do I remove an element from a list by index in Python?Getting the last element of a list in PythonHow do I get the number of elements in a list in Python?How do I concatenate two lists in Python?Why not inherit from List<T>?

Can a monster with multiattack use this ability if they are missing a limb?

Mapping a list into a phase plot

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

Is a roofing delivery truck likely to crack my driveway slab?

Is it okay / does it make sense for another player to join a running game of Munchkin?

How does residential electricity work?

Cynical novel that describes an America ruled by the media, arms manufacturers, and ethnic figureheads

Will it be accepted, if there is no ''Main Character" stereotype?

How can I replace every global instance of "x[2]" with "x_2"

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

Opposite of a diet

There is only s̶i̶x̶t̶y one place he can be

What's a natural way to say that someone works somewhere (for a job)?

Modify casing of marked letters

How does a character multiclassing into warlock get a focus?

Time travel short story where a man arrives in the late 19th century in a time machine and then sends the machine back into the past

Ways to speed up user implemented RK4

Are there any comparative studies done between Ashtavakra Gita and Buddhim?

How do I keep an essay about "feeling flat" from feeling flat?

Is it correct to write "is not focus on"?

Where in the Bible does the greeting ("Dominus Vobiscum") used at Mass come from?

How can I use the arrow sign in my bash prompt?

Minimal reference content

Why did Kant, Hegel, and Adorno leave some words and phrases in the Greek alphabet?



Python: How to get the similar-sounding words together


How can I represent an 'Enum' in Python?How do I copy a file in Python?How can I safely create a nested directory in Python?How to get the current time in PythonHow can I make a time delay in Python?How do I remove an element from a list by index in Python?Getting the last element of a list in PythonHow do I get the number of elements in a list in Python?How do I concatenate two lists in Python?Why not inherit from List<T>?













16















I am trying to get all the similar sounding words from a list.



I tried to get them using cosine similarity but that does not fulfil my purpose.



from sklearn.metrics.pairwise import cosine_similarity
dataList = ['two','fourth','forth','dessert','to','desert']
cosine_similarity(dataList)


I know this is not the right approach, I cannot seem to get a result like:



result = ['xx', 'xx', 'yy', 'yy', 'zz', 'zz'] 


where they mean that the words which sound similar










share|improve this question









New contributor




Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    16















    I am trying to get all the similar sounding words from a list.



    I tried to get them using cosine similarity but that does not fulfil my purpose.



    from sklearn.metrics.pairwise import cosine_similarity
    dataList = ['two','fourth','forth','dessert','to','desert']
    cosine_similarity(dataList)


    I know this is not the right approach, I cannot seem to get a result like:



    result = ['xx', 'xx', 'yy', 'yy', 'zz', 'zz'] 


    where they mean that the words which sound similar










    share|improve this question









    New contributor




    Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      16












      16








      16


      2






      I am trying to get all the similar sounding words from a list.



      I tried to get them using cosine similarity but that does not fulfil my purpose.



      from sklearn.metrics.pairwise import cosine_similarity
      dataList = ['two','fourth','forth','dessert','to','desert']
      cosine_similarity(dataList)


      I know this is not the right approach, I cannot seem to get a result like:



      result = ['xx', 'xx', 'yy', 'yy', 'zz', 'zz'] 


      where they mean that the words which sound similar










      share|improve this question









      New contributor




      Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am trying to get all the similar sounding words from a list.



      I tried to get them using cosine similarity but that does not fulfil my purpose.



      from sklearn.metrics.pairwise import cosine_similarity
      dataList = ['two','fourth','forth','dessert','to','desert']
      cosine_similarity(dataList)


      I know this is not the right approach, I cannot seem to get a result like:



      result = ['xx', 'xx', 'yy', 'yy', 'zz', 'zz'] 


      where they mean that the words which sound similar







      python python-3.x list






      share|improve this question









      New contributor




      Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited yesterday









      DirtyBit

      10.6k21842




      10.6k21842






      New contributor




      Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      Marc StochMarc Stoch

      834




      834




      New contributor




      Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Marc Stoch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          25














          First, you need to use a right way to get the similar sounding words i.e. string similarity, I would suggest:



          Using jellyfish:



          from jellyfish import soundex

          print(soundex("two"))
          print(soundex("to"))


          OUTPUT:



          T000
          T000


          Now perhaps, create a function that would handle the list and then sort it to get them:



          def getSoundexList(dList):
          res = [soundex(x) for x in dList] # iterate over each elem in the dataList
          # print(res) # ['T000', 'F630', 'F630', 'D263', 'T000', 'D263']
          return res

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([x for x in sorted(getSoundexList(dataList))])


          OUTPUT:



          ['D263', 'D263', 'F630', 'F630', 'T000', 'T000']


          EDIT:



          Another way could be:



          Using fuzzy:



          import fuzzy
          soundex = fuzzy.Soundex(4)

          print(soundex("to"))
          print(soundex("two"))


          OUTPUT:



          T000
          T000


          EDIT 2:



          If you want them grouped, you could use groupby:



          from itertools import groupby

          def getSoundexList(dList):
          return sorted([soundex(x) for x in dList])

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([list(g) for _, g in groupby(getSoundexList(dataList), lambda x: x)])


          OUTPUT:



          [['D263', 'D263'], ['F630', 'F630'], ['T000', 'T000']]


          EDIT 3:



          This ones for @Eric Duminil, let's say you want both the names and their respective val:



          Using a dict along with itemgetter:



          from operator import itemgetter

          def getSoundexDict(dList):
          return sorted(dict_.items(), key=itemgetter(1)) # sorting the dict_ on val

          dataList = ['two','fourth','forth','dessert','to','desert']
          res = [soundex(x) for x in dataList] # to get the val for each elem
          dict_ = dict(list(zip(dataList, res))) # dict_ with k,v as name/val

          print([list(g) for _, g in groupby(getSoundexDict(dataList), lambda x: x[1])])


          OUTPUT:



          [[('dessert', 'D263'), ('desert', 'D263')], [('fourth', 'F630'), ('forth', 'F630')], [('two', 'T000'), ('to', 'T000')]]


          EDIT 4 (for OP):



          Soundex:




          Soundex is a system whereby values are assigned to names in such a
          manner that similar-sounding names get the same value. These values
          are known as soundex encodings. A search application based on soundex
          will not search for a name directly but rather will search for the
          soundex encoding. By doing so, it will obtain all names that sound
          like the name being sought.




          read more..






          share|improve this answer

























          • @EricDuminil Pardon, but I don't quiet get how isSoundex returning a boolean would do?

            – DirtyBit
            yesterday












          • He means the name isSoundex is a binary statement ('is' or 'is not'), and should therefore be a boolean returning function. Maybe consider changing the name to something like getSoundexList?

            – user2397282
            yesterday











          • @user2397282 Crap, I over-looked it. Thank you. edited! :)

            – DirtyBit
            yesterday






          • 1





            @EricDuminil Done! :)

            – DirtyBit
            yesterday






          • 1





            Oooooo nice answer sir ;) +1

            – Matt B.
            11 hours ago










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Marc Stoch is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331723%2fpython-how-to-get-the-similar-sounding-words-together%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          25














          First, you need to use a right way to get the similar sounding words i.e. string similarity, I would suggest:



          Using jellyfish:



          from jellyfish import soundex

          print(soundex("two"))
          print(soundex("to"))


          OUTPUT:



          T000
          T000


          Now perhaps, create a function that would handle the list and then sort it to get them:



          def getSoundexList(dList):
          res = [soundex(x) for x in dList] # iterate over each elem in the dataList
          # print(res) # ['T000', 'F630', 'F630', 'D263', 'T000', 'D263']
          return res

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([x for x in sorted(getSoundexList(dataList))])


          OUTPUT:



          ['D263', 'D263', 'F630', 'F630', 'T000', 'T000']


          EDIT:



          Another way could be:



          Using fuzzy:



          import fuzzy
          soundex = fuzzy.Soundex(4)

          print(soundex("to"))
          print(soundex("two"))


          OUTPUT:



          T000
          T000


          EDIT 2:



          If you want them grouped, you could use groupby:



          from itertools import groupby

          def getSoundexList(dList):
          return sorted([soundex(x) for x in dList])

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([list(g) for _, g in groupby(getSoundexList(dataList), lambda x: x)])


          OUTPUT:



          [['D263', 'D263'], ['F630', 'F630'], ['T000', 'T000']]


          EDIT 3:



          This ones for @Eric Duminil, let's say you want both the names and their respective val:



          Using a dict along with itemgetter:



          from operator import itemgetter

          def getSoundexDict(dList):
          return sorted(dict_.items(), key=itemgetter(1)) # sorting the dict_ on val

          dataList = ['two','fourth','forth','dessert','to','desert']
          res = [soundex(x) for x in dataList] # to get the val for each elem
          dict_ = dict(list(zip(dataList, res))) # dict_ with k,v as name/val

          print([list(g) for _, g in groupby(getSoundexDict(dataList), lambda x: x[1])])


          OUTPUT:



          [[('dessert', 'D263'), ('desert', 'D263')], [('fourth', 'F630'), ('forth', 'F630')], [('two', 'T000'), ('to', 'T000')]]


          EDIT 4 (for OP):



          Soundex:




          Soundex is a system whereby values are assigned to names in such a
          manner that similar-sounding names get the same value. These values
          are known as soundex encodings. A search application based on soundex
          will not search for a name directly but rather will search for the
          soundex encoding. By doing so, it will obtain all names that sound
          like the name being sought.




          read more..






          share|improve this answer

























          • @EricDuminil Pardon, but I don't quiet get how isSoundex returning a boolean would do?

            – DirtyBit
            yesterday












          • He means the name isSoundex is a binary statement ('is' or 'is not'), and should therefore be a boolean returning function. Maybe consider changing the name to something like getSoundexList?

            – user2397282
            yesterday











          • @user2397282 Crap, I over-looked it. Thank you. edited! :)

            – DirtyBit
            yesterday






          • 1





            @EricDuminil Done! :)

            – DirtyBit
            yesterday






          • 1





            Oooooo nice answer sir ;) +1

            – Matt B.
            11 hours ago















          25














          First, you need to use a right way to get the similar sounding words i.e. string similarity, I would suggest:



          Using jellyfish:



          from jellyfish import soundex

          print(soundex("two"))
          print(soundex("to"))


          OUTPUT:



          T000
          T000


          Now perhaps, create a function that would handle the list and then sort it to get them:



          def getSoundexList(dList):
          res = [soundex(x) for x in dList] # iterate over each elem in the dataList
          # print(res) # ['T000', 'F630', 'F630', 'D263', 'T000', 'D263']
          return res

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([x for x in sorted(getSoundexList(dataList))])


          OUTPUT:



          ['D263', 'D263', 'F630', 'F630', 'T000', 'T000']


          EDIT:



          Another way could be:



          Using fuzzy:



          import fuzzy
          soundex = fuzzy.Soundex(4)

          print(soundex("to"))
          print(soundex("two"))


          OUTPUT:



          T000
          T000


          EDIT 2:



          If you want them grouped, you could use groupby:



          from itertools import groupby

          def getSoundexList(dList):
          return sorted([soundex(x) for x in dList])

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([list(g) for _, g in groupby(getSoundexList(dataList), lambda x: x)])


          OUTPUT:



          [['D263', 'D263'], ['F630', 'F630'], ['T000', 'T000']]


          EDIT 3:



          This ones for @Eric Duminil, let's say you want both the names and their respective val:



          Using a dict along with itemgetter:



          from operator import itemgetter

          def getSoundexDict(dList):
          return sorted(dict_.items(), key=itemgetter(1)) # sorting the dict_ on val

          dataList = ['two','fourth','forth','dessert','to','desert']
          res = [soundex(x) for x in dataList] # to get the val for each elem
          dict_ = dict(list(zip(dataList, res))) # dict_ with k,v as name/val

          print([list(g) for _, g in groupby(getSoundexDict(dataList), lambda x: x[1])])


          OUTPUT:



          [[('dessert', 'D263'), ('desert', 'D263')], [('fourth', 'F630'), ('forth', 'F630')], [('two', 'T000'), ('to', 'T000')]]


          EDIT 4 (for OP):



          Soundex:




          Soundex is a system whereby values are assigned to names in such a
          manner that similar-sounding names get the same value. These values
          are known as soundex encodings. A search application based on soundex
          will not search for a name directly but rather will search for the
          soundex encoding. By doing so, it will obtain all names that sound
          like the name being sought.




          read more..






          share|improve this answer

























          • @EricDuminil Pardon, but I don't quiet get how isSoundex returning a boolean would do?

            – DirtyBit
            yesterday












          • He means the name isSoundex is a binary statement ('is' or 'is not'), and should therefore be a boolean returning function. Maybe consider changing the name to something like getSoundexList?

            – user2397282
            yesterday











          • @user2397282 Crap, I over-looked it. Thank you. edited! :)

            – DirtyBit
            yesterday






          • 1





            @EricDuminil Done! :)

            – DirtyBit
            yesterday






          • 1





            Oooooo nice answer sir ;) +1

            – Matt B.
            11 hours ago













          25












          25








          25







          First, you need to use a right way to get the similar sounding words i.e. string similarity, I would suggest:



          Using jellyfish:



          from jellyfish import soundex

          print(soundex("two"))
          print(soundex("to"))


          OUTPUT:



          T000
          T000


          Now perhaps, create a function that would handle the list and then sort it to get them:



          def getSoundexList(dList):
          res = [soundex(x) for x in dList] # iterate over each elem in the dataList
          # print(res) # ['T000', 'F630', 'F630', 'D263', 'T000', 'D263']
          return res

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([x for x in sorted(getSoundexList(dataList))])


          OUTPUT:



          ['D263', 'D263', 'F630', 'F630', 'T000', 'T000']


          EDIT:



          Another way could be:



          Using fuzzy:



          import fuzzy
          soundex = fuzzy.Soundex(4)

          print(soundex("to"))
          print(soundex("two"))


          OUTPUT:



          T000
          T000


          EDIT 2:



          If you want them grouped, you could use groupby:



          from itertools import groupby

          def getSoundexList(dList):
          return sorted([soundex(x) for x in dList])

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([list(g) for _, g in groupby(getSoundexList(dataList), lambda x: x)])


          OUTPUT:



          [['D263', 'D263'], ['F630', 'F630'], ['T000', 'T000']]


          EDIT 3:



          This ones for @Eric Duminil, let's say you want both the names and their respective val:



          Using a dict along with itemgetter:



          from operator import itemgetter

          def getSoundexDict(dList):
          return sorted(dict_.items(), key=itemgetter(1)) # sorting the dict_ on val

          dataList = ['two','fourth','forth','dessert','to','desert']
          res = [soundex(x) for x in dataList] # to get the val for each elem
          dict_ = dict(list(zip(dataList, res))) # dict_ with k,v as name/val

          print([list(g) for _, g in groupby(getSoundexDict(dataList), lambda x: x[1])])


          OUTPUT:



          [[('dessert', 'D263'), ('desert', 'D263')], [('fourth', 'F630'), ('forth', 'F630')], [('two', 'T000'), ('to', 'T000')]]


          EDIT 4 (for OP):



          Soundex:




          Soundex is a system whereby values are assigned to names in such a
          manner that similar-sounding names get the same value. These values
          are known as soundex encodings. A search application based on soundex
          will not search for a name directly but rather will search for the
          soundex encoding. By doing so, it will obtain all names that sound
          like the name being sought.




          read more..






          share|improve this answer















          First, you need to use a right way to get the similar sounding words i.e. string similarity, I would suggest:



          Using jellyfish:



          from jellyfish import soundex

          print(soundex("two"))
          print(soundex("to"))


          OUTPUT:



          T000
          T000


          Now perhaps, create a function that would handle the list and then sort it to get them:



          def getSoundexList(dList):
          res = [soundex(x) for x in dList] # iterate over each elem in the dataList
          # print(res) # ['T000', 'F630', 'F630', 'D263', 'T000', 'D263']
          return res

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([x for x in sorted(getSoundexList(dataList))])


          OUTPUT:



          ['D263', 'D263', 'F630', 'F630', 'T000', 'T000']


          EDIT:



          Another way could be:



          Using fuzzy:



          import fuzzy
          soundex = fuzzy.Soundex(4)

          print(soundex("to"))
          print(soundex("two"))


          OUTPUT:



          T000
          T000


          EDIT 2:



          If you want them grouped, you could use groupby:



          from itertools import groupby

          def getSoundexList(dList):
          return sorted([soundex(x) for x in dList])

          dataList = ['two','fourth','forth','dessert','to','desert']
          print([list(g) for _, g in groupby(getSoundexList(dataList), lambda x: x)])


          OUTPUT:



          [['D263', 'D263'], ['F630', 'F630'], ['T000', 'T000']]


          EDIT 3:



          This ones for @Eric Duminil, let's say you want both the names and their respective val:



          Using a dict along with itemgetter:



          from operator import itemgetter

          def getSoundexDict(dList):
          return sorted(dict_.items(), key=itemgetter(1)) # sorting the dict_ on val

          dataList = ['two','fourth','forth','dessert','to','desert']
          res = [soundex(x) for x in dataList] # to get the val for each elem
          dict_ = dict(list(zip(dataList, res))) # dict_ with k,v as name/val

          print([list(g) for _, g in groupby(getSoundexDict(dataList), lambda x: x[1])])


          OUTPUT:



          [[('dessert', 'D263'), ('desert', 'D263')], [('fourth', 'F630'), ('forth', 'F630')], [('two', 'T000'), ('to', 'T000')]]


          EDIT 4 (for OP):



          Soundex:




          Soundex is a system whereby values are assigned to names in such a
          manner that similar-sounding names get the same value. These values
          are known as soundex encodings. A search application based on soundex
          will not search for a name directly but rather will search for the
          soundex encoding. By doing so, it will obtain all names that sound
          like the name being sought.




          read more..







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 18 hours ago

























          answered yesterday









          DirtyBitDirtyBit

          10.6k21842




          10.6k21842












          • @EricDuminil Pardon, but I don't quiet get how isSoundex returning a boolean would do?

            – DirtyBit
            yesterday












          • He means the name isSoundex is a binary statement ('is' or 'is not'), and should therefore be a boolean returning function. Maybe consider changing the name to something like getSoundexList?

            – user2397282
            yesterday











          • @user2397282 Crap, I over-looked it. Thank you. edited! :)

            – DirtyBit
            yesterday






          • 1





            @EricDuminil Done! :)

            – DirtyBit
            yesterday






          • 1





            Oooooo nice answer sir ;) +1

            – Matt B.
            11 hours ago

















          • @EricDuminil Pardon, but I don't quiet get how isSoundex returning a boolean would do?

            – DirtyBit
            yesterday












          • He means the name isSoundex is a binary statement ('is' or 'is not'), and should therefore be a boolean returning function. Maybe consider changing the name to something like getSoundexList?

            – user2397282
            yesterday











          • @user2397282 Crap, I over-looked it. Thank you. edited! :)

            – DirtyBit
            yesterday






          • 1





            @EricDuminil Done! :)

            – DirtyBit
            yesterday






          • 1





            Oooooo nice answer sir ;) +1

            – Matt B.
            11 hours ago
















          @EricDuminil Pardon, but I don't quiet get how isSoundex returning a boolean would do?

          – DirtyBit
          yesterday






          @EricDuminil Pardon, but I don't quiet get how isSoundex returning a boolean would do?

          – DirtyBit
          yesterday














          He means the name isSoundex is a binary statement ('is' or 'is not'), and should therefore be a boolean returning function. Maybe consider changing the name to something like getSoundexList?

          – user2397282
          yesterday





          He means the name isSoundex is a binary statement ('is' or 'is not'), and should therefore be a boolean returning function. Maybe consider changing the name to something like getSoundexList?

          – user2397282
          yesterday













          @user2397282 Crap, I over-looked it. Thank you. edited! :)

          – DirtyBit
          yesterday





          @user2397282 Crap, I over-looked it. Thank you. edited! :)

          – DirtyBit
          yesterday




          1




          1





          @EricDuminil Done! :)

          – DirtyBit
          yesterday





          @EricDuminil Done! :)

          – DirtyBit
          yesterday




          1




          1





          Oooooo nice answer sir ;) +1

          – Matt B.
          11 hours ago





          Oooooo nice answer sir ;) +1

          – Matt B.
          11 hours ago












          Marc Stoch is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Marc Stoch is a new contributor. Be nice, and check out our Code of Conduct.












          Marc Stoch is a new contributor. Be nice, and check out our Code of Conduct.











          Marc Stoch is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331723%2fpython-how-to-get-the-similar-sounding-words-together%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          -list, python, python-3.x

          Popular posts from this blog

          Word for a person who has no opinion about whether god existsWord for having a definite opinion while simultaneously withholding judgment?What's the opposite of “newcomer? Is ”veteran" OK?What do you call an “atheist” who might believe in an afterlife?What's a word for someone who wants to voice opinions but not have them challenged?Word for someone who dismisses contrary opinions as irrational?Somone who thinks they are overly special/out of the ordinaryIs there a word, phrase or idiom for “a person who is incapable of thinking about the future”?The belief that a god is human-likeA word for a non-famous person/thing you have heard a lot aboutAdjective for a person who enjoys taking care of their appearance

          What was this official D&D 3.5e Lovecraft-flavored rulebook?What was this set of RPG tools called?As a first-time DM should I let my players play complex character classes and roles?Nymph's Kiss and the RelationshipWhat was the name of this Cleric Prestige Class that shapes metal with its bare hands?Are the 3.5e Dragonlance books third party or official works?What's up with the domain Vile Darkness?What was this 80s book about RPGs?What was the name of this Werewolf band?What book had Rituals to “upgrade” animal companions to keep them viable at higher levels?What was this RPG that had rules for player-owned businesses?

          2017 IndyCar Series Contents Series news Teams and drivers Schedule Season summary Footnotes References External links Navigation menu"INDYCAR: Initial 2018 bodywork concepts unveiled"the original"IndyCar confirms switch to Performance Friction brakes in 2017""AJ Foyt Racing will switch to Chevy"the original"Carlos Munoz, Conor Daly will drive for AJ Foyt Racing""Zach Veach's Indy 500 Debut Confirmed with Foyt""No mass exodus from Honda after Ganassi switch""Ex-F1 driver Sato joins Andretti Autosport for 2017 IndyCar season""IndyCar's Ryan Hunter-Reay, sponsor DHL paired through 2020""hhgregg and Andretti Autosport announce partnership for key races in 2016""INDYCAR: Rossi re-signs with Andretti"the original"McLaren Formula 1 - Fernando Alonso to race at Indy 500 with McLaren, Honda and Andretti Autosport""Shank will finally take part in Indy 500 with Harvey, Andretti | MotorSportsTalk""Andretti adds Jack Harvey to Indy 500 field""Ganassi switches to Honda power for 2017""INDYCAR: Chilton returns to Ganassi"the original"IndyCar silly season: Who's going where in 2017?""INDYCAR: Kanaan, NTT Data return to Ganassi"the original"Kimball to remain at Ganassi for 2017""Coyne confirms Bourdais for 2017 IndyCar season""Davison to sub for Bourdais in Indy 500"the original"Gutierrez confirmed for Detroit IndyCar debut""Gutierrez returns with Coyne for rest of 2017 season""Vautier to drive for Coyne at Texas"the original"INDYCAR: Coyne confirms Jones for 2017"the original"Pippa Mann returns to Coyne for Indy 500""Karam, Dreyer & Reinbold teaming up again for Indianapolis 500""Pigot to return to Ed Carpenter Racing""Hildebrand confirmed as full-time Ed Carpenter driver""Veach to replace injured Hildebrand at Barber"the originalNew Team Harding Racing Enters Chaves for 101st Indianapolis 500"Juncos Racing Announces Entry in 101st Running of the Indianapolis 500 :: Juncos Racing""Juncos confirms Pigot for Indy 500""Saavedra confirmed in Juncos' second 500 entry"the original"Lazier confirms Indy 500 run after son's USF2000 debut"the original"Claman DeMelo to race for RLLR at Sonoma"the original"Rahal signs Servia and ace engineer for 2017""IndyCar: Aleshin returns with Schmidt"the original"Aleshin replaced by Saavedra for Toronto""Jack Harvey will pilot SPM No. 7 car at Watkins Glen, Sonoma""Jay Howard confirmed in Tony Stewart's supported SPM Indy entry""INDYCAR: Newgarden to wave the flag at Penske"the original"Pagenaud opts for No. 1 in 2017"the original"Penske confirms Newgarden for 2017""Montoya to stay with Team Penske in 2017""Target leaving IndyCar after 27 seasons with Chip Ganassi""Cavin: IndyCar could see complete driver/team shakeup in 2017""End of the road for KV Racing?""KV Racing confirms closure, equipment sold to Juncos""Juncos confirms IndyCar Series entry"the original"Juncos readies IndyCar program, aims for '17 500"the original"Harding Racing to add Texas, Pocono to schedule"the original"Sato signs with Andretti Autosport for 2017""INDYCAR: Aleshin in Doubt at SPM"the original"Long Beach notebook: JR Hildebrand breaks hand""Hildebrand cleared to return at Phoenix"the original"Bourdais to undergo surgery on multiple fractures""Aleshin loses Schmidt Peterson IndyCar ride""Saavedra in at SPM for Pocono, Gateway"the original"Bourdais to make return at Gateway"the original"The IndyCar Grand Prix no longer is sponsored by Angie's List""2017 IndyCar Series rulebook""2017 Verizon IndyCar Series Official Rulebook"Official websiteeeeee