classifier problem
I am trying to get a classifier working for our server but when I run the following command it gives an error message.
./iwtrainclassifier -db /local/apps/metatagger/conf/Taxonomies -db_home . -script /local/apps/metatagger/conf/classify.script.example /tmp/Root.xml
ERROR: Failed to open index '/local/apps/metatagger/conf/Taxonomies_lexicon': Db
:pen: No such file or directory
Should the database name (Taxonomies) correspond to an existing vocab(Which I have as Taxonomy_therapy currently)? For example should I have used Taxonomy_therapy instead of Taxonomies?
Also what does the <uid> tag in the xml "root" file relate to. For example should the uid in the following line relate to a specific term in my vocabulary?
<trainingset>
<document>
<metadata>
<docid>/tmp/infect disease.txt</docid>
<uid>iwovsponsor::2</uid>
</metadata>
<file>/tmp/infect disease.txt</file>
</document>
./iwtrainclassifier -db /local/apps/metatagger/conf/Taxonomies -db_home . -script /local/apps/metatagger/conf/classify.script.example /tmp/Root.xml
ERROR: Failed to open index '/local/apps/metatagger/conf/Taxonomies_lexicon': Db
:pen: No such file or directory
Should the database name (Taxonomies) correspond to an existing vocab(Which I have as Taxonomy_therapy currently)? For example should I have used Taxonomy_therapy instead of Taxonomies?
Also what does the <uid> tag in the xml "root" file relate to. For example should the uid in the following line relate to a specific term in my vocabulary?
<trainingset>
<document>
<metadata>
<docid>/tmp/infect disease.txt</docid>
<uid>iwovsponsor::2</uid>
</metadata>
<file>/tmp/infect disease.txt</file>
</document>
0
Comments
-
Don't use 'classify.script.example' for training use 'iwtrainclassify.script.example' or just use the iwtrainclassifier defaults (no -script needed).
The database name you use when running iwtrainclassifier has to match what you put in the <lexicon> element in metatagger.cfg. The database name you use for vocabularies (iwloadvocab) has to match the <dbName> element in metatagger.cfg.
The <uid> is the correct category for the training example and should match a UID in your taxonomy.0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 900 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.