This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
How to instruct Déjà vu X3 not to break apart sentences containing "p. [number]"
Autor wątku: Pavel Tsvetkov
Pavel Tsvetkov Bułgaria Local time: 02:01 Członek ProZ.com od 2008 angielski > bułgarski + ...
Moderator tego forum
May 26, 2018
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:
Any ideas?
Best regards, PTs
[Edited at 2018-05-26 16:52 GMT]
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Hans Lenting Holandia Członek ProZ.com od 2006 niemiecki > niderlandzki
Workaround
May 26, 2018
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.
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
mikhailo Local time: 02:01 angielski > rosyjski + ...
solution
May 26, 2018
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:
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).
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Selcuk Akyuz Turcja Local time: 02:01 angielski > turecki + ...
Segmentation options
May 27, 2018
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)
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Pavel Tsvetkov Bułgaria Local time: 02:01 Członek ProZ.com od 2008 angielski > bułgarski + ...
Moderator tego forum
NOWY TEMAT
Thank you!
May 27, 2018
Thank you all who responded!
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Pavel Tsvetkov Bułgaria Local time: 02:01 Członek ProZ.com od 2008 angielski > bułgarski + ...
Moderator tego forum
NOWY TEMAT
One thing more...
May 27, 2018
When these changes are made, which file are they recorded into? Settings.dvset ?
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Selcuk Akyuz Turcja Local time: 02:01 angielski > turecki + ...
settings file
May 27, 2018
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.
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
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.
Translate faster & easier, using a sophisticated CAT tool built by a translator / developer.
Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools.
Download and start using CafeTran Espresso -- for free