def synset(synset_id)

	    raise NoWordnetConnection, "There is presently no connection to wordnet. To attempt to reistablish a connection you should use the 'open!' command on the Wordnet object." unless connected?

	    pos = synset_id[0,1]
	    File.open(@wordnet_path + "data.#{SHORT_TO_POS_FILE_TYPE[pos]}","r") do |file|
		file.seek(synset_id[1..-1].to_i)
		data_line, gloss = file.readline.strip.split(" | ")
		lexical_filenum, synset_type, word_count, *data_parts = data_line.split(" ")[1..-1]
		words = Array.new(word_count.to_i(16)).map { "#{data_parts.shift}.#{data_parts.shift}" }
		relations = Array.new(data_parts.shift.to_i).map { "#{data_parts.shift}.#{data_parts.shift}.#{data_parts.shift}.#{data_parts.shift}" }
		return { "synset_id" => synset_id, "lexical_filenum" => lexical_filenum, "synset_type" => synset_type, "words" => words.join('|'), "relations" => relations.join('|'), "gloss" => gloss.strip }
	    end

	end
def synset(synset_id)

	    raise NoWordnetConnection, "There is presently no connection to wordnet. To attempt to reistablish a connection you should use the 'open!' command on the Wordnet object." unless connected?

	    pos = synset_id[0,1]
	    File.open(@wordnet_path + "data.#{SHORT_TO_POS_FILE_TYPE[pos]}","r") do |file|
		file.seek(synset_id[1..-1].to_i)
		data_line, gloss = file.readline.strip.split(" | ")
		lexical_filenum, synset_type, word_count, *data_parts = data_line.split(" ")[1..-1]
		words = Array.new(word_count.to_i(16)).map { "#{data_parts.shift}.#{data_parts.shift}" }
		relations = Array.new(data_parts.shift.to_i).map { "#{data_parts.shift}.#{data_parts.shift}.#{data_parts.shift}.#{data_parts.shift}" }
		return { "synset_id" => synset_id, "lexical_filenum" => lexical_filenum, "synset_type" => synset_type, "words" => words.join('|'), "relations" => relations.join('|'), "gloss" => gloss.strip }
	    end

	end
Locates from a synset_id a specific synset and constructs a synset hash.

 @param [String] synset_id The synset id to locate.
 @result [Hash, nil] A hash in the format { "synset_id" => ..., "lexical_filenum" => ..., "synset_type" => ..., "words" => ..., "relations" => ..., "gloss" => ... }, or nil if no synset is available.
 @raise [NoWordnetConnection] If there is currently no wordnet connection.