Word count for corrections
Thread poster: boostrer

boostrer  Identity Verified
United States
Local time: 12:09
Member (2007)
English to Russian
+ ...
Mar 29, 2012

I have a DOC file with tracked changes.

How can I count the inserted words using CAT tools (WF Pro, Trados, MemoQ)? Maybe, there are other methods?

Thank you

[Edited at 2012-03-29 23:35 GMT]


 

István Hirsch  Identity Verified
Local time: 18:09
English to Hungarian
Try this Mar 30, 2012

Practicount can count them. Go to Settings/Applications, select Revisions in the middle column, then select „Count inserted text only”.

I had the same problem last week and worked like this (of course, try this on a copy):

Opened the tracked doc in Word, recorded the word count (C1), then saved the doc as „Webpage”.
Opened the Webpage in Notepad++ and performed the following replacements:

„msoIns” was replaced with „msoDel”
„<ins” was replaced with „<del”
„</ins>” was replaced with „</del>”

in this order (ignore the quotation marks), then saved as "Hyper Text Markup Language File”.
Opened this file in Word and counted words (C2).

As in Notepad++ you transformed all inserted texts to deleted texts, the difference C1-C2 gives the number of the new (inserted) words.


 

Annamaria Amik  Identity Verified
Local time: 19:09
Romanian to English
+ ...
This may help too Mar 30, 2012

Not sure if you want to count them specifically in CAT Tools, but there's another way to count them in Word, using the following macro (found it online):

Sub GetTCStats()
Dim lInsertsWords As Long
Dim lInsertsChar As Long
Dim lDeletesWords As Long
Dim lDeletesChar As Long
Dim sTemp As String
Dim oRevision As Revision

lInsertsWords = 0
lInsertsChar = 0
lDeletesWords = 0
lDeletesChar = 0
For Each oRevision In ActiveDocument.Revisions
Select Case oRevision.Type
Case wdRevisionInsert
lInsertsChar = lInsertsChar + Len(oRevision.Range.Text)
lInsertsWords = lInsertsWords + oRevision.Range.Words.Count
Case wdRevisionDelete
lDeletesChar = lDeletesChar + Len(oRevision.Range.Text)
lDeletesWords = lDeletesWords + oRevision.Range.Words.Count
End Select
Next oRevision

sTemp = "Insertions" & vbCrLf
sTemp = sTemp & " Words: " & lInsertsWords & vbCrLf
sTemp = sTemp & " Characters: " & lInsertsChar & vbCrLf
sTemp = sTemp & "Deletions" & vbCrLf
sTemp = sTemp & " Words: " & lDeletesWords & vbCrLf
sTemp = sTemp & " Characters: " & lDeletesChar & vbCrLf
MsgBox sTemp
End Sub


It works in Office 2010. However, I get the impression it is not accurate (in my case, it seemed to show more insertions). It can give you a rough estimate, though.

HTH


 

Rolf Keller
Germany
Local time: 18:09
English to German
Counting means hoping Mar 30, 2012

Annamaria Amik wrote:

Not sure if you want to count them specifically in CAT Tools, but there's another way to count them in Word, using the following macro (found it online):
(...)
I get the impression it is not accurate (in my case, it seemed to show more insertions).


If insertions and deletions overlap each other or aren't separated clearly, the results may be unexpected. Try to insert three words and delete the middle one later on ...


 

boostrer  Identity Verified
United States
Local time: 12:09
Member (2007)
English to Russian
+ ...
TOPIC STARTER
Thnak you all for your advice Apr 2, 2012

My special thanks to István Hirsch. Practicount was the easiest way to solve the problem.

 


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


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

Word count for corrections

Advanced search







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »



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