Quotation marks in stimulus .txt file

Cognitology mspape at cognitology.eu
Wed Feb 13 12:54:24 UTC 2013


Hi,

Just to nitpick and maybe future help: 

·         Excel-files do not store ascii. I suspect you mean you exported
from Excel to tab-delimited text file (as you actually say a bit later on).
This is important because it probably means that something in the conversion
went awry. 

·         The quotation marks are quite unlikely to appear random unless you
run Office for Quantum Computer. A quotation mark can appear if a number in
excel, stored in a “general format” cell, is to be treated as text: I.e. 128
is a number, ‘128 are three letters. The trick is to accurately set the cell
format, or:

·         Open .txt (or whatever the file is) in notepad, hit CONTROL+H,
enter replace [‘] to [] (i.e. one quotation mark to nothing), save. Sounds
dumb, but I love doing it this way, same goes for converting stuff to SPSS.
This should not mess up the columns.

 

Best,

Michiel

 

From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf
Of Justine VanDyke
Sent: 12. February 2013 23:08
To: e-prime at googlegroups.com
Subject: Re: Quotation marks in stimulus .txt file

 

Hi,

Thanks for your reply. To clarify:

-yes, I have text in an Excel file. 

-yes, randomly quotation marks occur around certain words (not present in
the Excel file).

-this occurs when I 'Save As' a .txt file. 

-yes, I am 'loading' a file using Load Method "File".

-yes, certain words (meaning 'some') have quotations. 

Apologies that that wasn't clear. 

I solved the problem by copying and pasting from Excel into a .txt file;
however, it's good to know that this is not necessary and that I can load
directly from Excel.

Many thanks. 

On Tue, Feb 12, 2013 at 3:06 PM, David McFarlane <mcfarla9 at msu.edu> wrote:

Justine,

I am having a bit of trouble following this.  Do you mean that
- you have text in an Excel file
- the text in the Excel file does not contain any quotation marks
- you convert the Excel file to a .txt file (how do you do that?)
- the resulting .txt file now has quotation marks around some (all?) of the
text
- you use the .txt file as input to an EP List (using Load Method "File")
- and now (some? all?) the text stimuli are enclosed in quotation marks?

Please clarify.

BTW, if you use EP2.0.10.x or later, a List can load from an Excel file
directly, no need to convert it to .txt first.

-----
David McFarlane
E-Prime training online:
http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter:  @EPrimeMaster (https://twitter.com/EPrimeMaster)

/----
Stock reminder:  1) I do not work for PST.  2) PST's trained staff take any
and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp ,
and they strive to respond to all requests in 24-48 hours, so make full use
of it.  3) In addition, PST offers several instructional videos on their
YouTube channel (http://www.youtube.com/user/PSTNET ).  4) If you do get an
answer from PST staff, please extend the courtesy of posting their reply
back here for the sake of others.
\----





At 2/12/2013 02:27 PM Tuesday, you wrote:

Hello,

I have a .txt ffile that I am loading stimuli from in an E-Prime experiment.
The stimuli consist of sentences (text). During experimental presentation,
randomly, quotation marks appear around certain words that are not present
on the Excel file from which I have created the .txt. I assume this is
something to do with saving in the tab-delimited format, and I wondered
whether anyone has a solution.

If I simply delete the quotations from the .txt file, then I am concerned
that I will mess up the tab-structure.

Thanks,

Justine VanDyke
Postdoctoral Research Assistant
Language Processing Lab
Institute for Mind and Brain
University of South Carolina


-- 
You received this message because you are subscribed to the Google Groups
"E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to e-prime+unsubscribe at googlegroups.com
<mailto:e-prime%2Bunsubscribe at googlegroups.com> .
To post to this group, send email to e-prime at googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



 

-- 
You received this message because you are subscribed to the Google Groups
"E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130213/229e6c73/attachment.htm>


More information about the Eprime mailing list