Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Which package contains a word database or dictionary with part of speech information?

Writer Emily Wong

The homepage for the scowl package says at

SCOWL (...) is a database of information on English words (...) The database primary contains information on (...) (basic) part-of-speech and (...)

And at

A typical entry will look like
WORD V: WORDed, WORed 2, WORD {EXPL} | WORDing, WORing 2 | WORDs
<pos> is V for verb, N for noun, or A or adjective or adverb.

This is exactly what I'm looking for. However, the mentioned file infl.txt doesn't seem to be part of the package? And doesn't seem to be part of any other package?

Which package does contain this file and/or is there any other package which contains a file with similar contents? (Doesn't matter which package, scowl is only the first one, I found.)

2

1 Answer

Alright, I found one:

wordnet which installs four files /usr/share/wordnet/index.adj, /usr/share/wordnet/index.adv, /usr/share/wordnet/index.noun and /usr/share/wordnet/index.verb for adjectives, adverbs, nouns and verbs, respectively.

The documentation at explains the file format:

Index File Format

Each index file begins with several lines containing a copyright notice, version number, and license agreement. These lines all begin with two spaces and the line number so they do not interfere with the binary search algorithm that is used to look up entries in the index files. All other lines are in the following format. In the field descriptions, number always refers to a decimal integer unless otherwise defined.

lemma pos synset_cnt p_cnt [ptr_symbol...] sense_cnt tagsense_cnt synset_offset [synset_offset...]

(...)

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy