Skip to content

own-pt/glosstag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordNet Gloss Corpus

This is a continuation of the project originally developed at Princeton, whose original files can be found this link or in the princeton branch of this repository.

See the releases page for the official releases.

What

This repository hosts a semantic concordance – a textual corpus (the WordNet glosses) and a lexicon (WordNet) where every content word in the corpus is linked to its sense(s) in the lexicon.

Why

There are several corpora with WordNet sense annotations (the SemCor, the senseval datases), but only by sense-tagging the WordNet itself can we guarantee that its definitional completeness – the property that all of its definitions only use words which are already defined by WordNet.

How

We are annotating the corpus using this tool. It depends on the gloss corpus in the format available in this repository. Details about the format itself can be found in the tool’s repository.

Release

cd data
split -l 1000 -a 2 annotation.json annotation-
for f in annotation-??; do mv $f $f.jl; done

Checking

Number of tokens per kind:

for f in *.jl ; do jq -r ".tokens | .[] | .kind | .[0] " $f; done | sort | uniq -c

extracting word forms:

for f in *.new; do jq -r ".tokens|.[] |.form " $f ; done | sort | uniq -c | sort -nr >> ../words.txt

Statistics

globs

sense tagged532120.94
not sense tagged33500.06
total taggable565621.00

among the sense tagged ones, two last lines are errors:

39864auto
13348man

word forms

sense tagged4480910.56
not sense tagged3340680.43
total taggable7922811.00

among the token tagged:

126940auto
321151man