Skip to main content

Any tools to make split blocks of letters into coherent words??

The Empty Vault Forums Bureau of Security and Signals Intelligence Forum Any tools to make split blocks of letters into coherent words??

  • This topic has 4 replies, 5 voices, and was last updated 4 months ago by Leooo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #87099
    madness
    Participant

    I use a thing in Python called wordninja. You’ll have to google it. It does a better job than the one I wrote myself, but it still does annoying things like when it sometimes splits words in the wrong place.

    Once it is installed, you do something like this in python:

    from wordninja import split
    words = split(plaintext)

    #87113
    Harry
    Keymaster

    Maybe I should point out that using this python script is not necessary in order to submit your decrypt. We delete all the spaces when checking your solution anyway, but it does make it easier to read the deciphered text if you want to do that before we publish the solution.

    #87265
    f6exb
    Participant

    Thank you @madness for this gift. I have polished some of my programs.

    #87308
    avia
    Participant

    Although perhaps overkill, what’s worked for me so far is using OpenAI’s python API to access their GPT-3 text completion model, and asking that to separate the blocks into sentences.

    For example: (excerpt from 5B)

    input:
    split the following text into readable sentences:
    ithinkwemadeamistakeinhiringjadeicarriedoutchecksonherfriendharryandhedoesntexist

    output:
    I think we made a mistake in hiring Jade. I carried out checks on her friend Harry and he doesn’t exist.

    #87350
    Leooo
    Participant

    @Avia is there any chance you could make a guide on how to implement this? i think it would save many from the tedious process of hitting the arrow and space keys 1000’s of times.
    Thanks
    Mr X

    [If anyone writes a nicely commented piece of code that we can safely run then we could consider putting this in the cipher tools library. Harry]

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Report a problem