Package wordnet. January 6, 2016



Similar documents
Package searchconsoler

Package date. R topics documented: February 19, Version Title Functions for handling dates. Description Functions for handling dates.

Visualizing WordNet Structure

Package retrosheet. April 13, 2015

Package pdfetch. R topics documented: July 19, 2015

Latin WordNet project

Package OECD. R topics documented: January 17, Type Package Title Search and Extract Data from the OECD Version 0.2.

An Efficient Database Design for IndoWordNet Development Using Hybrid Approach

Package uptimerobot. October 22, 2015

Package hive. July 3, 2015

Package urltools. October 11, 2015

Package TSfame. February 15, 2013

Package sendmailr. February 20, 2015

Package hive. January 10, 2011

Secure semantic based search over cloud

Package RedditExtractoR

Package sjdbc. R topics documented: February 20, 2015

C o p yr i g ht 2015, S A S I nstitute Inc. A l l r i g hts r eser v ed. INTRODUCTION TO SAS TEXT MINER

Package whoapi. R topics documented: June 26, Type Package Title A 'Whoapi' API Client Version Date Author Oliver Keyes

ANALYSIS OF LEXICO-SYNTACTIC PATTERNS FOR ANTONYM PAIR EXTRACTION FROM A TURKISH CORPUS

ISSN: Sean W. M. Siqueira, Maria Helena L. B. Braz, Rubens Nascimento Melo (2003), Web Technology for Education

Package LexisPlotR. R topics documented: April 4, Type Package

12 FIRST QUARTER. Class Assignments

Stock Market Prediction Using Data Mining

Package syuzhet. February 22, 2015

Natural Language Database Interface for the Community Based Monitoring System *

ONTOLOGIES A short tutorial with references to YAGO Cosmina CROITORU

Natural Language Processing. Part 4: lexical semantics

Going Faster: Testing The Web Application. By Adithya N. Analysis and Testing of Web Applications Filippo Ricca and Paolo Tonella

Comparing Ontology-based and Corpusbased Domain Annotations in WordNet.

Package mpa. R topics documented: February 15, Type Package. Title CoWords Method. Version Date

Clustering Connectionist and Statistical Language Processing

Package polynom. R topics documented: June 24, Version 1.3-8

WordNet Website Development And Deployment Using Content Management Approach

ONLINE ENGLISH LANGUAGE RESOURCES

Language Lessons. Secondary Child

Package R4CDISC. September 5, 2015

Efficient Techniques for Improved Data Classification and POS Tagging by Monitoring Extraction, Pruning and Updating of Unknown Foreign Words

Sentiment Analysis of Movie Reviews and Twitter Statuses. Introduction

Rational Asset Analyzer Technology Preview

Exploiting Redundancy in Natural Language to Penetrate Bayesian Spam Filters

Facilitating Business Process Discovery using Analysis

Package decompr. August 17, 2016

Semantic analysis of text and speech

Exploiting Comparable Corpora and Bilingual Dictionaries. the Cross Language Text Categorization

Customer Intentions Analysis of Twitter Based on Semantic Patterns

BUSINESS COMMUNICATION. Competency: Grammar Task: Use a verb that correctly agrees with the subject of a sentence.

Package RCassandra. R topics documented: February 19, Version Title R/Cassandra interface

How To Write A Dissertation

Package cgdsr. August 27, 2015

Package hoarder. June 30, 2015

Package PKI. July 28, 2015

Package bizdays. March 13, 2015

Package jrvfinance. R topics documented: October 6, 2015

Package httprequest. R topics documented: February 20, 2015

Package AzureML. August 15, 2015

This image cannot currently be displayed. Course Catalog. Language Arts Glynlyon, Inc.

Package instar. November 10, 2015

Automatic assignment of Wikipedia encyclopedic entries to WordNet synsets

Package PKI. February 20, 2013

Building a Question Classifier for a TREC-Style Question Answering System

3 Business. and Money

Recognizing PL/SQL Lexical Units. Copyright 2007, Oracle. All rights reserved.

Automated Chat Generator

Manage Workflows. Workflows and Workflow Actions

Online Resources to Help Students Review for the VPT-English

The Prolog Interface to the Unstructured Information Management Architecture

A Writer s Reference, Seventh Edition Diana Hacker Nancy Sommers

CSE 308. Coding Conventions. Reference

Managing Qualys Scanners

Sense-Tagging Verbs in English and Chinese. Hoa Trang Dang

Adjectives and Adverbs. Adjectives and adverbs modify (describe, make more definite) other parts of speech.

