Professional Documents
Culture Documents
Building Apps With Rni RNT
Building Apps With Rni RNT
Conference
Navigating the Human Terrain College Park, MD, May 20-21, 2008
What's in a Name?
Class:
com.basistech.rnm.Name
Data the name itself Language Script Entity Type Unique ID Entity ID Arbitrary String Transliterations
Conventional Translation: 'transliterations' Entity Type (person, place, etc.) Plus, whatever you want extra
Consider 'serializable'
Text Domains
Text Domain describes a name Three fields:
Language Script Scheme ...
Example:
ar/Arab/Native ar/Latn/Folk
What's a Scheme?
Schemes identify standards for translating or transliterating names: e.g. IC, BGN Schemes name other representations of names:
FOLK an informal transliteration NATIVE the original orthgraphy
10
Storing Names
Create a Name object Add it to the INameIndex Batching and concurrency
By default, additions are only seen by 'adder'
11
Retrieving results
INameIndex.lookup Then obtain the iterator Data versus metadata queries
12
13
14
Example: option controls whether to deliver enhanced version of original input, e.g. adding Harakat to Arabic.
15
Translation Process
'translate' takes an ITranslatable.
com.basistech.rnm.Name implements.
'translate' returns a List< com.basistech.rnt.TranslationResult > Each result has string, confidence, and additional information
e.g. improved spelling of input
16
Conclusion
Bad news: you will still have to read the documentation and look at the examples. Good news: you should have an overall picture of the main classes and interfaces that you will use to integrate RNI and RNT into applications. And don't forget:
productsupport@basistech.com
17