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.


Direct link Reply with quote
 

Susan Welsh  Identity Verified
United States
Local time: 16:03
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.


Direct link Reply with quote
 

Didier Briel  Identity Verified
France
Local time: 22:03
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


Direct link Reply with quote
 
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.


Direct link Reply with quote
 


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






WordFinder
The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

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