Package fimport. February 19, 2015

APA-Style Guidelines. Content

Lesson Plan. Date(s)... M Tu W Th F

Converging Web-Data and Database Data: Big - and Small Data via Linked Data

SCHOLARSHIP OVERVIEW... & & 2 LOGGING IN TO OPEN SCHOLARSHIP... 2 SUBMITTING YOUR THESIS...

NaviCell Data Visualization Python API

Package translater. R topics documented: February 20, Type Package

Livingston Public Schools Scope and Sequence K 6 Grammar and Mechanics

Computer Standards & Interfaces

Zend Server 4.0 Beta 2 Release Announcement What s new in Zend Server 4.0 Beta 2 Updates and Improvements Resolved Issues Installation Issues

UIC at TREC-2004: Robust Track

GUESSING BY LOOKING AT CLUES >> see it


English. Universidad Virtual. Curso de sensibilización a la PAEP (Prueba de Admisión a Estudios de Posgrado) Parts of Speech. Nouns.

Transcription:

Title WordNet Interface Version 0.1-11 Package wordnet January 6, 2016 An interface to WordNet using the Jawbone Java API to WordNet. WordNet (<http://wordnet.princeton.edu/>) is a large lexical database of English. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations. Please note that WordNet(R) is a registered tradename. Princeton University makes WordNet available to research and commercial users free of charge provided the terms of their license (<http://wordnet.princeton.edu/wordnet/license/>) are followed, and proper reference is made to the project using an appropriate citation (<http://wordnet.princeton.edu/wordnet/citing-wordnet/>). Imports rjava (>= 0.6-3) SystemRequirements Java (>= 5.0); WordNet database files (direct download: <http://wordnetcode.princeton.edu/3.0/wndb-3.0.tar.gz>; Debian and Fedora package: wordnet) License MIT + file LICENSE URL http://wordnet.princeton.edu/, https://sites.google.com/site/mfwallace/jawbone NeedsCompilation no Author [aut], Kurt Hornik [aut, cre], Mike Wallace [ctb, cph] (Jawbone Java WordNet API library) Maintainer Kurt Hornik <Kurt.Hornik@R-project.org> Repository CRAN Date/Publication 2016-01-06 17:50:39 R topics documented: getdict............................................ 2 1

2 getdict getdictinstance....................................... 3 getfiltertypes........................................ 3 getindexterms....................................... 4 getlemma.......................................... 5 getrelatedsynsets...................................... 6 getsynonyms........................................ 7 getsynsets.......................................... 8 gettermfilter........................................ 9 getword........................................... 10 initdict........................................... 11 setdict............................................ 12 synonyms.......................................... 13 Index 14 getdict Get Default Dictionary The package wordnet tries to locate a valid WordNet installation on start up by investigating the WNHOME environment variable and by trying default installation locations. On success it acquires a pointer to the actual WordNet dictionary and stores internally a reference to the dictionary instance. getdict returns this default reference. getdict() Details You can manually point the package to the WordNet installation via setdict. A dictionary instance. C. Fellbaum (1998). WordNet: An Electronic Lexical Database. Cambridge, MA: MIT Press. http://mitpress.mit.edu/books/wordnet

getdictinstance 3 if(initdict()) getdict() getdictinstance Get a Dictionary Instance Returns an instance to a WordNet dictionary. getdictinstance() A dictionary object. if(initdict()) getdictinstance() getfiltertypes Get Available Filter Types Get available filter types. getfiltertypes() A character vector with available filter types.

4 getindexterms getfiltertypes() getindexterms Get Index Terms Get index terms from a WordNet dictionary as specified by a filter. getindexterms(pos, maxlimit, filter) pos maxlimit filter Part of speech type. Must be either "ADJECTIVE", "ADVERB", "NOUN", or "VERB". Maximum number of results. A term filter (see gettermfilter). A list of index terms. if(initdict()) { filter <- gettermfilter("startswithfilter", "car", TRUE) getindexterms("noun", 5, filter) }

getlemma 5 getlemma Get Index Term Lemma Retrieve the lemma (i.e., word) of an index term. getlemma(indexterm) indexterm The index term whose lemma is returned. A character vector holding the index term lemma. See Also getindexterms if(initdict()) { filter <- gettermfilter("startswithfilter", "car", TRUE) terms <- getindexterms("noun", 5, filter) sapply(terms, getlemma) }

6 getrelatedsynsets getrelatedsynsets Get Related Synsets for a Synset Get related synsets for a given synset based on a pointer symbol. getrelatedsynsets(synset, pointersymbol) synset pointersymbol Basic synset. A symbol indicating the type of the related synsets. An overview is available at http://wordnet.princeton.edu/man/wnsearch.3wn.html#sect4. A list of synsets. See Also getsynsets if(initdict()) { filter <- gettermfilter("exactmatchfilter", "hot", TRUE) terms <- getindexterms("adjective", 5, filter) synsets <- getsynsets(terms[[1]]) related <- getrelatedsynsets(synsets[[1]], "!") sapply(related, getword) }

getsynonyms 7 getsynonyms Get Synonyms for an Index Term Get synonyms for a given index term. getsynonyms(indexterm) indexterm The input index term. A character vector holding the synonyms for the given index term. See Also getindexterms if(initdict()) { filter <- gettermfilter("exactmatchfilter", "company", TRUE) terms <- getindexterms("noun", 5, filter) getsynonyms(terms[[1]]) }

8 getsynsets getsynsets Get Synsets for an Index Term Get synsets for a given index term. getsynsets(indexterm) indexterm The input index term. A list of synsets. See Also getindexterms if(initdict()) { filter <- gettermfilter("exactmatchfilter", "hot", TRUE) terms <- getindexterms("adjective", 5, filter) getsynsets(terms[[1]]) }

gettermfilter 9 gettermfilter Get a Term Filter Get a term filter. gettermfilter(type, word, ignorecase) type word ignorecase Filter type. Available filters are "ContainsFilter", "EndsWithFilter", "ExactMatchFilter", "RegexFilter", "SoundFilter", "StartsWithFilter", and "WildcardFilter". Can also be a unique abbreviation of an available filter name. Term to be matched. Indicates whether lower and upper case are distinguished. A term filter. if(initdict()) gettermfilter("startswithfilter", "car", TRUE)

10 getword getword Get Synset Word Get the words in a synset. getword(synset) synset The synset whose words are returned. A character vector holding the words. See Also getsynsets if(initdict()) { filter <- gettermfilter("exactmatchfilter", "hot", TRUE) terms <- getindexterms("adjective", 5, filter) synsets <- getsynsets(terms[[1]]) related <- getrelatedsynsets(synsets[[1]], "!") sapply(related, getword) }

initdict 11 initdict Initialize Dictionary Initializes the WordNet dictionary using the Jawbone Java API to WordNet. initdict(pathdata = "") pathdata Path to the WordNet data files. Details In case the user supplied path is invalid the function tries to find the installation itself by investigating the WNHOME environment variable and by trying default installation locations. A logical value indicating whether a valid WordNet installation has been found. C. Fellbaum (1998). WordNet: An Electronic Lexical Database. Cambridge, MA: MIT Press. http://mitpress.mit.edu/books/wordnet ## Not run: initdict("/usr/local/wordnet-3.0/dict")

12 setdict setdict Set Default Dictionary The package wordnet tries to locate a valid WordNet installation on start up by investigating the WNHOME environment variable and by trying default installation locations. On success it acquires a pointer to the actual WordNet dictionary and stores internally a reference to the dictionary instance. However, if this procedure does not work automatically in your environment, you can provide the path to the WordNet installation and set the internal default reference via this function. setdict(pathdata) pathdata Path to the WordNet data files. A dictionary instance. C. Fellbaum (1998). WordNet: An Electronic Lexical Database. Cambridge, MA: MIT Press. http://mitpress.mit.edu/books/wordnet ## Not run: setdict("/usr/local/wordnet-3.0/dict")

synonyms 13 synonyms Get Synonyms for a Word Get synonyms for a given word. synonyms(word, pos) word pos The input word. Part of speech type. Must be either "ADJECTIVE", "ADVERB", "NOUN", or "VERB". A character vector holding the synonyms for the given word. See Also getsynonyms if(initdict()) synonyms("company", "NOUN")

Index Topic attribute getlemma, 5 Topic file getdict, 2 getdictinstance, 3 getfiltertypes, 3 getindexterms, 4 getrelatedsynsets, 6 getsynonyms, 7 getsynsets, 8 gettermfilter, 9 getword, 10 initdict, 11 setdict, 12 synonyms, 13 getdict, 2 getdictinstance, 3 getfiltertypes, 3 getindexterms, 4, 5, 7, 8 getlemma, 5 getrelatedsynsets, 6 getsynonyms, 7, 13 getsynsets, 6, 8, 10 gettermfilter, 4, 9 getword, 10 initdict, 11 setdict, 2, 12 synonyms, 13 14