03-31-2013
Also, exit(666) makes no sense. It only takes numbers 1-127.
9 More Discussions You Might Find Interesting
1. Solaris
I've got a c++ program that works fine on Linux, compiles on Solaris fine with g++, but will not write to a fstream correctly in a class object.
And I've run into numerous other bugs in the disk management.
Jon (4 Replies)
Discussion started by: Joncamp
4 Replies
2. Shell Programming and Scripting
I have a question about how to get the exit code of the first command when it appears in a pipe-lined command.
For example, I have the following script:
grep abc dddd | tee -a log
if ]
then
echo "ERROR!"
fi
In the above script, ] is supposed to test the exit code of "grep abc... (3 Replies)
Discussion started by: pankai
3 Replies
3. Shell Programming and Scripting
I have a file called "library" with the following content
libnxrdbmgr.a
libnxrdbmgr.so
libnxtk.a
libnxtk.so
libora0d_nsc_osi.so
I am trying to locate if these libraries are on my machine or not. find command runs for about few seconds and hangs after this.
Can someone please help me and... (3 Replies)
Discussion started by: knijjar
3 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I could not find the exactly same post here.. so I will explain what I did to get the last month using date command.
I used
date +%Y-%m -d "-1 months"
to get the last month. However, the returned value of above command on 2009/10/31 was 2009 10 and not 2009 09.. and the... (9 Replies)
Discussion started by: tigersk
9 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am running the following command, and it tries to delete some dn from ldap, however, it takes lot of time before it finally request LDAP server to delete it.
I am trying to find why it is taking lot of time. Could you anyone help me in this regard. I have copies the pstack output, and... (3 Replies)
Discussion started by: john_prince
3 Replies
6. UNIX for Dummies Questions & Answers
Hi there can anyone help me
here is my code
echo "Type in a positive number"
read X
I=2
while
do
if
then
echo "It is not prime"
break
else
if
then
echo "It is prime"
break
else
I=$(( $I + 1))
fi
fi (4 Replies)
Discussion started by: FUTURE_EINSTEIN
4 Replies
7. Solaris
Hi,
I have Solaris-10 OS on T5220. Both local disks were mirrored under SVM. Somehow when one disk gone bad (c0t1d0), other disk (c0t0d0) also got lot of bad block. We have readable data only on c0t0d0, but as soon as server comes after, it hangs when I run few commands because of read errors,... (1 Reply)
Discussion started by: solaris_1977
1 Replies
8. UNIX for Beginners Questions & Answers
I am trying to compile the datastage jobs using the Execute Command stage in datastage 11 or any Routines if possible. My datastage is on Unix machine.
So, How can I Compile a datastage job in UNIX from command line or any Routines.
Please help me in doing so.
Thank you. (1 Reply)
Discussion started by: elena jessi
1 Replies
9. Shell Programming and Scripting
Hello guys,
I have an issue when trying to do an egrep -v on a file, let me show you.
I want to filter the last column as to where it filters out the columns with asterisks and zeros ( * and 0 ) it is working properly up to a certain point where I have a value of '10000' which is also getting... (3 Replies)
Discussion started by: evergreen
3 Replies
LEARN ABOUT DEBIAN
cntlist
CNTLIST(5WN) WordNettm File Formats CNTLIST(5WN)
NAME
cntlist - file listing number of times each tagged sense occurs in a semantic concordance, sorted most to least frequently tagged
cntlist.rev - file listing number of times each tagged sense occurs in a semantic concordance, sorted by sense key
DESCRIPTION
A cntlist file for a semantic concordance lists the number of times each semantically tagged sense occurs in the concordance and its sense
number in the WordNet database. Each line in the file corresponds to a sense in the WordNet database to which at least one semantic tag
points. Only senses that are tagged in a concordance are in the concordance's cntlist file.
WordNet Database cntlist File
In the WordNet database, words are assigned sense numbers based on frequency of use in semantically tagged corpora. The cntlist file used
by grind(1WN) to build the WordNet database and assign the sense numbers is a union of the cntlist files from the various semantic concor-
dances that were formerly released by Princeton University. This combined cntlist file is provided with the WordNet package and is found
in the WNSEARCHDIR directory.
The cntlist.rev file is used at run-time by the WordNet library code and browser interfaces to print in the output display the number of
times each sense has been tagged.
File Format
Each line in a cntlist file contains information for one sense. The file is ordered from most to least frequently tagged sense. The
fields are separated by one space, and each line is terminated with a newline character. Senses having the same tag_cnt value are listed
in reverse alphabetical order of the lemma field of the sense_key.
Each line in cntlist is of the form:
tag_cnt sense_key sense_number
where tag_cnt is the decimal number of times the sense is tagged in the corresponding semantic concordance. sense_key is a WordNet sense
encoding and sense_number is a WordNet sense number as described in
The cntlist.rev file contains the same fields described above, in the following order:
sense_key sense_number tag_cnt
NOTES
Princeton no longer maintains or releases the Semantic Concordance files. The cntlist file used to order the senses in WordNet 3.0 was
generated from the Semantic Concordance files at the point that they were last updated in 2001. In general, the order of senses presented
usually reflects what the user would expect, however sense ordering is now less reliable than in prior releases and should not be construed
as an accurate indicator of frequency of use.
ENVIRONMENT VARIABLES (UNIX)
WNHOME Base directory for WordNet. Default is /usr/local/WordNet-3.0.
WNSEARCHDIR Directory in which the WordNet database has been installed. Default is WNHOME/dict.
REGISTRY (WINDOWS)
HKEY_LOCAL_MACHINESOFTWAREWordNet3.0WNHome
Base directory for WordNet. Default is C:Program FilesWordNet3.0.
HKEY_CURRENT_USERSOFTWAREWordNet3.0wnres
User's default browser options.
FILES
cntlist, cntlist.rev
file of combined semantic concordance cntlist files. Used to assign sense numbers in WordNet database
SEE ALSO
grind(1WN), wnintro(5WN), senseidx(5WN).
WordNet 3.0 Dec 2006 CNTLIST(5WN)