MS Word- Extracting highlighted text
Thread poster: Anil Goyal

Anil Goyal  Identity Verified
India
Local time: 18:22
English to Hindi
+ ...
Oct 29, 2004

I often receive 20-30 pages Word document where some text is highlighted. I am supposed to translate those highlighed text. How do I do a word count for those highlighted text for invoicing purpose? And, is there a way to extract the highlighted text to another Word file so that I can translate that using some CAT tool (I use SDLX 2004)? If I process the whole file in SDLX I can't find out which text was highlighted in the Source.

Thanks for any help.

Anil


Direct link Reply with quote
 

gianfranco  Identity Verified
Brazil
Local time: 09:52
Member (2001)
English to Italian
+ ...
Counting is quite easy Oct 29, 2004

Anil Goyal wrote:
...
How do I do a word count for those highlighted text for invoicing purpose?
...


To count highlighted text:

  • make a copy of your document and use the copy for the following steps

  • run a wordcount and write down the result

  • search all highlighted text and replace it with nothing (or, even better a single space, to avoid joining other words)
    Note that there is a special search function in Word for highlighted text.

  • after the search & replace, run a new wordcount

  • the difference between the first and the second count is the quantity of highlighed text

    Counting by difference is easily applicable in any situation where portions of text are identified by some attribute, or you apply the atribute, using a copy, for wordcounting purposes only



    Gianfranco

    Direct link Reply with quote
     

  • Stefan Keller  Identity Verified
    Germany
    Local time: 14:52
    English to German
    For SDLX Oct 29, 2004

    Do a search and replace: Simply replace any non-highlighted text with same text (^&) but make it hidden.
    SDLX will not extract hidden text into itd. Translate the itd, create the translated Word file, and replace hidden text with non-hidden.

    Regards,
    Stefan


    Direct link Reply with quote
     

    gianfranco  Identity Verified
    Brazil
    Local time: 09:52
    Member (2001)
    English to Italian
    + ...
    Extracting text Oct 29, 2004

    Anil Goyal wrote:
    ...is there a way to extract the highlighted text to another Word file ...


    Dear Anil,

    I have just discovered a simple way to extract text.

    As said above, in Word there is an option to search highlighted text. I have just discovered now that it is also possible to select "Non Highlighted" text!!!

    This means, that selecting all the Non Highlighted text and replacing it with a space ' ' or, better with a ^p charachter (in Word this means a new 'end of paragraph'), you will be left with a document containing only your highlighted text.
    (Always use a copy for these operations!)

    At this point, in the new document, you can count, translate and/or import its content into any CAT tool of your choice, provided that you customer wants the translation separate from the rest of the document.

    bye
    Gianfranco


    Direct link Reply with quote
     

    Anil Goyal  Identity Verified
    India
    Local time: 18:22
    English to Hindi
    + ...
    TOPIC STARTER
    This is a tedius process Oct 29, 2004

    Gianfranco Manca wrote:


    run a wordcount and write down the result

    the difference between the first and the second count is the quantity of highlighed text

    Counting by difference is easily applicable in any situation where portions of text are identified by some attribute, or you apply the atribute, using a copy, for wordcounting purposes only



    This is how I do it now, but I was wondering if there is a clean way. If I can delete (replace with space) the text which in NOT highlighted, then probably I can use the file for both purposes.

    Thanks for your suggestion though.

    Anil


    Direct link Reply with quote
     

    Stefan Keller  Identity Verified
    Germany
    Local time: 14:52
    English to German
    Again... Oct 29, 2004

    If you simply replace all non-highlighted with hidden text, you can easily do the word count in SDLX, because only highlighted text will be pulled in then, and you would not even remove the non-translatable portions from your original document. Won't this do the trick?

    Direct link Reply with quote
     

    Anil Goyal  Identity Verified
    India
    Local time: 18:22
    English to Hindi
    + ...
    TOPIC STARTER
    How do I find non-highlighted text? Oct 29, 2004

    Stefan Keller wrote:

    If you simply replace all non-highlighted with hidden text, you can easily do the word count in SDLX, because only highlighted text will be pulled in then, and you would not even remove the non-translatable portions from your original document. Won't this do the trick?


    I get the highlighted text function by clicking on the "Format" button on the "Find and Replace" window. But, how can I find the text which is not-highlighted?

    Thanks to both of you, I think I am close to the solution.

    ANil


    PS: And how to replace with hidden text?

    [Edited at 2004-10-29 12:38]

    PPS: Ok, you have to click on 'highlight' again. I think I have the solution!! Thanks for the help!!!

    [Edited at 2004-10-29 12:40]


    Direct link Reply with quote
     
    Mathew Robinson
    United Kingdom
    Local time: 13:52
    English
    Learn something new every day Oct 29, 2004

    I am waiting for the answer to this thread most eagerly, this problem has always been a thorn in my side.

    However, quite often the client will highlight one or two words within a sentence, this may necessitate retranslating more than just the highlighted words, or the entire sentence, or even a whole paragraph to allow for gender or tense changes. This would then mean that counting only highlighted words wouldn't encompass the entirity of the work involved.

    Ok, so not a problem with a small numbers of changes or a small file, but we have some clients that use templates for contracts consisting of many thousands of words, which have in the past had 25%+ of changes highlighted.


    Direct link Reply with quote
     

    Stefan Keller  Identity Verified
    Germany
    Local time: 14:52
    English to German
    Like this Oct 29, 2004

    Anil Goyal wrote:
    PS: And how to replace with hidden text?

    [Edited at 2004-10-29 12:38]


    Your "Search" field in the Search&Replace window should be empty and displaying "Format only" below.

    In the "Replace" field, enter "^&" (without the quotes), click Format, choose "Hidden" and select "Replace all".


    Direct link Reply with quote
     

    Oksana Kornitskaja  Identity Verified
    Local time: 15:52
    German to Ukrainian
    + ...
    PractiCount Toolbar Oct 29, 2004

    Anil Goyal wrote:
    How do I do a word count for those highlighted text for invoicing purpose?


    This can be easily done this with PractiCount Toolbar - http://www.practiline.com. You can set it to count only text formatted in some way, e.g. only text in red color or bold or hidden text etc.


    Direct link Reply with quote
     
    haneefputtur
    Local time: 16:52
    Please use MS Word Macro Feb 25, 2012

    I developed a simple macro , which will extract the highlighted text from MS Word documents and create a new word file in seconds. Very simple.

    Please refer my Blog : http://blog.haneefputtur.com/2012/02/macro-to-extract-highlighted-words-from.html


    Direct link Reply with quote
     

    István Hirsch  Identity Verified
    Local time: 14:52
    English to Hungarian
    Or.. Feb 25, 2012

    Press Ctrl+F (Find), check the checkbox „Highlight all that found" (or sth like this), click on Format, select Highlight, click on „Find all”, and count words. It will count highlighted words only.

    Direct link Reply with quote
     


    To report site rules violations or get help, contact a site moderator:


    You can also contact site staff by submitting a support request »

    MS Word- Extracting highlighted text

    Advanced search







    Across v6.3
    Translation Toolkit and Sales Potential under One Roof

    Apart from features that enable you to translate more efficiently, the new Across Translator Edition v6.3 comprises your crossMarket membership. The new online network for Across users assists you in exploring new sales potential and generating revenue.

    More info »
    Protemos translation business management system
    Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

    The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

    More info »



    Forums
    • All of ProZ.com
    • Term search
    • Jobs
    • Forums
    • Multiple search