Search Results for

    Show / Hide Table of Contents

    Interface IAlignableTranslationMemory

    Represents a translation memory.

    Inherited Members
    ITranslationMemory2015.TokenizerFlags
    ITranslationMemory2015.WordCountFlags
    ITranslationMemory.GetLanguageDirection(LanguagePair)
    ITranslationMemory.Save()
    ITranslationMemory.Delete()
    ITranslationMemory.HasPermission(String)
    ITranslationMemory.GetTranslationUnitCount()
    ITranslationMemory.ShouldRecomputeFuzzyIndexStatistics()
    ITranslationMemory.RecomputeFuzzyIndexStatistics()
    ITranslationMemory.SupportedLanguageDirections
    ITranslationMemory.Description
    ITranslationMemory.Copyright
    ITranslationMemory.CreationDate
    ITranslationMemory.CreationUserName
    ITranslationMemory.ExpirationDate
    ITranslationMemory.FieldDefinitions
    ITranslationMemory.LanguageResourceBundles
    ITranslationMemory.Recognizers
    ITranslationMemory.FuzzyIndexes
    ITranslationMemory.FuzzyIndexTuningSettings
    ITranslationMemory.FuzzyIndexStatisticsRecomputedAt
    ITranslationMemory.FuzzyIndexStatisticsSize
    ITranslationProvider.SupportsLanguageDirection(LanguagePair)
    ITranslationProvider.RefreshStatusInfo()
    ITranslationProvider.SerializeState()
    ITranslationProvider.LoadState(String)
    ITranslationProvider.StatusInfo
    ITranslationProvider.Uri
    ITranslationProvider.Name
    ITranslationProvider.SupportsTaggedInput
    ITranslationProvider.SupportsScoring
    ITranslationProvider.SupportsSearchForTranslationUnits
    ITranslationProvider.SupportsMultipleResults
    ITranslationProvider.SupportsFilters
    ITranslationProvider.SupportsPenalties
    ITranslationProvider.SupportsStructureContext
    ITranslationProvider.SupportsDocumentSearches
    ITranslationProvider.SupportsUpdate
    ITranslationProvider.SupportsPlaceables
    ITranslationProvider.SupportsTranslation
    ITranslationProvider.SupportsFuzzySearch
    ITranslationProvider.SupportsConcordanceSearch
    ITranslationProvider.SupportsSourceConcordanceSearch
    ITranslationProvider.SupportsTargetConcordanceSearch
    ITranslationProvider.SupportsWordCounts
    ITranslationProvider.TranslationMethod
    ITranslationProvider.IsReadOnly
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public interface IAlignableTranslationMemory : ITranslationMemory2015, ITranslationMemory, ITranslationProvider

    Properties

    AlignedPredatedTranslationUnitCount

    Gets the number of TUs that are postdated (added after creation of the model they were aligned with) and are now predated (a model exists created after they were added)

    Declaration
    int AlignedPredatedTranslationUnitCount { get; }
    Property Value
    Type Description
    System.Int32

    AlignerDefinition

    Gets the AlignerDefinition that has been set for this TM, or null if there is none

    Declaration
    AlignerDefinition AlignerDefinition { get; }
    Property Value
    Type Description
    AlignerDefinition

    FGASupport

    Returns the status of fine-grained-alignment support for the TM

    Declaration
    FGASupport FGASupport { get; }
    Property Value
    Type Description
    FGASupport

    ShouldAlign

    Indicates whether 'quick' alignment (i.e. alignment of any unaligned TUs, plus postdated TUs for which a newer model is now available) is recommended

    Declaration
    bool ShouldAlign { get; }
    Property Value
    Type Description
    System.Boolean

    TranslationUnitNewerThanModelCount

    Gets the number of TUs that have been added subsequent to the translation model being built

    Declaration
    int TranslationUnitNewerThanModelCount { get; }
    Property Value
    Type Description
    System.Int32

    UnalignedTranslationUnitCount

    Gets the number of TUs that do not have fine-grained alignment information.

    Declaration
    int UnalignedTranslationUnitCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    AlignTranslationUnits(Boolean, Boolean, ref RegularIterator)

    Performs fine-grained alignment on translation units

    Declaration
    bool AlignTranslationUnits(bool unalignedOnly, bool unalignedOrPostdatedOnly, ref RegularIterator iter)
    Parameters
    Type Name Description
    System.Boolean unalignedOnly

    If true, will only operate on translation units that do not already have any alignment information

    System.Boolean unalignedOrPostdatedOnly

    If true, will only operate on translation units that do not already have any alignment information or are postdated (see remarks). In this case, unalignedOnly must be false.

    RegularIterator iter
    Returns
    Type Description
    System.Boolean

    True if there are more translation units to process, false otherwise

    Remarks

    An aligned, postdated TU is one that has been aligned, but was added to the TM after the translation model used for alignment was built.

    AlignTranslationUnits(Boolean, Boolean, CancellationToken, IProgress<Int32>)

    Performs bulk fine-grained alignment on translation units in a TM

    Declaration
    void AlignTranslationUnits(bool unalignedOnly, bool unalignedOrPostdatedOnly, CancellationToken token, IProgress<int> progress)
    Parameters
    Type Name Description
    System.Boolean unalignedOnly
    System.Boolean unalignedOrPostdatedOnly
    System.Threading.CancellationToken token
    System.IProgress<System.Int32> progress

    ClearAlignmentData()

    Deletes any fine-grained alignment data from the TM

    Declaration
    void ClearAlignmentData()

    MeasureModelFitness(ref RegularIterator, Boolean)

    Measures how well the model 'fits' the TM content, by counting out-of-vocabulary words

    Declaration
    TranslationModelFitness MeasureModelFitness(ref RegularIterator iterator, bool postdatedOrUnalignedOnly)
    Parameters
    Type Name Description
    RegularIterator iterator
    System.Boolean postdatedOrUnalignedOnly
    Returns
    Type Description
    TranslationModelFitness

    On this page

    • Properties
      • AlignedPredatedTranslationUnitCount
      • AlignerDefinition
      • FGASupport
      • ShouldAlign
      • TranslationUnitNewerThanModelCount
      • UnalignedTranslationUnitCount
    • Methods
      • AlignTranslationUnits(Boolean, Boolean, ref RegularIterator)
      • AlignTranslationUnits(Boolean, Boolean, CancellationToken, IProgress<Int32>)
      • ClearAlignmentData()
      • MeasureModelFitness(ref RegularIterator, Boolean)
    Back to top Generated by DocFX