How to instruct Déjà vu X3 not to break apart sentences containing "p. [number]"
Thread poster: Pavel Tsvetkov

Pavel Tsvetkov  Identity Verified
Bulgaria
Local time: 12:58
Member (2008)
English to Bulgarian
+ ...

Moderator of this forum
May 26

Hi All,

I need an expression to instruct Dejavu X3 not to break sentences in the middle, when it encounters a full stop after certain letters and before a number. For example, not to break these apart:

p. 37
стр. 37

Here is a real screen capture of the problem:

bowgojkojo7ah3ddlm0b.jpg

Any ideas?

Best regards,
PTs

[Edited at 2018-05-26 16:52 GMT]


 

Hans Lenting  Identity Verified
Netherlands
Member (2006)
German to Dutch
Workaround May 26

When you're in a hurry (and until someone gives you a real solution): replace 'p.' with 'xyz' in the source text (and maybe also in the TM) and import.

When the text is imported, replace 'xyz' with 'p.' again.

Worked for me, with Déjà Vu 2.


 

mikhailo
Local time: 12:58
English to Russian
+ ...
solution May 26

Pavel Tsvetkov wrote:

Hi All,

I need an expression to instruct Dejavu X3 not to break sentences in the middle, when it encounters a full stop after certain letters and before a number. For example, not to break these apart:

p. 37
стр. 37

Here is a real screen capture of the problem:

bowgojkojo7ah3ddlm0b.jpg

Any ideas?

Best regards,
PTs

[Edited at 2018-05-26 16:52 GMT]


add them to exclusions

before split p.^w (p. followed by space)
after split ^# (any number)

before split стр.^w
after split ^#

try other variants
before split ^wp.^w (space p. space)
after split ^#

The most interesting thing - at segmentation DVX3 don't distinguish simple space and unbrealable space (CTRL+SPACE n word).


 

Selcuk Akyuz  Identity Verified
Turkey
Local time: 12:58
Member (2006)
English to Turkish
+ ...
Segmentation options May 27

Hi Pavel,

FILE > Options > Segmentation

There are two panels, Rules and Exceptions

In Exceptions write the following:

Before Split: p.^w
(p. followed by white space)

After Split: ^#
(A digit)


 

Pavel Tsvetkov  Identity Verified
Bulgaria
Local time: 12:58
Member (2008)
English to Bulgarian
+ ...

Moderator of this forum
TOPIC STARTER
Thank you! May 27

Thank you all who responded!

 

Pavel Tsvetkov  Identity Verified
Bulgaria
Local time: 12:58
Member (2008)
English to Bulgarian
+ ...

Moderator of this forum
TOPIC STARTER
One thing more... May 27

When these changes are made, which file are they recorded into? Settings.dvset ?

 

Selcuk Akyuz  Identity Verified
Turkey
Local time: 12:58
Member (2006)
English to Turkish
+ ...
settings file May 27

Correct, they are stored in the Languages table of the Settings file.

Some DVX users think it is better to store them in project templates but updating the templates is a manual task, therefore I prefer the current settings.


 


To report site rules violations or get help, contact a site moderator:

Moderator(s) of this forum
Pavel Tsvetkov[Call to this topic]

You can also contact site staff by submitting a support request »

How to instruct Déjà vu X3 not to break apart sentences containing "p. [number]"

Advanced search






SDL Trados Studio 2017 only €435 / $519
Get the cheapest prices for SDL Trados Studio 2017 on ProZ.com

Join this translator’s group buy brought to you by ProZ.com and buy SDL Trados Studio 2017 Freelance for only €435 / $519 / £345 / ¥63000 You will also receive FREE access to Studio 2019 when released.

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 »



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