Hi Yinyuemi,
Many thanks for the timely help. The residue problem seems to be sorted with the new code. However the largest string issue still remains.
I used the code which you had posted (reproduced below)
And I still get
The boy ran through slow ly
for
theboyranthroughslowly
Sorry to hassle you, but the largest string split is vital for the dictionary work I am doing.
Many thanks once again and hoping to read you,
Best regards,
Gimley
Last edited by Franklin52; 02-24-2011 at 03:32 AM..
Reason: Please use code tags
Hi,
I have a string like this in a file,
I want to retrive the words separated by comma's in 3 variables. like
How do i get that.plz advice (2 Replies)
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Hi,
I am trying to split the words having the delimiter as colon ';' in to separate files using awk.
Here's my code.
echo "f1;f2;f3" | awk '/;/{c=sprintf("%02d",++i); close("out" c)} {print > "out" c}'
echo "f1;f2;f3" | awk -v i=0 '/;/{close("out"i); i++; next} {print > "out"i}'
But... (4 Replies)
hello,
I had posted earlier help for a script for splitting concatenated words . The script was supposed to read words from a master file and split concatenated words in the slave/input file.
Thanks to the help I got, the following script which works very well was posted. It detects residues by... (14 Replies)
Dear all,
I am working with names and I have a large file of names in which some words are written together (upto 4 or 5) and their corresponding single forms are also present in the word-list.
An example would make this clear
annamarie
mariechristine
johnsmith
johnjoseph smith
john
smith... (8 Replies)
Hello,
I am sorry if the title is confusing, but I need a script to grep a list of Names from a Source file in a Master database in which all the homophonic variants of the name are listed along with a single indexing key and store all of these in an output file. I need this because I am testing... (4 Replies)
Hi ,
I need to count the number of errors associated with the two words occurring in the file. It's about counting the occurrences of the word "error" for where is the word "index.js". As such the command should look like. Please kindly help. I was trying: grep "error" log.txt | wc -l (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)
Hello,
I would like to change my setting in a file to the setting that user input.
For example, by default it is
ONBOOT=ON
When user key in "YES", it would be
ONBOOT=YES
--------------
This code only adds in the entire user input, but didn't replace it.
How do i go about... (5 Replies)
Hi All,
I need one help to replace particular words in file based on if finds another words in that file .
i.e.
my self is peter@king.
i am staying at north sydney.
we all are peter@king.
How to replace peter to sham if it finds @king in any line of that file.
Please help me... (8 Replies)
Discussion started by: Rajib Podder
8 Replies
LEARN ABOUT CENTOS
wnstats
WNSTATS(7) WordNettm WNSTATS(7)NAME
wnstats - WordNet 3.0 database statistics
DESCRIPTION
Number of words, synsets, and senses
+----------+---------+---------+------------------+
| POS | Unique | Synsets | Total |
| | Strings | | Word-Sense Pairs |
+----------+---------+---------+------------------+
|Noun | 117798 | 82115 | 146312 |
|Verb | 11529 | 13767 | 25047 |
|Adjective | 21479 | 18156 | 30002 |
|Adverb | 4481 | 3621 | 5580 |
+----------+---------+---------+------------------+
|Totals | 155287 | 117659 | 206941 |
+----------+---------+---------+------------------+
Polysemy information
+----------+------------------+------------+------------+
| POS | Monosemous | Polysemous | Polysemous |
| | Words and Senses | Words | Senses |
+----------+------------------+------------+------------+
|Noun | 101863 | 15935 | 44449 |
|Verb | 6277 | 5252 | 18770 |
|Adjective | 16503 | 4976 | 14399 |
|Adverb | 3748 | 733 | 1832 |
+----------+------------------+------------+------------+
|Totals | 128391 | 26896 | 79450 |
+----------+------------------+------------+------------+
+----------+----------------------------+----------------------------+
| POS | Average Polysemy | Average Polysemy |
| | Including Monosemous Words | Excluding Monosemous Words |
+----------+----------------------------+----------------------------+
|Noun | 1.24 | 2.79 |
|Verb | 2.17 | 3.57 |
|Adjective | 1.40 | 2.71 |
|Adverb | 1.25 | 2.50 |
+----------+----------------------------+----------------------------+
NOTES
Statistics for all types of adjectives and adjective satellites are combined.
The total of all unique noun, verb, adjective, and adverb strings is actually 147278. However, many strings are unique within a syntactic
category, but are in more than one syntactic category. The figures in the table represent the unique strings in each syntactic category.
WordNet 3.0 Dec 2006 WNSTATS(7)