Removed column tracking event noise
This commit is contained in:
parent
ca80b2e2ae
commit
88184157c5
|
@ -207,7 +207,6 @@ public class FourCornerZionStenoLexer {
|
||||||
}
|
}
|
||||||
inputIndex++;
|
inputIndex++;
|
||||||
currCol++;
|
currCol++;
|
||||||
fireSignals.fireStateColumn(currCol);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -691,7 +690,6 @@ public class FourCornerZionStenoLexer {
|
||||||
lexer.currLine++;
|
lexer.currLine++;
|
||||||
lexer.currCol = 0;
|
lexer.currCol = 0;
|
||||||
lexer.fireSignals.fireStateLine(lexer.currLine);
|
lexer.fireSignals.fireStateLine(lexer.currLine);
|
||||||
lexer.fireSignals.fireStateColumn(lexer.currCol);
|
|
||||||
lexer.handler.strobeWord(FourCornerDotCake.FC_F4TTY0001_NL, 0); // new line
|
lexer.handler.strobeWord(FourCornerDotCake.FC_F4TTY0001_NL, 0); // new line
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,8 +30,6 @@ public interface FourCornerZionStenoLexerFire {
|
||||||
|
|
||||||
void fireStateLine(int line);
|
void fireStateLine(int line);
|
||||||
|
|
||||||
void fireStateColumn(int column);
|
|
||||||
|
|
||||||
void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast);
|
void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast);
|
||||||
|
|
||||||
void fireStateNCR1632BankSparkler(boolean magic);
|
void fireStateNCR1632BankSparkler(boolean magic);
|
||||||
|
@ -44,10 +42,6 @@ public interface FourCornerZionStenoLexerFire {
|
||||||
default void fireStateLine(int line) {
|
default void fireStateLine(int line) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
default void fireStateColumn(int column) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast) {
|
default void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -124,6 +124,7 @@ public class KanjiDict {
|
||||||
mean = mean.split("&")[0];
|
mean = mean.split("&")[0];
|
||||||
mean = mean.split("/")[0];
|
mean = mean.split("/")[0];
|
||||||
mean = mean.trim();
|
mean = mean.trim();
|
||||||
|
mean = mean.toLowerCase();
|
||||||
for (String rm : new String[] {"*","."}) {
|
for (String rm : new String[] {"*","."}) {
|
||||||
if (mean.contains(rm)) {
|
if (mean.contains(rm)) {
|
||||||
mean = "";
|
mean = "";
|
||||||
|
|
|
@ -31,7 +31,6 @@ package org.x4o.fc18.zion7;
|
||||||
public class TestFireWalker implements FourCornerZionStenoLexerFire.Adapter {
|
public class TestFireWalker implements FourCornerZionStenoLexerFire.Adapter {
|
||||||
|
|
||||||
int currentLine;
|
int currentLine;
|
||||||
int currentColumn;
|
|
||||||
int scanBlockStart;
|
int scanBlockStart;
|
||||||
int scanBlockStop;
|
int scanBlockStop;
|
||||||
int scanMatchPoint;
|
int scanMatchPoint;
|
||||||
|
@ -44,7 +43,6 @@ public class TestFireWalker implements FourCornerZionStenoLexerFire.Adapter {
|
||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
currentLine = 0;
|
currentLine = 0;
|
||||||
currentColumn = 0;
|
|
||||||
scanBlockStart = 0;
|
scanBlockStart = 0;
|
||||||
scanMatchPoint = 0;
|
scanMatchPoint = 0;
|
||||||
scanMatchPoint = 0;
|
scanMatchPoint = 0;
|
||||||
|
@ -57,11 +55,6 @@ public class TestFireWalker implements FourCornerZionStenoLexerFire.Adapter {
|
||||||
currentLine = line;
|
currentLine = line;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void fireStateColumn(int column) {
|
|
||||||
currentColumn = column;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast) {
|
public void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast) {
|
||||||
scanBlockStart = blockStart;
|
scanBlockStart = blockStart;
|
||||||
|
|
Loading…
Reference in a new issue