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

? Nessari ?????? ?????? ????????
posts: 932
, Illúbequía, Seattle, Cascadia
message
Well its syntax is really hard to mess up, unless you spell the directory name wrong. Just cd SubdirectoryName.
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
quoting Morrígan:
yeah, that's weird. you can just put the commands into a batch file and run the batch. when I'm just tweaking rules and don't need to see any errors, that's what I generally do. Just put the

java -jar toolbox-sca.jar LEXICON.FILE RULES.FILE OUTPUT.FILE
stuff in a batch.

I'm in Windows 7, can't say I've had any problems with the command line, other than it just not being bash.

Ok, putting it in a batch makes it actually do something, but that something is an error I was only barely able to capture with a screenshot because the command line window is gone as fast as it comes.

haeduserror_zpsd2be3228.png
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
quoting Nessari:
Well its syntax is really hard to mess up, unless you spell the directory name wrong. Just cd SubdirectoryName.

Yeah, okay, it's not doing anything.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
I should probably have it write the logs to disk.


You're not starting from somewhere on C:\ and trying to do cd D:\My Stuff\Writing\... are you? Because you need to change drives first. This is the only context in which using "cd" would appear to do nothing.
? thelettermu posts: 262
, Groovy Cat message
quoting Matrix:
quoting Morrígan:
yeah, that's weird. you can just put the commands into a batch file and run the batch. when I'm just tweaking rules and don't need to see any errors, that's what I generally do. Just put the

java -jar toolbox-sca.jar LEXICON.FILE RULES.FILE OUTPUT.FILE
stuff in a batch.

I'm in Windows 7, can't say I've had any problems with the command line, other than it just not being bash.

Ok, putting it in a batch makes it actually do something, but that something is an error I was only barely able to capture with a screenshot because the command line window is gone as fast as it comes.

If they didn't change it, you can always append "cmd" or "pause" to the end of the batch file in order to keep the window opened afterwards.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
I started making some tickets for enhancements I intend to make. If anyone wishes to contribute to this project, I think you just need to request to do so on Github and I can approve you.
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
quoting Morrígan:
I should probably have it write the logs to disk.


You're not starting from somewhere on C:\ and trying to do cd D:\My Stuff\Writing\... are you? Because you need to change drives first. This is the only context in which using "cd" would appear to do nothing.

Okay, so how do I change drives?
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
type
d:
if you need to get to d:
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
Alright. That works, but I'm still getting this error:

haeduserror2_zpsbb5450ad.png
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
It looks like an an incorrectly formatted rule, as the error message indicates. There appears to not be anything after the transformation operator >

Can you attach the rules?
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
Oh. I think I know what it is.

This rule:

l > / V_ % Postvocalic l is lost.

How do I actually do that?
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
l > 0 / V_

Apparently this is not in the manual. I'll be preparing a new version.
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
Alright, that works, thanks.
? Nessari ?????? ?????? ????????
posts: 932
, Illúbequía, Seattle, Cascadia
message
Drive letters!

I remember those!
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
Welp, here's another error:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
        at org.haedus.soundchange.SoundChangeApplier.parse<SoundChangeApplier.java:137>
        at org.haedus.soundchange.SoundChangeApplier.<init><SoundChangeApplier.java:75>
        at org.haedus.soundchange.Main.main<Main.java:54>

And here's my rules:
K = k g ng
T = m p b f v n t d s z c j r l ny y
N = ḿ ń ŋ ñ ññ
C = T K
 
V = i ì e è a aì u aa o ou

l > 0 / V_ % Postvocalic l is lost.
om on ong ony onny > ḿ ń ŋ ñ ññ / _ % Relabeling the syllabic nasals.
i ì e è a aì > u u o o aa ou / K?_(K{T N #})? % Front vowels back after syllable-initial velars and before syllable-final velars.
u aa > ì a / {c j Cy}?_({c j Cy}{T N #})? % Back vowels front after syllable-initial 'palatals' and before syllable-final 'palatals'.
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
Odd, doesn't seem to be happening for me. I'll have to add some formatting checks for variable assignment.

By the way, your last two rules won't work, you have ()? expressions on both sides, meaning the rule can apply under any circumstances.
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
quoting Morrígan:
By the way, your last two rules won't work, you have ()? expressions on both sides, meaning the rule can apply under any circumstances.

Aw. Am I gonna have to split them into two rules each?
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
quoting Matrix:
quoting Morrígan:
By the way, your last two rules won't work, you have ()? expressions on both sides, meaning the rule can apply under any circumstances.

Aw. Am I gonna have to split them into two rules each?

For now. I'm going to add the ability to OR together multiple conditions in the future. However, I made a new release that might help with error reporting: https://drive.google.com/file/d/0B0yPt9F6jiAbMmVqemI5cUtmYms
? Matrix Chronicler of the Myriad
posts: 216
, Conversational Speaker message
"Error: Could not find or load class Main"
? Morrígan Witch Queen of New York
posts: 303
, Marquise message
How the hell. I already fixed that. Just a minute.

Somehow I lost the change that fixed this before. Anyway, I fixed it again and pushed the changes. I've also set up to create branches so I can compartmentalize the code changes for various functionalities.
notices