Portable version of CLAN

26 views
Skip to first unread message

Nick Riches

unread,
Apr 25, 2017, 4:18:28 AM4/25/17
to chibolts
Hi

Is it possible to make a portable version of CLAN (i.e. which runs off a USB stick?) I'm teaching CLAN in computing clusters where software is not regularly updated, and therefore the version of CLAN is often out of date. It would be much simpler to have a version which can be run off a USB stick. This would also help students by allowing them to work on almost any computer across the campus.

I created a portable prototype by copying the CLAN folder from 'Programs' (under windows) to a USB stick. I run clan by clicking on CLAN.exe. At first glance, it seems to run okay, but there are some bizarre quirks. For example, when I run a mor analysis, and open the file, I cannot see the 'mor' tiers.

Thanks

Nick

Leonid Spektor

unread,
Apr 26, 2017, 11:16:04 AM4/26/17
to chib...@googlegroups.com
Nick,

The instruction in 0hide.cut file are for the version of CLAN that the 0hide.cut file came with. We have changed that format few years ago and newer versions of CLAN require 0hide.cut file to have different format. Try changing 0hide.cut file by putting # character at the beginning of the line. 

I know that my email did not show in chibolts. For some reason I was removed from chibolts list and I could post there. This message will go chibolts.

Leonid~

On Apr 26, 2017, at 07:58, Nick Riches <nick....@gmail.com> wrote:

Thanks Leonid

The speed of the program is not an issue. The most important consideration is to provide a flexible computing environment for the students so that they can work on most campus terminals. The mor lines are definitely hidden, as they're observable in Notepad. I've just checked the 0hide.cut file on my portable copy, and it looks slightly different to yours;

@UTF8
% Comment lines have spaces after the %
% To hide a tier, just remove the space after the % from one or more of the following
% To stop hiding it, just put the space back
% err
% mor
% spa
% xgra

However, according to the instructions this shouldn't hide any tiers.

What I could do in future years is insist that the students download their own copy onto their own laptop, and then make sure that there is a single computer lab where we check to make sure that CLAN is completely updated. Any student not working on their own laptop would need to work in this lab.

All the best

Nick

(P.S. you've replied to my gmail account, and your response is not showing in chibolts)

On 25 April 2017 at 16:15, Leonid Spektor <spe...@andrew.cmu.edu> wrote:

Nick,

CLAN can be run from any storage area. Running it from USR stick will make the program run very slow, because CLAN has to access files, either data or preferences, very often. When CLAN is installed for the first time its working directory and its library are set to location where it was installed. To make CLAN work correctly in any other installation location you need to make sure that directories in "Commands" window are set to the right location.

If you ran MOR command successfully without CLAN giving you any error message, then %mor tiers should be in the output file. Clan has an option of hiding some tiers when displaying a file. Try opening output file with Notepad or MS Word or any plain text editor. If you see %mor tiers, then CLAN has just simply hidden them when opening file in CLAN. Look in "Commands" window next to "lib" button to see where the library files are. In that directory there will be file "0hide.cut". It is possible that is has an older format that is incompatible with the new CLAN. This is why CLAN should never be copied, but instead installed using CLAN installer.  That file should look like this:

#Comment lines start with the # sign
#Tiers with the # sign at the beginning will be shown
#To hide a tier, just remove the # sign
#%err
#%mor
#%spa
#%xgra


The other thing you can do is to place CLAN installer on USR stick and have students install CLAN on their computers from USR stick.



Leonid.

On Apr 25, 2017, at 06:02, Brian MacWhinney <ma...@cmu.edu> wrote:

Leonid,
     I think it would be best for you to respond.  I would have said that this is only a problem on Windows, not Mac.  I am not sure how to address it on Windows.  Maybe you have an idea.  If not, you could point out to him that he could put the installer on the USB and then students could install from there.
 
--Brian
-- 
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe@googlegroups.com.
To post to this group, send email to chib...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/5d7aebfb-c50b-416b-b57a-9d9e24340dc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




--
Lecturer in Speech and Language Pathology
Room 1.9
King George VI Building
Queen Victoria Road
University of Newcastle-upon Tyne
NE1 7RU

0191 222 8720
Reply all
Reply to author
Forward
0 new messages