× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is more of a "nice to have" request than a "Must Have!!".
I will design it to check approved first words in the DB.
I was just wondering if there was some "Spiffy" API or Utility I did not
know about...

binder, ring, red, legal

word 1 =  Class of Item
word 2 =  subset of word 1
word 3 =  subset subset of words 1 and 2
word 4 =  subset subset of words 1,2 and 3
After 4 they don't care.
Since I am redesigning the Purchased Parts DB any Way I can create a
keywords DB to hold this information

Thanks
J. Scott Carter


    - Author Unknown


|---------+----------------------------->
|         |           Joel Cochran      |
|         |           <jrc@xxxxxxxxxx>  |
|         |           Sent by:          |
|         |           rpg400-l-bounces@m|
|         |           idrange.com       |
|         |                             |
|         |                             |
|         |           10/07/2003 07:02  |
|         |           AM                |
|         |           Please respond to |
|         |           RPG programming on|
|         |           the AS400 /       |
|         |           iSeries           |
|         |                             |
|---------+----------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                 |
  |       To:       RPG programming on the AS400 / iSeries 
<rpg400-l@xxxxxxxxxxxx>                               |
  |       cc:                                                                   
                                 |
  |       Subject:  RE: Noun First Verification.                                
                                 |
  
>--------------------------------------------------------------------------------------------------------------|




> bad
> "I need a new pair of size 12 boots "
> Good Example
> "BOOTS, #519, SIZE 12D "

I'm not trying to oversimplify this, but is the good example the only
acceptable way?  Maybe you could write a set of rules that does not
depend on the noun issue?

It sounds like an inventory, so there must be a ways to verify the
pieces of the string.  Tokenize the string by commas and work with the
pieces:

verify piece2 is a valid inventory code
-- verify piece1 is correct for piece2
---- verify piece3 is a valid option for piece2/piece1

This is just random thought process, but you would need a complete
grammer and context editor to be able to do what you are looking for.
It would be more successful if you could simply validate the incoming
format and then the incoming data.

Just thinking...

Joel
http://www.rpgnext.com








As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.