This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
How to remove extra space(s) in the beginning of a sentence?
Thread poster: Chunyi Chen
Chunyi Chen United States Local time: 13:37 English to Chinese
Aug 30, 2012
Hi! Does anyone know if there is a macro or an ahk script that will remove the extra space(s) at the start of each Chinese sentence in a Word file? I don't remember experiencing such a problem in MemoQ 5, but since I migrated to MemoQ 6, I found it doing a great job maintaining the formatting of the source text (no sarcasm intended). Unfortunately this does not work with my language pair. In character-based Chinese, you don't put a space between sentences. Trados does a good job in removing... See more
Hi! Does anyone know if there is a macro or an ahk script that will remove the extra space(s) at the start of each Chinese sentence in a Word file? I don't remember experiencing such a problem in MemoQ 5, but since I migrated to MemoQ 6, I found it doing a great job maintaining the formatting of the source text (no sarcasm intended). Unfortunately this does not work with my language pair. In character-based Chinese, you don't put a space between sentences. Trados does a good job in removing these extra spaces when it cleans up a document. Now that I don't use Trados to process my files anymore, is there a quick and easy way to remove these unnecessary spaces in Word? Any suggestions are very appreciated.
As additional info, these extra spaces are seen after a Chinese period or after a colon. They are "between" segments in MemoQ, so there is no way for me to identify and fix them in MemoQ.
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Chunyi Chen United States Local time: 13:37 English to Chinese
TOPIC STARTER
Both suggestions didn't seem to work
Aug 30, 2012
Hi David and Wrenda,
Thank you for your suggestions. I tried them on my file and they didn't seem to work. What I am trying to achieve is: Changing XXXXXX。 YYYYY: ZZZ to XXXXXX。YYYYY:ZZZ
Thank you for your help.
Chun-yi
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
István Hirsch Local time: 22:37 English to Hungarian
If it was English...
Aug 31, 2012
In Word, I would go to Edit/Find and Replace, check „Wildcards” checkbox and
Find: [_]{2,}
Replace with: _
(here ’ _’ means a space, not underscore) to replace any sequence of more than one spaces with only one. Perhaps your Word version syntax needs a semicolon after 2, not a comma.
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Chunyi Chen United States Local time: 13:37 English to Chinese
TOPIC STARTER
a simple solution
Aug 31, 2012
Marton from Kilgray tried a simple way that uses find and replace in Word and it worked!
Find (type one space here) Replace (leave blank)
I didn't know it could be so simple.
Thank you all for your help.
Chun-yi
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.
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.