Having trouble with segmentation rules
Thread poster: 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ファイルに記述されている節点座標です。

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.


 

Susan Welsh  Identity Verified
United States
Local time: 09:14
Member (2008)
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  Identity Verified
France
Local time: 15:14
Member (2007)
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
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

Advanced search






SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »



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