The image size limit has been raised to 1mb! Anything larger than that should be linked to. This is a HARD limit, please do not abuse it.
Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

Text editing software

TeaSpoonTeaSpoon Registered User regular
edited April 2009 in Help / Advice Forum
I'm currently translating a large website with a bunch of other guys.

We divided it in four equal pieces, which we will edited together when we're done translating. It has come to my attention, however, that there are a lot of sentences repeated throughout the text. Specific terminology is also used repeatedly.

So my question is, what can I use to find the repeated sentences? I could manually enter each sentence in the search, but I feel there should be a better way.

TeaSpoon on


  • FightTestFightTest Registered User regular
    edited April 2009
    Assuming you're looking for these particular phrases so that you can replace them, you could use something like Scite or Notepad++. Decent programming editors like the ones just mentioned have a Replace function in addition to Find.

    Basically you put the text you want to get rid of in the search field, put what you want to replace it with in the replace field, and then you can replace all instances, replace all instances in selection, etc..

    FightTest on
  • TeaSpoonTeaSpoon Registered User regular
    edited April 2009
    Yes, I know how the replace function works. If I was going to use the replace function, I would have to find the repeated sentences first, which means going through the entire text sentence by sentence.

    I was hoping for software that does that for me. Software that scans the text, compares the sentences, finds the duplicates, and reports it to me. It would be nice if it could do fuzzy matches too.

    [EDIT] By the way, it's just text. No programming stuff.

    TeaSpoon on
  • Baron DirigibleBaron Dirigible Registered User regular
    edited April 2009
    TextWrangler on OS X has a feature to do this.

    Text->Process Duplicate Lines…

    Baron Dirigible on
    Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away.
  • SatsumomoSatsumomo Rated PG! Registered User regular
    edited April 2009
    I'm not sure if this program does it, but it's an amazing text editing tool and I wouldn't be surprised if it did.

    However I just went to their site and it's no longer a free program, however they have a new program called UltraCompare which might do what you need.

    Satsumomo on
  • lunchbox12682lunchbox12682 MinnesotaRegistered User regular
    edited April 2009
    I've used most of the ones mentioned in the past, but I'll add one more.
    TextPad is the general favorite in my office.

    lunchbox12682 on
  • SoulStalkerSoulStalker Registered User regular
    edited April 2009
    A lot of the developers in my office (myself included) swear by Notepad++. It's even got a RegEx search/replace feature. Very useful.

    SoulStalker on
    Misanthropist extraordinaire.
  • LegionnairedLegionnaired Registered User
    edited April 2009
    If you have access to ruby, and the repeated sentences you're mentioning are EXACTLY duplicate, you could one-line it.
    #!/usr/bin/env ruby

    Then on the terminal:
      scriptname.rb < inputfile > outputfile

    Legionnaired on
  • TeaSpoonTeaSpoon Registered User regular
    edited April 2009
    Thanks, guys. I'll try those solutions.

    TeaSpoon on
Sign In or Register to comment.