Class CheckTranscripts
java.lang.Object
ca.phon.session.check.CheckTranscripts
- All Implemented Interfaces:
IPluginExtensionPoint<SessionCheck>,SessionCheck
public class CheckTranscripts
extends Object
implements SessionCheck, IPluginExtensionPoint<SessionCheck>
Check IPA transcriptions for a session.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclass -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckSession(SessionValidator validator, Session session, Transcriber transcriber) Check session and report any issues using the given validator.booleancheckTranscriptElement(SessionValidator validator, Session session, int eleIdx, Transcriber transcriber) Check specified transcript element index for issues.Class<?> Get type of extensionGet factory for extension point objectsbooleanvoidloadProperties(Properties props) booleanPerform check by default in session editor and session check wizard.voidsetResetSyllabification(boolean resetSyllabification) voidsetSyllabifierLang(String syllabifierLang)
-
Field Details
-
RESET_SYLLABIFICATION
-
DEFAULT_RESET_SYLLABIFICATION
public static final boolean DEFAULT_RESET_SYLLABIFICATION- See Also:
-
SYLLABIFIER_LANG
-
DEFAULT_SYLLABIFIER_LANG
-
-
Constructor Details
-
CheckTranscripts
public CheckTranscripts()
-
-
Method Details
-
isResetSyllabification
public boolean isResetSyllabification() -
setResetSyllabification
public void setResetSyllabification(boolean resetSyllabification) -
getSyllabifierLang
-
setSyllabifierLang
-
performCheckByDefault
public boolean performCheckByDefault()Description copied from interface:SessionCheckPerform check by default in session editor and session check wizard. This setting may be overridden by user settings in the Session Check view.- Specified by:
performCheckByDefaultin interfaceSessionCheck- Returns:
- true if check should execute during record editor start-up
-
checkSession
Description copied from interface:SessionCheckCheck session and report any issues using the given validator.- Specified by:
checkSessionin interfaceSessionCheck- Parameters:
validator- the session validatorsession- the session to checktranscriber- check transcripts for given transcriber, or validated transcripts if validator- Returns:
- true if session was modified, false otherwise
-
checkTranscriptElement
public boolean checkTranscriptElement(SessionValidator validator, Session session, int eleIdx, Transcriber transcriber) Description copied from interface:SessionCheckCheck specified transcript element index for issues.- Specified by:
checkTranscriptElementin interfaceSessionCheck- Parameters:
validator- the session validatorsession- the session to checkeleIdx- the transcript element index to checktranscriber- check transcripts for given transcriber, or validated transcripts if validator- Returns:
- true if issues were found, false otherwise
-
getExtensionType
Description copied from interface:IPluginExtensionPointGet type of extension- Specified by:
getExtensionTypein interfaceIPluginExtensionPoint<SessionCheck>
-
getFactory
Description copied from interface:IPluginExtensionPointGet factory for extension point objects- Specified by:
getFactoryin interfaceIPluginExtensionPoint<SessionCheck>
-
getProperties
- Specified by:
getPropertiesin interfaceSessionCheck
-
loadProperties
- Specified by:
loadPropertiesin interfaceSessionCheck
-
getQuickFixes
-