Example #1
0
        public BlairCognateIdentifier(SegmentPool segmentPool, bool ignoreRegularInsertionDeletion, bool regularConsEqual,
			bool automaticRegularCorrespondenceThreshold, int defaultRegularCorrepondenceThreshold, ISegmentMappings ignoredMappings, ISegmentMappings similarSegments)
        {
            _segmentPool = segmentPool;
            _ignoreRegularInsertionDeletion = ignoreRegularInsertionDeletion;
            _regularConsEqual = regularConsEqual;
            _ignoredMappings = ignoredMappings;
            _similarSegments = similarSegments;
            _automaticRegularCorrespondenceThreshold = automaticRegularCorrespondenceThreshold;
            _defaultRegularCorrepondenceThreshold = defaultRegularCorrepondenceThreshold;
            if (_automaticRegularCorrespondenceThreshold)
                _regularCorrespondenceThresholdTable = new RegularSoundCorrespondenceThresholdTable();
        }
Example #2
0
 public BlairCognateIdentifier(SegmentPool segmentPool, bool ignoreRegularInsertionDeletion, bool regularConsEqual,
                               bool automaticRegularCorrespondenceThreshold, int defaultRegularCorrepondenceThreshold, ISegmentMappings ignoredMappings,
                               ISegmentMappings similarSegments)
 {
     _segmentPool = segmentPool;
     IgnoreRegularInsertionDeletion = ignoreRegularInsertionDeletion;
     RegularConsonantEqual          = regularConsEqual;
     IgnoredMappings = ignoredMappings;
     SimilarSegments = similarSegments;
     AutomaticRegularCorrespondenceThreshold = automaticRegularCorrespondenceThreshold;
     DefaultRegularCorrespondenceThreshold   = defaultRegularCorrepondenceThreshold;
     if (AutomaticRegularCorrespondenceThreshold)
     {
         _regularCorrespondenceThresholdTable = new RegularSoundCorrespondenceThresholdTable();
     }
 }