Counting all words that start with a capital letter in a string using python dictionary
Hi,
I have written the following python snippet to store the capital letter starting words into a dictionary as key and no of its appearances as a value in this dictionary against the key.
In the above code, I am using the array index to check for the uppercase. But when I tried to re-code it using the regular expression as:
that is not fetching me the anticipated output. Expecting your help in this regard.
:confused:
Hye everybody i would like to know if exist a internet site where i can founs some interesting shell script very usefull
I need to transform hundreds names of files escribed in CAPITAL letter in minuscule letter
do oyu know a mean o do that that thanks to a script or a shell... (1 Reply)
Hi,
I want to be able to list all the names in a file which begin with a capital letter, but I don't want it to list words that begin a new sentence. Is there any way round this?
Thanks for your help. (1 Reply)
Hi,
I just want to search a file for any words containng a capital letter and then display these words only as a list
I have been trying grep but to no has not helped.(im using the bash shell) (7 Replies)
Hello,
I am receiving a file every day as this format. Since today is friday, the format is, PGI_STG_FRIDAY14.TXT.
I need to write the shell script to check if this file exist in folder...
I am using date format..
export DATE=`date '+%A'`
echo $DATE
The output is Friday
But i... (8 Replies)
I need to use bash to convert sentences where all words start with a small letter into one where all words start with a capital letter.
So that a string like:
are utilities ready for hurricane sandy
becomes:
Are Utilities Ready For Hurricane Sandy (10 Replies)
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
Hi
I have strings like these :
Vengeance mitt
Men Vengeance gloves
Women Quatro Windstopper Etip gloves
Quatro Windstopper Etip gloves
Girls Thermobite hooded jacket
Thermobite Triclimate snow jacket
Boys Thermobite Triclimate snow jacket
and I would like to get the lower case words at... (2 Replies)
Hi,
I need to replace, as the title says, the first letter of each line (when it's not a number) by the same letter, but capital.
For instance :
hello
Who
123pass
Would become :
Hello
Who
123pass
Is there a way with sed to do that ? Or other unix command ?
Thank you :) (7 Replies)
Discussion started by: ganon551
7 Replies
LEARN ABOUT DEBIAN
gnome-dictionary
gnome-dictionary(1) General Commands Manual gnome-dictionary(1)NAME
gnome-dictionary - Look up words on dictionaries
SYNOPSIS
gnome-dictionary
gnome-dictionary [options]
or select Dictionary from the Accessories submenu of the Applications menu.
DESCRIPTION
GNOME Dictionary provides dictionary definitions of words, using a dictionary source.
For full documentation see the GNOME Dictionary online help.
OPTIONS --look-up word
Looks up the specified word using the pre-defined dictionary source.
-s source or --source source
Uses the specified source for looking up words. This does not affect the global settings.
-l or --list-sources
Lists all the sources available.
-n or --no-window
Using this switch with the --look-up will print the definitions found on the console without launching the GUI.
--help Display help information.
CONFIGURATION
All the configuration is handled using GConf.
AUTHOR
GNOME Dictionary was originally written by Spiros Papadimitriou (<spapadim+@cs.cmu.edu>), Mike Hughes (<mfh@psilord.com>) and Bradford Hov-
inen (<hovinen@udel.edu>).
Emmanuele Bassi (<ebassi@gmail.com>) rewrote it from scratch.
This manual page was originally written by Jochen Voss <voss@mathematik.uni-kl.de>.
SEE ALSO dict(1), dictd(8), http://www.dict.org/, RFC 2229
gnome-utils 2.13.4 Jan 2 2005 gnome-dictionary(1)