The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Using StringTextInput
Legacy User
Member Posts: 0 Newbie
Hi,
I was wondering if you can provide an example as to how I should use the StringTextInput, as I currently dump my texts to file and re-load them with TextInputOperator. I just don't know how to create an ExampleSet containing my strings for StringTextInput: Do I have to do something complex like the tutorial PDF shows on ExampleSet creation (with a method providing access to a table and all)? Isn't there just some way to send it a String[] containing my texts? (SingleTextInput won't do because I have to use a learner later on all texts at once. I successfully use SingleTextInput during testing).
Thanks a lot,
Nimrod
I was wondering if you can provide an example as to how I should use the StringTextInput, as I currently dump my texts to file and re-load them with TextInputOperator. I just don't know how to create an ExampleSet containing my strings for StringTextInput: Do I have to do something complex like the tutorial PDF shows on ExampleSet creation (with a method providing access to a table and all)? Isn't there just some way to send it a String[] containing my texts? (SingleTextInput won't do because I have to use a learner later on all texts at once. I successfully use SingleTextInput during testing).
Thanks a lot,
Nimrod
Tagged:
0
Answers
maybe this thread helps to get a starting point:
http://rapid-i.com/rapidforum/index.php/topic,19.0.html
Using the StringTextInput is actually pretty easy. Just make sure you texts are stored in a column of your database and apply the operator to it (it might be that you have to activate "filter_nominal").
Cheers,
Ingo