Using home made fix procedures for non Latin characters Yoel Kortick.

Slides:



Advertisements
Similar presentations
How to publish to PRIMO with a URL to the ADAM digital object Yoel Kortick.
Advertisements

How to make a custom service run the X service for renew on a group of patrons Yoel Kortick.
Loading Bibliographic Records Online and in Batch Pat Riva Romance Languages Cataloguer/ Bibliographic Database Specialist McGill University
V. 21. new fix_doc_notes fix routine (downgraded to version 20 RC 3513) Yoel Kortick Aleph Support Manager.
How to sort the “Order Information report” from the service “Print Acquisitions Records acq-03” Yoel Kortick.
How to Open a New Language in Web OPAC for Testing Web Screens Presenter: Yoel Kortick.
How to use the SDI RSS Feed Version 18 Yoel Kortick.
Examples of UTF compliance in version 20.1 Yoel Kortick Aleph support manager.
V. 21. Automatic LKR field creation from item. Rep_ver and Yoel Kortick Aleph Support Manager.
Dates in ILL Yoel Kortick Dates in ILL The purpose of this presentation is to show how the various date parameters work when performing borrowing.
How to add additional privileges to user_function.lng (originally SI ) Presenter: Yoel Kortick.
How to control bracket and parentheses appearance in right to left display of web Presenter: Yoel Kortick.
1 Controlling directionality with Unicode Characters Yoel Kortick Aleph Support manager.
Full text indexing of multi character PDF documents as ADAM digital objects. V18 RC 2089 This presentation applies to Version 18 and up Presenter: Yoel.
Performing ISO ILL borrowing and lending requests on the same server Yoel Kortick 2008.
1 Yoel Kortick Senior Librarian Adding a local Electronic Collection.
How to send Serial claims to vendor (Batch) Version 16 Yoel Kortick.
1 Designing and using normalization rules Yoel Kortick Senior Librarian, Ex Libris.
1 Discovery Interface Display Logic Yoel Kortick Senior Librarian.
Setting up and using Acquisitions-related indexes and logical bases. Version 18 and up Yoel Kortick.
Aleph Publishing services with a special focus on PRIMO-FULL and PRIMO-AVAIL version 18 Presenter: Yoel Kortick.
How to use and understand the Category Mechanism Setup Version 18 and up Yoel Kortick.
Indexing and filing the “thorn” character as “th” Yoel Kortick Jan
Expansion of available character set for configuration in ALEPH tables Idit Shachar-Abutbul May 2011 Aleph operations meeting.
Examples of homemade fix procedures ELUNA Second Annual Conference 2007 Ex Libris North American 2007 Technical Seminar Presenter: Yoel Kortick.
Merge Rules and Routines
Validation Check Version 21 rep_ver # Yoel Kortick.
SMS Messaging in Aleph 500 Version 20 and up
How to use the job list Version Yoel Kortick.
Indication rules and set filtering Harvard University April 18-19
How to set up an RSS feed New Book List in Alma
Using character conversion to display non standard Unicode values
How to print barcodes in batch mode via item-03
Presenter: Yoel Kortick
How to make a bibliographic base of records with attached ADAM digital objects Yoel Kortick October, 2007.
How to “expand” holding library fields to bibliographic record
Version 20 Feature Developments
How to add a fix procedure for copy cataloging from a Z39.50 base
How to make job list activate an Aleph service twice a month or once a month Yoel Kortick.
Digital Assets Module Services adam-01 and adam-02 versions 17 and up
Yoel Kortick Senior Librarian
Working with Multilingual Authority Records
Receiving New Lending requests
How to Define Separate Order Counters for Separate Sub-Libraries
Lawson System Foundation 9.0
Publishing Course Readings to PRIMO Version 20
Real-Time Acquisition (RTA) integration with OASIS platform
Publishing to OCLC Yoel Kortick Senior Librarian.
Introduction This presentation will show two ways of making a report of newly acquired records: Via services Retrieve Catalog Records (ret-01) and Print.
Interoperability Between Aleph and Primo: Aleph Restful APIs
Special Issues in Hebrew Cataloging in Alma
How to Add Pinyin Text to a Record with CJK Version 18 RC 1807 Version 19 RC 409 Yoel Kortick.
Importing Serial Prediction Patterns Via the Service Import 85X records (Serial-52) Yoel Kortick.
Yoel Kortick Senior Librarian Alma Product Management
Presenter: Yoel Kortick
Presenter: Yoel Kortick
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Yoel Kortick Senior Librarian
Yoel Kortick Senior Librarian
Three methods of activating electronic collections in the consortial environment Yoel Kortick. Senior Librarian
Designing and Using Normalization Rules
Indication rules and set filtering
Letter s How to change fixed text labels in the letters
Chapter 3 - Binary Numbering System
Real-Time Acquisition (RTA) integration with OASIS platform
Alternate graphic representation 880 field
New “replace string” parameter for fix_doc_do_file_08
How to use SDI Version 16 Yoel Kortick.
Web Forms.
Presentation transcript:

Using home made fix procedures for non Latin characters Yoel Kortick

