Given that the format of wn_s.pl is equal to
s(112947045,1,'usance',n,1,0). s(200001742,1,'breathe',v,1,25).
A very crude way to do this would be to do the following in your terminal only to take lines from this file with the line ", n".
grep ",n," wn_s.pl > wn_s_nouns_only.pl
The wn_s_nouns_only.pl file will contain only those entries that are marked as nouns.
source share