How to index plain texts with Xaira

laohong

管理员
Staff member
I've tried many times to index plain texts with Xaira (with version 1.21, 1.22 and the latest 1.23), and it just gets crashed almost every time in writing grammar. Dr. Xiao also tried with the new version and the same error occured with his Xaira. Finally we figured it out and here is my tips to share with you guys:

Solution 1. Using old verison (e.g. 1.16) to index plain texts

We did make it work well with version 1.16, but you need prepare your texts in the format as (between equal signs):
======================
<?xml version="1.0" encoding="utf-8"?>
<text>
your test here.
</text>
======================
Then, save it as xxx.txt in UTF-8 format.
Next, in Xaira Tools, Index Wizard, choose file format as plain text to index.


Solution 2. Using version 1.2x to index plain texts in XML format

First, prepare your texts in the format as (between equal signs):
======================
<?xml version="1.0" encoding="utf-8"?>
<text>
your test here.
</text>
======================
Then, save it as xxx.xml in UTF-8 format.
Next, in Xaira Tools, Index Wizard, choose file format as XML to index.

Good luck!
 
回复: How to index plain texts with Xaira

What can I do it efficiently if I have a large number of files? Do I have to add those deceptive symbols over and over again? Thank you.
 
回复: How to index plain texts with Xaira

If you have many texts, use regular expressions to convert them in a batch process.
 
Back
顶部