Sound Change Appliers
Anthologica Universe Atlas / Forums / Miscellaneria / Sound Change Appliers

? KathTheDragon Beware the Dragon
posts: 92
, Baroness of United Kingdom
message
So if I wanted to do CVN > NCV, I would use CVN > $3$1$2, yes?
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
Yeah, that looks  right.

Also note, however,  that some aspects of error reporting with respect to the new functionality might not be very good.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
Metathesis - Beta Update
https://drive.google.com/file/d/0B0yPt9F6jiAbWWhqNk1zZmIxVVk/edit?usp=sharing

README is here https://github.com/sfmorrigan/toolbox-sca

You can now use indices on variables as well as vanilla backrefs. For example
C = p t k
G = b d g
N = m n  

CN > $2$G1

lets you do both metathesis of plosives and nasals, but also change C > G in a single rule. You  actually can't use parentheses here, but it might be a good idea for me to allow that.  Or, make them mandatory, since automatically recording the index of every variable might be annoying, as in the CVN example, where you don't actually need to do anything with the V.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
Metathesis Full Release
I just merged the Metathesis changes into the main development branch. I've added some consistency checks, so SCA should fail during rule compilation if there is a problem with your indices. I actually don't check something I should yet, which is as follows:
C = p t k
G = b d
N = m n  
CN > $2$G1
Note that C has more elements than G. This is something I should add, but haven't partly because I don't represent this mapping very well in the Rule object right now.

Toolbox SCA Download (2014/9/28)
Manual

My next effort will probably be to set up filehandles for reading and writing lexicons and the importing of rule files within one another.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
So, I take it nobody is having problems? Or using it at all? And Rhetorica is really busy?

I'll probably be adding scripting capabilities next, where you can load script files and use filehandles for lexicons and that type of stuff.
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
I haven't been doing a whole lot of conlanging in the past few weeks; I haven't touched the language I was testing this with. I'm also kind of waiting for a GUI like SCA2 has.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
Enjoy eternity.
? Rhetorica Your Writing System Sucks
posts: 1292
, Kelatetía of Space
message
Not eternity! Just... the time between now and when I become a productive member of society. That's totally different. totally
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
That's fair, I just don't do GUIs; beyond syntax highlighting, I don't really see much of a point for this tool, at least as a stand-alone application.
? Nessari ?????? ?????? ????????
posts: 932
, Illúbequía, Seattle, Cascadia
message
quoting Rhetorica, Duchess of Space:
Not eternity! Just... the time between now and when I become a productive member of society. That's totally different. totally

You're already there hon. At least as far as I'm concerned
? Pthagnar Benedictine Ovulation
posts: 209
, Quaestor Foraminis Aspirationis
message
society is bigger than you
? Torco Learner of Stuff
posts: 220
, Conversational Speaker message
bigger is you society than
? Jipí der saz ûf eime steine
posts: 291
, Transition Metal on exhibit in Victoria, Canada
message
In Soviet Russia, society is bigger than you.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
So far, it looks like file handles for lexicons and importing or executing other rule scripts is gonna be pretty easy.

I'd made allowances in the code (when you currently load a lexicon, it's bound to a DEFAULT handle) to make this easy, and so far it's paying off. The IMPORT and EXECUTE commands are implemented but not tested, and I should be able to get the OPEN and CLOSE commands working tonight.
? Herra Ratatoskr posts: 7
, Foreigner message
Maybe a dumb question, but how does the system know what is and is not a diacritic? Do I just have to define all my character combos in variables at the beginning, or is there a list of recognized diacritic characters? Could I define an affricate like /tʃ/, so that the change t > d /_ wouldn't cause tʃ to become dʃ?

Also, can I change a sound into a diacritic? For example, let's say I wanted to make /a/ merge with a preceding /n/ to become syllabic, if the /n/ is preceded by a consonant. Could I do something like "a > ˳ / Cn_", or would I have to do "na > n˳ / C_" and just make syllabic and non-syllabic variables if I wanted to, say, make all resonants vocalic (giving a rule like "Ra > SR / C_", where R = "Resonants" and SR = "Syllabic Resonants").
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
Answers, and an Update
No, good questions, because it's not covered in the manual (at least not in any detail); the system uses Unicode character classes, for the most part. You can, however, use the RESERVE keyword to force the system to recognize digraphs as a single symbol, or you can use tie-bar characters t͡s.

You would have to do the latter; I sort of designed the SCA to force you to do that, since I think it makes the mechanics of the sound change more explicit and naturalistic. Maybe others would disagree.

Also, this might be a good time to mention that I basically completed the scripting functionality but haven't made a release of it yet. Mostly, I need to update the manual.
? Herra Ratatoskr posts: 7
, Foreigner message
Ah. How exactly is the RESERVE keyword work? Could you provide an example?

Also, I'm not yet as good with Unicode as I'd like to be. What exactly do you mean by Unicode character classes? I saw that there was a group of combining diacritics, but it didn't have ʰ in it, which I see you use often in your examples. Would I be safe just using IPA characters and diacritics? Thanks.
? Nessari ?????? ?????? ????????
posts: 932
, Illúbequía, Seattle, Cascadia
message
ʰ ʲ ʷ and such are all independent characters in Unicode, not diacritics.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
Oh crap, RESERVE isn't in the manual at all

So, it's pretty easy, just do like
RESERVE ts tl tsh kp
and it should work.

Ness: yeah, true, but I grab anything which is a diacritic, spacing modifier letter, combining mark... anything in classes LM, SK, MC, MN, and the ASCII superscripts and anything between decimal ranges 8304 and 8348, and between 860 and 866 (the tie-bars).

I need to be more explicit about this. And probably make a better manual, like a real web-page even.
? Nessari ?????? ?????? ????????
posts: 932
, Illúbequía, Seattle, Cascadia
message
Ah, k. I really want to start using this, just my lexica aren't in formats conducive to doing so, and converting them takes months (because staying on task is often impossible for me).
notices