[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Harry's Basic Program



Morris,

I have a wee rutine in XPL3 that works in an inverse way.
It deals with an input file in Upper Case.
Initially it compaires every line with the line following it and deletes
duplicates. Then it performs some global changes (ie / THE/ the/ etc) and
finally, from the top it processes every word making them lower case EXCEPT for
the first letter. (remember 'and', 'the', 'is' etc are already lowercased from
above global changes, and while they are still processed no further changes
happen to them).

If it could be of use, let me know and I can email it to you offline.

Cheers

Marc


Quoting Morris Krok :

> Robert,
>
> The program that I am after is to capitalize the first letter of a
> word. When I type a catalog, or have to type long lists of items, I
> prefer to type everyting in lower case, and use such a program to
> capitalize, the first letter. However, a more sophisticated program,
> would be to exclude the pronouns or verbs such as: and, as .to ,the, a,
> from, was, etc., In other words, what one can call buzz words or words
> that connect the nouns of an item with other nouns or descriptive
> parts.
> Is there anything in U2 that caters for something like this.
>
> There is one other thing which I cannot see whether it is possible to
> do. When one is in the www. serve.com/xywwweb/xysearch.cgi website, to
> have a program, that will call up every item with say the name Carl, or
> Robert and then save the entire collection in a specific file. At
> present there are 12 squares, and one has to click sequentially on them
> to extract all the information, after ,of course ,entering what you have
> searched for.