yedafu Posted August 24, 2017 at 10:12 AM Report Share Posted August 24, 2017 at 10:12 AM Hi everybody, i'm working on a project of creating Chinese Graded reader. and i was wondering if anybody know of a program that allow you to do the following action: 1. Select a word from a text (lets say 相见) 2. Replace this word with a synonym (lets say 见面) 3. Then make the program change all the (相见) In the text to(见面) Your help will be much appreciated Quote Link to comment Share on other sites More sharing options...
roddy Posted August 24, 2017 at 10:35 AM Report Share Posted August 24, 2017 at 10:35 AM The find and replace is trivial. Suggesting a synonym, and checking it works in all cases is where I suspect you need a human. 1 Quote Link to comment Share on other sites More sharing options...
Lu Posted August 24, 2017 at 10:55 AM Report Share Posted August 24, 2017 at 10:55 AM 42 minutes ago, yedafu said: i was wondering if anybody know of a program that allow you to do the following action Can't any word processor do that? Quote Link to comment Share on other sites More sharing options...
yedafu Posted August 24, 2017 at 11:42 AM Author Report Share Posted August 24, 2017 at 11:42 AM about the part of checking if it would work, this will be held by humans as there no way around it. But how can I do the replacing process? Can it be done by WORD processor as Lu mentioned in his comment? And if so how? Or maybe there are other software's? Thanks so much Quote Link to comment Share on other sites More sharing options...
roddy Posted August 24, 2017 at 11:47 AM Report Share Posted August 24, 2017 at 11:47 AM Unless I'm missing some requirement, this is very trivial. Microsoft Word can do it https://support.office.com/en-gb/article/Find-and-replace-text-and-other-data-in-a-Word-document-c6728c16-469e-43cd-afe4-7708c6c779b7 Open Office can do it https://wiki.openoffice.org/wiki/Documentation/UserGuide/SearchReplace Google Docs can do it https://support.google.com/docs/answer/62754?co=GENIE.Platform%3DDesktop&hl=en However, it's not a very smart process. It can't tell the difference between, for a very hasty example, 我想见面 and 我还没看见面包店。 2 Quote Link to comment Share on other sites More sharing options...
yedafu Posted August 24, 2017 at 11:55 AM Author Report Share Posted August 24, 2017 at 11:55 AM Well actually Imron tool Chinese Text Analyzer can handle the problem you mentioned. Thanks so much for the detailed reply:) Quote Link to comment Share on other sites More sharing options...
roddy Posted August 24, 2017 at 12:56 PM Report Share Posted August 24, 2017 at 12:56 PM It'll do a better job, but I suspect @imron will be the first to say it needs careful watching. Quote Link to comment Share on other sites More sharing options...
imron Posted August 24, 2017 at 01:49 PM Report Share Posted August 24, 2017 at 01:49 PM The problem with doing find/replace in Word is as roddy mentioned that it doesn't respect word boundaries and you might end up changing the wrong things. This is where Chinese Text Analyser comes in useful. You can get it export a document and add spaces after every word. (File->Export->Document and set Word: Post to a single space). Then take the exported file and fix up any segmentation errors by adding/removing spaces as necessary. Then you can find/replace in something like word without any problem (though be careful of long words made up of several smaller words). It's probably easier to do the first major draft of the text like this (e.g. with spaces), then at the end, just search and replace spaces with nothing. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.