|
"Carpet my office please" - Not OK? "Carpet Red Home Depot # 12345" - OK? "Switch location of desk" - Not OK? "Switch Lutron 100W White" - OK? "Cover my couch with new fabric" - Not OK? "Cover Green Furniture" - OK? My point is, the word itself doesn't tell you what you need to know, it's the context. That last statement could even be a request for a Cover for Green Furnuture, it could be a request for a Green Cover for funiture, or it could be a request to cover the green furniture, how can you tell? -Walden ------------ Walden H Leverich III President Tech Software (516) 627-3800 x11 (208) 692-3308 eFax WaldenL@xxxxxxxxxxxxxxx http://www.TechSoftInc.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: SCarter@xxxxxxxxxxx [mailto:SCarter@xxxxxxxxxxx] Sent: Tuesday, October 07, 2003 10:56 AM To: RPG programming on the AS400 / iSeries Subject: Noun First Verification. I have a requirement to validate a description to determine if the first word is a noun. I could create a DB with Approved words and check that. Which would be relatively simple. However, I am being compelled to create something that will recognize noun any noun.... I know this is a shot in the dark but has anyone had similar requirements and how did you accomplish this... The requirement is from our Purchasing Department below is an example. bad "I need a new pair of size 12 boots " Good Example "BOOTS, #519, SIZE 12D " J. Scott Carter Programmer/Analyst e-mail: Mailto:scarter@xxxxxxxxxxx Phone: 214.583.0348 "When I die, I want to die like my grandmother who died peacefully in her sleep. Not screaming like all the passengers in her car." - Author Unknown _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.