Having trouble with segmentation rules
Thread poster: samesong
samesong
samesong
Japan
English to Japanese
Apr 28, 2016

Hello, long time lurker, first time poster. I'll get right to it.

I want to segment this bit of text:

【x[3]: 節点の座標を格納するためのdouble型配列へのポインタ。】【この関数では、指定されたインデックスをもつ節点を見つけると、その節点のXYZ座標を配列“x[3]”に代入します。】【配列のサイズは「3」にしてください。】なお、ここで得られるのは、JCFファイルに記述�
... See more
Hello, long time lurker, first time poster. I'll get right to it.

I want to segment this bit of text:

【x[3]: 節点の座標を格納するためのdouble型配列へのポインタ。】【この関数では、指定されたインデックスをもつ節点を見つけると、その節点のXYZ座標を配列“x[3]”に代入します。】【配列のサイズは「3」にしてください。】なお、ここで得られるのは、JCFファイルに記述されている節点座標です。

So it looks like this:

【x[3]: 節点の座標を格納するためのdouble型配列へのポインタ。】

【この関数では、指定されたインデックスをもつ節点を見つけると、その節点のXYZ座標を配列“x[3]”に代入します。】

【配列のサイズは「3」にしてください。】

なお、ここで得られるのは、JCFファイルに記述されている節点座標です。

Note that some sentences are encased in brackets, while others (the last) aren't.

I currently have my segmentation rules set as follows:

Break - [。?!] - (blank)
Exception - 。- 】
Break - 】- (blank)

However, segmentation turns out like this:

【この関数では、指定されたIDをもつ節点を見つけると、その節点のXYZ座標を配列“x[3]”に代入します。



【配列のサイズは「3」にしてください。



なお、ここで得られるのは、JCFファイルに記述されている節点座標です。

If somebody could please point out what I'm doing incorrectly I would be very grateful.

Thank you.
Collapse


 
Susan Welsh
Susan Welsh  Identity Verified
United States
Local time: 07:30
Russian to English
+ ...
If no answer here... Apr 28, 2016

try the Yahoo group, which has heavier traffic, including Japanese translators.
https://groups.yahoo.com/neo/groups/OmegaT/conversations/messages

I'm no good at segmentation, can't help.


 
Didier Briel
Didier Briel  Identity Verified
France
Local time: 13:30
English to French
+ ...
Always put exceptions above breaks Apr 28, 2016

samesong wrote:
I currently have my segmentation rules set as follows:

Break - [。?!] - (blank)
Exception - 。- 】
Break - 】- (blank)

Without going into details of your rules, you should always put exceptions above breaks. Otherwise, they are not evaluated.

If somebody could please point out what I'm doing incorrectly I would be very grateful.

I can only second what Susan wrote: go to the user group, where there are several people translating from Japanese, including developers.

Didier


 
samesong
samesong
Japan
English to Japanese
TOPIC STARTER
This did it May 2, 2016

Didier Briel wrote:

[Without going into details of your rules, you should always put exceptions above breaks. Otherwise, they are not evaluated.

Didier


Reordering my rules did the trick! Thanks a lot.

I wish they made this clear in the manual.


 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


Having trouble with segmentation rules






Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »
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 »