def open!

	    unless connected?
		if @data_path.exist?
		    @connection = Rufus::Tokyo::Table.new(@data_path.to_s, :mode => 'r')
		    @connected = true
		else
		    @connected = false
		    raise BadWordnetDataset, "Failed to locate the tokyo words dataset at #{@data_path}. Please insure you have created it using the words gems provided 'build_wordnet' command."
		end
	    end
	    return nil

	end
def open!

	    unless connected?
		if @data_path.exist?
		    @connection = Rufus::Tokyo::Table.new(@data_path.to_s, :mode => 'r')
		    @connected = true
		else
		    @connected = false
		    raise BadWordnetDataset, "Failed to locate the tokyo words dataset at #{@data_path}. Please insure you have created it using the words gems provided 'build_wordnet' command."
		end
	    end
	    return nil

	end
Constructs a new tokyo ruby connector for use with the words wordnet class.

 @param [Pathname] data_path Specifies the directory within which constructed datasets can be found (tokyo index, evocations etc...)
 @param [Pathname] wordnet_path Specifies the directory within which the wordnet dictionary can be found.
 @return [PureWordnetConnection] A new wordnet connection.
 @raise [BadWordnetConnector] If an invalid connector type is provided.
 Causes the connection specified within the wordnet object to be reopened if currently closed.

 @raise [BadWordnetConnector] If an invalid connector type is provided.