2 Introduction This presentation will focus on using home made fix procedures for non Latin characters For information on using home made fix procedures in general see the following two files: 1.How_to_make_home_made_fix_procedures_examples_16+_yk.ppt 2.How_to_make_home_made_fix_procedures_parameters_16+_yk.ppt On the doc Portal under directory: Aleph > Tree Search > How to from support > Miscellaneous

3 Introduction In this presentation we will show how the non Latin scripts will be represented in the $data_tab/import fix procedure file We will show the step by step method of identifying the exact Decimal (DEC) value of the letters

4 Example 1 Let’s say we have this record And we want to change the Hebrew characters ספרנות in field to “Library science”

5 Example 1 We will do this by using the REPLACE-STRING parameter in the $data_tab/import file ! !-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1 650## REPLACE-STRING original_string,new_desired_string Above we need to enter the original string and the new desired string The original string is ספרנות and the desired new string is Library science

6 The problem In the $data_tab/import file we can not (always) enter the actual non Latin characters. This is dependent on our vi, terminal emulator and server. However, we can enter the Decimal value. In order to know the Decimal value we do as follows.

7 Acquiring values for script part 1 Search the web OPAC for the word

8 Acquiring values for script part 2 See the value of the word either in the URL or in the web server log file

9 Acquiring values for script Part 3 Convert the values We need to convert this: %D7%A1%D7%A4%D7%A8%D7%A0%D7%95%D 7%AA Enter each value into calculator and then change from hexadecimal to decimal. We will do this now for the values above in red We will use A1 as an example

10 Acquiring values for script Part 3 The calculator is in scientific mode

11 Acquiring values for script Part 3 We enter A1 while in Hex mode

12 Acquiring values for script Part 3 Then click Dec and get the value for the script

13 Adjusting the script Each value should be entered in the script with a \ (slash) before it 1 650## REPLACE-STRING \215\161\215\164\215\168\215\160\215\149\215\170,Li brary science This is ספרנות from the string we saw in web server and in URL Here is the 161 from the previous slide

14 Example 2 Now we’ll do another example with text “ Softwarelösungen für bibliotheken” We will replace it with “Library automation solutions” We must get the values for the ö and ü above

15 Adjusting the script for example 2 We search for the text in the web OPAC and this is the relevant part of the URL: ?func=find-b&request= Softwarel%C3%B6sungen+f%C3%BCr+bibliotheken &find_code=WSU The ö and ü above are in red

16 Getting the values for example 2 Let’s begin with C3 It equals 195

17 Making script for example 2 Here is the line for “Softwarelösungen für bibliotheken” 2 650## REPLACE-STRING Softwarel\195\182sungen f\195\188r bibliotheken,Library automation solutions The is the ö This is the ü

18 The final script So now we have this: il-aleph02-18(1) USM01-YOELK>>tail -3 $data_tab/import/yoel_fix !-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!! 1 650## REPLACE-STRING \215\161\215\164\215\168\215\160\215\149\215\170,Library science 2 650## REPLACE-STRING Softwarel\195\182sungen f\195\188r bibliotheken,Library automation solutions

19 The final script The script $data_tab/import/yoel_fix is activated in tab_fix as follows: il-aleph02-18(1) USM01-YOELK>>grep yoel_fix $data_tab/tab_fix YOELK fix_doc_do_file_08 yoel_fix This fix routine YOELK activates $data_tab/import/yoel_fix

20 Using the final script Record is in an input file in alephe_scratch il-aleph02-18(1) USM01-YOELK>>cat $alephe_scratch/a USM01 il-aleph02-18(1) USM01-YOELK>>

21 Using the final script The record is downloaded via manage_18 using the fix routine which uses our new script

22 Using the final script The desired changes have been made il-aleph02-18(1) USM01-YOELK>>cat $data_scratch/b FMT L BK LDR L 00000nam^a22^^^^^^u^ L L L s2008^^^^cau^^^^^r^^^^^000^0^eng^d L $$aKortick, Yoel$$d L $$aThe modern library L $$aEfrat :$$bYLK Publications,$$c L $$aLibrary science L $$aLibrary automation solutions

23 Changing ’ to ' If we want to change ’ to ' then we can do a search in the web for a string which contains each of the characters In the web log file: we see this for ’: %E2%80%99 We see this for ': %27 If we change the above values to Decimal then we get this: Change \226\128\153 to \039 Note: %27 actually becomes \39, but we added the zero to make it three digits

24 Changing ’ to ' So now we have this record The apostrophe is Unicode value 2019

25 Changing ’ to ' Here is our fix procedure (called change_mark) USM01> tail -2 $data_tab/import/change_mark !* change 2019 "RIGHT SINGLE QUOTATION MARK" to 0027 "APOSTROPHE" 1 245## REPLACE-STRING \226\128\153,\039 USM01> Here it is in tab_fix USM01> grep change_mark $data_tab/tab_fix QUOTE fix_doc_do_file_08 change_mark Here it is in fix_doc.eng USM01> grep QUOTE $data_root/pc_tab/catalog/fix_doc.eng QUOTE N C Change 2019 "RIGHT SINGLE QUOTATION MARK" to 0027 "APOSTROPHE" USM01>

26 Changing ’ to ' Now we run it

27 Changing ’ to ' Here is the change

Thank You!