Zum Hauptinhalt gehen

Changing SRX Segmentation Rules

Kommentare

5 Kommentare

  • Claudia Del Castillo

    Hi, Ive just received an answer on this

    https://wordbee.zendesk.com/requests/6293

    0
  • Sales

    Here is an extract form the ticket :

    If you want to apply these exceptions to all the languages you have to change the "Language independent" SRX rules. 
    To do this you have to: 
    - Navigate to Settings > Configure (in front of "Segmentation Rules"); 
    - Click on "View" in front of the default "Language independent" rules to download them; 
    - Open the file with a text editor (for instance Notepad++); 
    - Add the exceptions rules on the top of the other rules. Please note that by "on top" don't mean on top of the file but on the top on the "rule" nodes (please view attachment).

    The rules to add should look like:

    <rule break="no"> 
    <beforebreak>Mr\.</beforebreak> 
    <afterbreak></afterbreak> 
    </rule>

    The rule above is to not split on "Mr.". In order to exclude other abbreviations you just have replace "Mr".

    Then you have to upload your file on Wordbee. You can edit the current default rules by using the "edit" button. Or you can add a new set of rules by using the "Add new" button. If you use the first option (edit) I would recommend you to do a copy of your current rules, just in case.

     

    Regards,

    Brahim

    0
  • Joao Gaspar

    Thank you very much!

    I wil try it and give some feedback as soon as I can.

    0
  • Joao Gaspar

    Thanks Claudia and Brahim, things are way smoother right now. I still have trouble with the "Nº." abbreviation, I can't get anything with this one. Maybe because of the "º" symbol?

    Anyway, much much better!

    0
  • Jessica Liu

    Hi Joao,

    May I ask which SRX editor are you using? 

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.