SearchTranslationUnitsMasked(): Object reference not set to an instance of an object

I have developed a plugin which is a connector to a simple Machine Translation REST API, similar to the Microsoft Bing API. The authorisation works fine, but when I select Translate Single Document from the Welcome page, select a file, select my plugin from the Translation Memory and Automated Translation screen, the error Object reference not set to an instance of an object comes up.

Looking at the stack trace in the SDL error log below, it appears that the error isn’t produced directly within my code, but maybe this error is due to a null reference being returned somewhere.

I have put extensive logging in my plugin, and there is an edited and prettyfied version of it below.

The main points are as follows:

  • SearchTranslationUnitsMasked() seems to be called once whenever a target segment is activated. It is passed only one segment, when clearly this function is intended to be called for multiple segments. Is this an SDL bug?

  • The first time it is called the mask parameter contains [true]. The second and all subsequent calls to it, mask is [false, true] which implies that there are two segments, when in fact there is only one, and that the first segment should not be translated. Ignoring the mask parameter allows second and subsequent segments to be translated, but otherwise makes no difference to the behaviour.

  • The call to the MT API is successful, and the values returned from SearchTranslationUnitsMasked appear to be correct.

  • The functions called after SearchTranslationUnitsMasked() look correct, and don’t return null.

Can anybody help me?

Extracts from the logs follow, making this a very long post, so if posting code would help please ask, and I’ll be happy to oblige.

The SDL error log

<SDLErrorDetails time="12/14/2016 10:35:34 AM">
  <ErrorMessage>Object reference not set to an instance of an object.</ErrorMessage>
  <Exception>
    <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.TranslationStudio.Common</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[

at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1
    .CreateTranslationUnitParagraphs(
        IList`1 tus, IDocumentProperties documentProperties, IBilingualDocumentWriter writer
    )

at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1
    .CreateParagraphs(IList`1 tus)

at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1
    .ShowTranslationUnits(IList`1 tus)

at Sdl.TranslationStudio.Common.TranslationMemory.SearchResultTranslationMemoryControl
    .ShowTranslationUnits(IList`1 tus)

at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1
    .set_TranslationUnits(IList`1 value)

at Sdl.TranslationStudio.Editor.TranslationMemory
    .CompoundTranslationMemorySearchResultsControl.SetSearchResults(
        SearchResults searchResults
    )

at Sdl.TranslationStudio.Editor.TranslationMemory.
    CompoundTranslationMemorySearchResultsControl.SetSearchResults(
        SearchResults searchResults, IEnumerable`1 cascadeMessages
    )

at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPartControl
    .UpdateContent()

at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPartControl
    .TranslationJob_StatusChanged(IJob job)

at Sdl.Desktop.Platform.Services.JobEventHandler.Invoke(IJob job)

at Sdl.Desktop.Platform.Implementation.Services.Job.OnStatusChanged()

at Sdl.Desktop.Platform.Implementation.Services.Job.SetStatus(JobStatus status)

at Sdl.Desktop.Platform.Implementation.Services.Job._worker_RunWorkerCompleted(
    Object sender, RunWorkerCompletedEventArgs e
)

at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(
    RunWorkerCompletedEventArgs e
)

at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

]]>
    </StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>12.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>12.2.5195.7</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows Server 2012 R2 Standard</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>WIN-1TK4REQGE9E\Administrator</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>WIN-1TK4REQGE9E</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>4193904 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Plugin logs

Smatr is the class which implements ITranslationProvider

SmatrLanguageDirection is the class which implements ITranslationProviderLanguageDirection

Before SearchTranslationUnitsMasked() is called

SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
Smatr::Name().get():Capita-TI SmartMATE for Trados
SmatrLanguageDirection::TranslationProvider.get():provider:smatr.Smatr
Smatr::TranslationMethod.get():start
Smatr::TranslationMethod.get():MachineTranslation:end
SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr

Inputs to SearchTranslationUnitsMasked()

settings

SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{
	"Mode":1,
	"MachineTranslationLookup":0,
	"IsDocumentSearch":false,
	"Penalties":[
		{"PenaltyType":2,"Malus":1},
		{"PenaltyType":1,"Malus":1},
		{"PenaltyType":6,"Malus":1},
		{"PenaltyType":9,"Malus":1}
	],
	"CheckMatchingSublanguages":false,
	"Filters":[],
	"AutoLocalizationSettings":{
		"LongDatePattern":"dddd d MMMM yyyy",
		"ShortDatePattern":"dd/MM/yyyy",
		"LongTimePattern":"HH:mm:ss",
		"UnitSeparationMode":0,
		"UnitSeparator":"\u0000",
		"ShortTimePattern":"HH:mm",
		"LocalizationParametersSource":0,
		"DisableAutoSubstitution":127
	},
	"HardFilter":null,
	"SortSpecification":{
		"Criteria":[
			{"FieldName":"sco","Direction":1},
			{"FieldName":"chd","Direction":1},
			{"FieldName":"usc","Direction":1}
		]
	},
	"ComputeTranslationProposal":true,
	"CurrentStructureContext":null,
	"MinScore":70,
	"MaxResults":5,
	"AdaptiveMachineTranslationLookupMode":0
} 

translationUnits[]

SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[
	{
		"SourceSegment":{
			"Elements":[
				{"Value":"Polar bears are ..."}
			],
			"Tokens":null,
			"CultureName":"en-US"
		},
		"TargetSegment":null,
		"Contexts":{"Values":[]},
		"AlignmentData":null,
		"AlignModelDate":null,
		"InsertDate":null,
		"Origin":0,
		"ConfirmationLevel":0,
		"Format":0,
		"SystemFields":{
			"CreationDate":"0001-01-01T00:00:00",
			"ChangeDate":"0001-01-01T00:00:00",
			"UseDate":"0001-01-01T00:00:00",
			"UseUser":null,
			"UseCount":0,
			"CreationUser":null,
			"ChangeUser":null
		},
		"FieldValues":[],
		"ResourceId":{
			"Id":0,
			"Guid":"00000000-0000-0000-0000-000000000000"
		}
	}
]

mask[]

SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[true]

Output returned from SearchTranslationUnitsMasked()

Return value

SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[
	[
		{
			"ScoringResult":{
				"BaseScore":0,
				"ResolvedPlaceables":0,
				"EditDistance":null,
				"MatchingConcordanceRanges":null,
				"MemoryTagsDeleted":false,
				"TagMismatch":false,
				"AppliedPenalties":null,
				"TargetSegmentDiffers":false,
				"TextContextMatch":0,
				"IsStructureContextMatch":false
			},
			"MemoryPlaceables":null,
			"PlaceableAssociations":null,
			"MemoryTranslationUnit":{
				"SourceSegment":{
					"Elements":[
						{"Value":"Polar bears are ... "}
					],
					"Tokens":null,
					"CultureName":"en-US"
				},
				"TargetSegment":{
					"Elements":[
						{"Value":"Les ours polaires sont ... "}
					],
					"Tokens":null,
					"CultureName":"fr-FR"
				},
				"Contexts":{
					"Values":[]
				},
				"AlignmentData":null,
				"AlignModelDate":null,
				"InsertDate":null,
				"Origin":2,
				"ConfirmationLevel":1,
				"Format":0,
				"SystemFields":{
					"CreationDate":"0001-01-01T00:00:00",
					"ChangeDate":"0001-01-01T00:00:00",
					"UseDate":"0001-01-01T00:00:00",
					"UseUser":null,
					"UseCount":0,
					"CreationUser":null,
					"ChangeUser":null
				},
				"FieldValues":[],
				"ResourceId":{
					"Id":39543988,
					"Guid":"00000000-0000-0000-0000-000000000000"
				}
			},
			"TranslationProposal":null,
			"ContextData":null,
			"CascadeEntryIndex":-1
		}
	]
]
SmatrLanguageDirection::SearchTranslationUnitsMasked():end

After SearchTranslationUnitsMasked()

SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
Smatr::TranslationMethod.get():start
Smatr::TranslationMethod.get():MachineTranslation:end

After the error message is dismissed, every time a new target cell is selected the error returns, and the log sections above are repeated, however the mask is passed as [false, true] on the second and all subsequent attempts.
Also, the translation is performed successfully for the source segment selected if the first element of mask is forced to be true.

Parents
  • Hi Simon,

    The first time it is called the mask parameter contains [true]. The second and all subsequent calls to it, mask is [false, true] which implies that there are two segments, when in fact there is only one, and that the first segment should not be translated

    This part seems odd. This is a guess, but I think it might be related to your IDs:

    		"ResourceId":{
    					"Id":39543988,
    					"Guid":"00000000-0000-0000-0000-000000000000"
    				}

    Can you check if "Id" is the same number for the output returned from SearchTranslationUnitsMasked for each call?

    (My "guess" is you are returning the same ID each time)

  • Sorry, you guessed wrong! The Id changes each time the function is called.

     

    When the function SearchTranslationUnitsMasked(SearchSettings settings, TranslationUnit[] translationUnits, bool[] mask) is called, SearchResult createSearchResult(Segment searchSegment, Segment translation, string sourceSegment) is called from within it: this is where ResourceId.Id and ResourceId.Guid are created.

     

    The ResourceId.Id is different each time the function is called, but ResourceId.Guid is always set to Guid.Empty (i.e. all zeroes). However, changing the code to provide a genuine Guid makes no difference, the behaviour remains the same.

     

    I also changed the options settings as described in this post, but the only effect it had was to fill in the first target cell prior to producing the error. After cancelling the error, clicking on any target cell fills it in correctly with the machine translation.

     

  • Here it is:

    private SearchResult createSearchResult(Segment searchSegment, Segment translation, string sourceSegment)
    {
    Debug("SmatrLanguageDirection::createSearchResult:begin", 2);
    TranslationUnit tu = new TranslationUnit();
    tu.SourceSegment = searchSegment.Duplicate();
    //(this makes the original source segment, with tags, appear in the search window)
    tu.TargetSegment = translation;

    //tu.ResourceId = new PersistentObjectToken(tu.GetHashCode(), Guid.Empty);
    tu.ResourceId = new PersistentObjectToken(tu.GetHashCode(), Guid.NewGuid());

    int score = 0; //change if we need to support scoring
    tu.Origin = TranslationUnitOrigin.MachineTranslation;
    SearchResult searchResult = new SearchResult(tu);
    searchResult.ScoringResult = new ScoringResult();
    searchResult.ScoringResult.BaseScore = score;
    tu.ConfirmationLevel = ConfirmationLevel.Draft;
    Debug("SmatrLanguageDirection::createSearchResult:end", 2);
    return searchResult;
    }
  • Hi Simon,

    Thanks for posting the code. I do not see anything odd...
    I even took my test project and stepped through the code:
    github.com/.../Leo.SearchEngine

    I confirmed that SearchTranslationUnitsMasked() is called for every segment.
    I also confirmed that second and all subsequent calls returns mask [true, false].
    However translationUnits[] should contain *2* elements. The first element contains the previous segment and the second element contains the current segment.

    Sorry I could be of any more help! If you are willing to send me your project, I could try to take a look at it for you.
  • Hi Jesse,

    Thanks, it would be great if you get a chance to have a look at it.

    The project is currently on Bitbucket. Its address is https://simon-tite@bitbucket.org/simon-tite/smatr.git and I have set it up so you should have immediate access if you are already a Bitbucket user, or it should send you an invitation if not.

     

    To run it, it needs a directory called C:\ProgramData\Smartmate to put its log in.

    It also needs NewtonsoftJson.dll in the same directory as Sdl.Core DLLs.

    Thanks

     

    Simon

  • Hi Simon,

    Thanks for the link. Unfortunately I get the following message when I try to open it (I signed up for a Bitbucket account).

    My bitbucket account name is "jessegood".


  • Hi Jesse,

    I've set it to share with "jessegood" - if you try again it should work
  • Hi Simon,

    I looked at your project and even built a plug-in here (commented out all the code needed for credentials)
    All I mainly did was comment out the code in your lookup method so it returned a single string:

           private string lookup(string sourcetext, SmatrOptions options, string format)

           {

               return "Here is the translation";

           }

    You can even see it in action here:

    I cannot reproduce your error on my system!
    Can you perhaps try comment out the code in lookup and return a default string and see what happens?

  • Hi Jesse,

    I have done what you suggested, but it makes no difference, the error pop-up still appears. Could you send me a copy of the log, then I could compare it to mine which might give a clue.

  • Hi Simon,

    Here is the log:

    2017-01-15T13:09:55 SmatrFactory::SupportsTranslationProviderUri():begin
    2017-01-15T13:09:55 SmatrFactory::SupportsTranslationProviderUR():translationProviderUri.Scheme:smatr
    2017-01-15T13:09:55 SmatrFactory::SupportsTranslationProviderUri():end:True
    2017-01-15T13:09:55 SmatrFactory::CreateTranslationProvider():begin
    2017-01-15T13:09:55 SmatrOptions::ctor(uri):begin
    2017-01-15T13:09:55 SmatrOptions::ctor(uri):uri.originalString:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:55 SmatrOptions::ctor(uri):end
    2017-01-15T13:09:55 SmatrFactory::CreateTranslationProvider():tp = new Smatr()
    2017-01-15T13:09:55 Smatr::ctor():begin
    2017-01-15T13:09:56 Smatr::ctor():options:{"ClientId":null,"ClientSecret":null,"Persist":false,"ResendDrafts":false,"SendTagsAlso":false,"Uri":"smatr://?sendtagsalso=False&resenddrafts=False"}
    2017-01-15T13:09:56 Smatr::ctor():end
    2017-01-15T13:09:56 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:56 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:56 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:56 Smatr::StatusInfo.get():end
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:56 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:56 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:56 SmatrFactory::CreateTranslationProvider():tp:{"Options":{"ClientId":null,"ClientSecret":null,"Persist":false,"ResendDrafts":false,"SendTagsAlso":false,"Uri":"smatr://?sendtagsalso=False&resenddrafts=False"},"IsReadOnly":true,"Name":"Capita-TI SmartMATE for Trados","StatusInfo":{"Available":true,"StatusMessage":"Capita-TI SmartMATE for Trados"},"SupportsConcordanceSearch":false,"SupportsDocumentSearches":false,"SupportsFilters":false,"SupportsFuzzySearch":false,"SupportsMultipleResults":false,"SupportsPenalties":false,"SupportsPlaceables":false,"SupportsScoring":false,"SupportsSearchForTranslationUnits":true,"SupportsSourceConcordanceSearch":false,"SupportsStructureContext":false,"SupportsTaggedInput":true,"SupportsTargetConcordanceSearch":false,"SupportsTranslation":true,"SupportsUpdate":false,"SupportsWordCounts":false,"TranslationMethod":2,"Uri":"smatr://?sendtagsalso=False&resenddrafts=False"}
    2017-01-15T13:09:56 SmatrFactory::CreateTranslationProvider():return tp:end
    2017-01-15T13:09:56 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:56 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:56 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:56 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:56 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:56 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:56 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:56 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:56 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:56 Smatr::StatusInfo.get():end
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:56 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:56 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:56 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:56 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:56 Smatr::SerializeState():returns "unknown"
    2017-01-15T13:09:56 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:56 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:56 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:56 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:56 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:56 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:56 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:56 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:56 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:56 Smatr::StatusInfo.get():end
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:56 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:56 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:56 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:56 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:56 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:56 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:56 Smatr::StatusInfo.get():end
    2017-01-15T13:09:56 Smatr::SerializeState():returns "unknown"
    2017-01-15T13:09:56 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:56 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:56 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:56 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:56 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:56 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:56 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:56 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:56 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:56 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:56 Smatr::StatusInfo.get():end
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:56 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:56 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:56 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:56 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:56 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:57 Smatr::SerializeState():returns "unknown"
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:57 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:57 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:57 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:57 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:57 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:57 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:57 Smatr::StatusInfo.get():end
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:57 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:57 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:57 Smatr::SerializeState():returns "unknown"
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:57 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:57 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:57 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:57 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:57 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:57 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:57 Smatr::StatusInfo.get():end
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:57 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:57 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:57 Smatr::SerializeState():returns "unknown"
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:57 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:57 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:57 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:57 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:57 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:57 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:57 Smatr::StatusInfo.get():end
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:57 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:57 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:57 Smatr::SerializeState():returns "unknown"
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:57 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:57 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:57 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:57 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:57 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:57 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:57 Smatr::StatusInfo.get():end
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:57 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:57 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:57 Smatr::SerializeState():returns "unknown"
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():begin
    2017-01-15T13:09:57 Smatr::SupportsLanguageDirection():return:True:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():begin
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():src:ja:trg:en
    2017-01-15T13:09:57 SmatrLanguageDirection::ctor2():end
    2017-01-15T13:09:57 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:09:57 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:09:57 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:57 Smatr::IsReadOnly():returns true
    2017-01-15T13:09:57 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:57 Smatr::StatusInfo.get():begin
    2017-01-15T13:09:57 Smatr::StatusInfo.get():end
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():start
    2017-01-15T13:09:57 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:09:57 Smatr::Uri.get():Options.Uri:smatr:///?sendtagsalso=False&resenddrafts=False
    2017-01-15T13:09:57 Smatr::Uri.get():returns:smatr:///?sendtagsalso=False&resenddrafts=False:end
    2017-01-15T13:09:57 Smatr::GetLanguageDirection::SmatrLanguageDirection object:smatr.SmatrLanguageDirection
    2017-01-15T13:09:57 Smatr::GetLanguageDirection():end
    2017-01-15T13:09:59 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:59 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:09:59 SmatrFactory::SupportsTranslationProviderUri():begin
    2017-01-15T13:09:59 SmatrFactory::SupportsTranslationProviderUR():translationProviderUri.Scheme:smatr
    2017-01-15T13:09:59 SmatrFactory::SupportsTranslationProviderUri():end:True
    2017-01-15T13:09:59 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:09:59 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:10:00 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:00 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:00 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:00 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:00 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:00 
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{"Mode":1,"MachineTranslationLookup":0,"IsDocumentSearch":false,"Penalties":[{"PenaltyType":2,"Malus":1},{"PenaltyType":1,"Malus":1},{"PenaltyType":6,"Malus":1},{"PenaltyType":9,"Malus":1}],"CheckMatchingSublanguages":false,"Filters":[],"AutoLocalizationSettings":{"LongDatePattern":"dddd, MMMM d, yyyy","ShortDatePattern":"M/d/yyyy","LongTimePattern":"h:mm:ss tt","UnitSeparationMode":0,"UnitSeparator":"\u0000","ShortTimePattern":"h:mm tt","LocalizationParametersSource":0,"DisableAutoSubstitution":127},"HardFilter":null,"SortSpecification":{"Criteria":[{"FieldName":"sco","Direction":1},{"FieldName":"chd","Direction":1},{"FieldName":"usc","Direction":1}]},"ComputeTranslationProposal":true,"CurrentStructureContext":null,"MinScore":70,"MaxResults":5,"AdaptiveMachineTranslationLookupMode":0}
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[{"SourceSegment":{"Elements":[{"Value":"仕様書構成(13F向け)"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":0,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}}]
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[true]
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnit():begin
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchSegment():begin
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchSegment():segment:仕様書構成(13F向け)
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchSegment():after added SourceSegment:results:[]
    2017-01-15T13:10:00 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:10:00 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:10:00 SmatrLanguageDirection::createSearchResult:begin
    2017-01-15T13:10:00 SmatrLanguageDirection::createSearchResult:end
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchSegment():normal return:results:[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"仕様書構成(13F向け)"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Some Text"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":40615088,"Guid":"09cbf4ab-7339-4af9-a018-c56a595310e7"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchSegment():end
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnit():returning:sr:[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"仕様書構成(13F向け)"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Some Text"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":40615088,"Guid":"09cbf4ab-7339-4af9-a018-c56a595310e7"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnit():end
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added element:0
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"仕様書構成(13F向け)"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Some Text"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":40615088,"Guid":"09cbf4ab-7339-4af9-a018-c56a595310e7"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]]
    2017-01-15T13:10:00 SmatrLanguageDirection::SearchTranslationUnitsMasked():end
    2017-01-15T13:10:00 
    2017-01-15T13:10:00 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:00 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:00 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:02 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:02 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:10:02 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:02 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:02 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:02 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:02 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:02 
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{"Mode":1,"MachineTranslationLookup":0,"IsDocumentSearch":false,"Penalties":[{"PenaltyType":2,"Malus":1},{"PenaltyType":1,"Malus":1},{"PenaltyType":6,"Malus":1},{"PenaltyType":9,"Malus":1}],"CheckMatchingSublanguages":false,"Filters":[],"AutoLocalizationSettings":{"LongDatePattern":"dddd, MMMM d, yyyy","ShortDatePattern":"M/d/yyyy","LongTimePattern":"h:mm:ss tt","UnitSeparationMode":0,"UnitSeparator":"\u0000","ShortTimePattern":"h:mm tt","LocalizationParametersSource":0,"DisableAutoSubstitution":127},"HardFilter":null,"SortSpecification":{"Criteria":[{"FieldName":"sco","Direction":1},{"FieldName":"chd","Direction":1},{"FieldName":"usc","Direction":1}]},"ComputeTranslationProposal":true,"CurrentStructureContext":null,"MinScore":70,"MaxResults":5,"AdaptiveMachineTranslationLookupMode":0}
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[{"SourceSegment":{"Elements":[{"Value":"仕様書構成(13F向け)"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:00Z","ChangeDate":"2017-01-15T04:10:00Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}},{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":0,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}}]
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[false,true]
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:0
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchTranslationUnit():begin
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchSegment():begin
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchSegment():segment:バックカメラ電源制御
    2017-01-15T13:10:02 SmatrLanguageDirection::SearchSegment():after added SourceSegment:results:[]
    2017-01-15T13:10:02 SmatrLanguageDirection::SourceLanguage.get():SourceCulture:ja-JP
    2017-01-15T13:10:03 SmatrLanguageDirection::TargetLanguage.get():TargetCulture:en-US
    2017-01-15T13:10:03 SmatrLanguageDirection::createSearchResult:begin
    2017-01-15T13:10:03 SmatrLanguageDirection::createSearchResult:end
    2017-01-15T13:10:03 SmatrLanguageDirection::SearchSegment():normal return:results:[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Some Text"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":42307319,"Guid":"93c596d2-93aa-4657-89f3-113a06585bff"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]
    2017-01-15T13:10:03 SmatrLanguageDirection::SearchSegment():end
    2017-01-15T13:10:03 SmatrLanguageDirection::SearchTranslationUnit():returning:sr:[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Some Text"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":42307319,"Guid":"93c596d2-93aa-4657-89f3-113a06585bff"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]
    2017-01-15T13:10:03 SmatrLanguageDirection::SearchTranslationUnit():end
    2017-01-15T13:10:03 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added element:1
    2017-01-15T13:10:03 SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[null,[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Some Text"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":42307319,"Guid":"93c596d2-93aa-4657-89f3-113a06585bff"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]]
    2017-01-15T13:10:03 SmatrLanguageDirection::SearchTranslationUnitsMasked():end
    2017-01-15T13:10:03 
    2017-01-15T13:10:03 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:03 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:03 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:09 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:09 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:10:09 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:09 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:09 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:09 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:09 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:09 
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{"Mode":1,"MachineTranslationLookup":0,"IsDocumentSearch":false,"Penalties":[{"PenaltyType":2,"Malus":1},{"PenaltyType":1,"Malus":1},{"PenaltyType":6,"Malus":1},{"PenaltyType":9,"Malus":1}],"CheckMatchingSublanguages":false,"Filters":[],"AutoLocalizationSettings":{"LongDatePattern":"dddd, MMMM d, yyyy","ShortDatePattern":"M/d/yyyy","LongTimePattern":"h:mm:ss tt","UnitSeparationMode":0,"UnitSeparator":"\u0000","ShortTimePattern":"h:mm tt","LocalizationParametersSource":0,"DisableAutoSubstitution":127},"HardFilter":null,"SortSpecification":{"Criteria":[{"FieldName":"sco","Direction":1},{"FieldName":"chd","Direction":1},{"FieldName":"usc","Direction":1}]},"ComputeTranslationProposal":true,"CurrentStructureContext":null,"MinScore":70,"MaxResults":5,"AdaptiveMachineTranslationLookupMode":0}
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Back camera power control"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":1,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:03Z","ChangeDate":"2017-01-15T04:10:03Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}},{"SourceSegment":{"Elements":[{"Value":"音声出力機能"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":0,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}}]
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[false,false]
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:0
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:1
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[null,null]
    2017-01-15T13:10:09 SmatrLanguageDirection::SearchTranslationUnitsMasked():end
    2017-01-15T13:10:09 
    2017-01-15T13:10:21 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:21 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:10:22 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:22 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:22 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:22 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:22 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:22 
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{"Mode":1,"MachineTranslationLookup":0,"IsDocumentSearch":false,"Penalties":[{"PenaltyType":2,"Malus":1},{"PenaltyType":1,"Malus":1},{"PenaltyType":6,"Malus":1},{"PenaltyType":9,"Malus":1}],"CheckMatchingSublanguages":false,"Filters":[],"AutoLocalizationSettings":{"LongDatePattern":"dddd, MMMM d, yyyy","ShortDatePattern":"M/d/yyyy","LongTimePattern":"h:mm:ss tt","UnitSeparationMode":0,"UnitSeparator":"\u0000","ShortTimePattern":"h:mm tt","LocalizationParametersSource":0,"DisableAutoSubstitution":127},"HardFilter":null,"SortSpecification":{"Criteria":[{"FieldName":"sco","Direction":1},{"FieldName":"chd","Direction":1},{"FieldName":"usc","Direction":1}]},"ComputeTranslationProposal":true,"CurrentStructureContext":null,"MinScore":70,"MaxResults":5,"AdaptiveMachineTranslationLookupMode":0}
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[{"SourceSegment":{"Elements":[{"Value":"仕様書構成(13F向け)"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:00Z","ChangeDate":"2017-01-15T04:10:00Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}},{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Back camera power control"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":1,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:03Z","ChangeDate":"2017-01-15T04:10:03Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}}]
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[false,true]
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:0
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnit():begin
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchSegment():begin
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchSegment():segment:バックカメラ電源制御
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchSegment():after added SourceSegment:results:[]
    2017-01-15T13:10:22 SmatrLanguageDirection::createSearchResult:begin
    2017-01-15T13:10:22 SmatrLanguageDirection::createSearchResult:end
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchSegment():return from DRAFT_NOT_RESENT:results:Sdl.LanguagePlatform.TranslationMemory.SearchResults
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchSegment():end
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnit():returning:sr:[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"[segment already translated...source not re-sent]"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":57603335,"Guid":"9eaef0d6-6666-46ce-8a86-4e64676e11fd"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnit():end
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added element:1
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[null,[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"[segment already translated...source not re-sent]"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":57603335,"Guid":"9eaef0d6-6666-46ce-8a86-4e64676e11fd"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]]
    2017-01-15T13:10:22 SmatrLanguageDirection::SearchTranslationUnitsMasked():end
    2017-01-15T13:10:22 
    2017-01-15T13:10:22 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:22 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:22 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:22 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:22 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:10:23 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:23 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:23 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:23 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:23 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:23 
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{"Mode":1,"MachineTranslationLookup":0,"IsDocumentSearch":false,"Penalties":[{"PenaltyType":2,"Malus":1},{"PenaltyType":1,"Malus":1},{"PenaltyType":6,"Malus":1},{"PenaltyType":9,"Malus":1}],"CheckMatchingSublanguages":false,"Filters":[],"AutoLocalizationSettings":{"LongDatePattern":"dddd, MMMM d, yyyy","ShortDatePattern":"M/d/yyyy","LongTimePattern":"h:mm:ss tt","UnitSeparationMode":0,"UnitSeparator":"\u0000","ShortTimePattern":"h:mm tt","LocalizationParametersSource":0,"DisableAutoSubstitution":127},"HardFilter":null,"SortSpecification":{"Criteria":[{"FieldName":"sco","Direction":1},{"FieldName":"chd","Direction":1},{"FieldName":"usc","Direction":1}]},"ComputeTranslationProposal":true,"CurrentStructureContext":null,"MinScore":70,"MaxResults":5,"AdaptiveMachineTranslationLookupMode":0}
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Back camera power control"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":1,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:03Z","ChangeDate":"2017-01-15T04:10:03Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}},{"SourceSegment":{"Elements":[{"Value":"音声出力機能"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:09Z","ChangeDate":"2017-01-15T04:10:09Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}}]
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[false,false]
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:0
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:1
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[null,null]
    2017-01-15T13:10:23 SmatrLanguageDirection::SearchTranslationUnitsMasked():end
    2017-01-15T13:10:23 
    2017-01-15T13:10:27 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:27 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:10:27 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:27 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:27 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:27 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:27 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:27 
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{"Mode":1,"MachineTranslationLookup":0,"IsDocumentSearch":false,"Penalties":[{"PenaltyType":2,"Malus":1},{"PenaltyType":1,"Malus":1},{"PenaltyType":6,"Malus":1},{"PenaltyType":9,"Malus":1}],"CheckMatchingSublanguages":false,"Filters":[],"AutoLocalizationSettings":{"LongDatePattern":"dddd, MMMM d, yyyy","ShortDatePattern":"M/d/yyyy","LongTimePattern":"h:mm:ss tt","UnitSeparationMode":0,"UnitSeparator":"\u0000","ShortTimePattern":"h:mm tt","LocalizationParametersSource":0,"DisableAutoSubstitution":127},"HardFilter":null,"SortSpecification":{"Criteria":[{"FieldName":"sco","Direction":1},{"FieldName":"chd","Direction":1},{"FieldName":"usc","Direction":1}]},"ComputeTranslationProposal":true,"CurrentStructureContext":null,"MinScore":70,"MaxResults":5,"AdaptiveMachineTranslationLookupMode":0}
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[{"SourceSegment":{"Elements":[{"Value":"仕様書構成(13F向け)"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:00Z","ChangeDate":"2017-01-15T04:10:00Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}},{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Back camera power control"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":1,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:03Z","ChangeDate":"2017-01-15T04:10:03Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}}]
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[false,true]
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:0
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnit():begin
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchSegment():begin
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchSegment():segment:バックカメラ電源制御
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchSegment():after added SourceSegment:results:[]
    2017-01-15T13:10:27 SmatrLanguageDirection::createSearchResult:begin
    2017-01-15T13:10:27 SmatrLanguageDirection::createSearchResult:end
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchSegment():return from DRAFT_NOT_RESENT:results:Sdl.LanguagePlatform.TranslationMemory.SearchResults
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchSegment():end
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnit():returning:sr:[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"[segment already translated...source not re-sent]"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":20336737,"Guid":"18a4010f-4258-4a29-a477-3b25c23fd117"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnit():end
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added element:1
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[null,[{"ScoringResult":{"BaseScore":0,"ResolvedPlaceables":0,"EditDistance":null,"MatchingConcordanceRanges":null,"MemoryTagsDeleted":false,"TagMismatch":false,"AppliedPenalties":null,"TargetSegmentDiffers":false,"TextContextMatch":0,"IsStructureContextMatch":false},"MemoryPlaceables":null,"PlaceableAssociations":null,"MemoryTranslationUnit":{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"[segment already translated...source not re-sent]"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":2,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"0001-01-01T00:00:00","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":null},"FieldValues":[],"ResourceId":{"Id":20336737,"Guid":"18a4010f-4258-4a29-a477-3b25c23fd117"}},"TranslationProposal":null,"ContextData":null,"CascadeEntryIndex":-1}]]
    2017-01-15T13:10:27 SmatrLanguageDirection::SearchTranslationUnitsMasked():end
    2017-01-15T13:10:27 
    2017-01-15T13:10:27 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:27 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:27 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:28 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:28 Smatr::Name().get():Capita-TI SmartMATE for Trados
    2017-01-15T13:10:28 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:28 Smatr::TranslationMethod.get():start
    2017-01-15T13:10:28 Smatr::TranslationMethod.get():MachineTranslation:end
    2017-01-15T13:10:28 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:28 SmatrLanguageDirection::TranslationProvider.get():TranslationProvider:smatr.Smatr
    2017-01-15T13:10:28 
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():begin
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():settings:{"Mode":1,"MachineTranslationLookup":0,"IsDocumentSearch":false,"Penalties":[{"PenaltyType":2,"Malus":1},{"PenaltyType":1,"Malus":1},{"PenaltyType":6,"Malus":1},{"PenaltyType":9,"Malus":1}],"CheckMatchingSublanguages":false,"Filters":[],"AutoLocalizationSettings":{"LongDatePattern":"dddd, MMMM d, yyyy","ShortDatePattern":"M/d/yyyy","LongTimePattern":"h:mm:ss tt","UnitSeparationMode":0,"UnitSeparator":"\u0000","ShortTimePattern":"h:mm tt","LocalizationParametersSource":0,"DisableAutoSubstitution":127},"HardFilter":null,"SortSpecification":{"Criteria":[{"FieldName":"sco","Direction":1},{"FieldName":"chd","Direction":1},{"FieldName":"usc","Direction":1}]},"ComputeTranslationProposal":true,"CurrentStructureContext":null,"MinScore":70,"MaxResults":5,"AdaptiveMachineTranslationLookupMode":0}
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():translationUnits:[{"SourceSegment":{"Elements":[{"Value":"バックカメラ電源制御"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":{"Elements":[{"Value":"Back camera power control"}],"Tokens":null,"CultureName":"en-US"},"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":1,"ConfirmationLevel":1,"Format":0,"SystemFields":{"CreationDate":"2017-01-15T04:10:03Z","ChangeDate":"2017-01-15T04:10:03Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":"JESSE-PC\\jesse_good","ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}},{"SourceSegment":{"Elements":[{"Value":"音声出力機能"}],"Tokens":null,"CultureName":"ja-JP"},"TargetSegment":null,"Contexts":{"Values":[]},"AlignmentData":null,"AlignModelDate":null,"InsertDate":null,"Origin":0,"ConfirmationLevel":0,"Format":0,"SystemFields":{"CreationDate":"0001-01-01T00:00:00","ChangeDate":"2017-01-15T04:10:26Z","UseDate":"0001-01-01T00:00:00","UseUser":null,"UseCount":0,"CreationUser":null,"ChangeUser":"JESSE-PC\\jesse_good"},"FieldValues":[],"ResourceId":{"Id":0,"Guid":"00000000-0000-0000-0000-000000000000"}}]
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():mask:[false,false]
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:0
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():Added null to:1
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():returning:[null,null]
    2017-01-15T13:10:28 SmatrLanguageDirection::SearchTranslationUnitsMasked():end
    2017-01-15T13:10:28 
    

    When you test it, are you using any other TMs? I've tested on my home PC and work PC and cannot reproduce your error.

  • Hi Simon,

    I was "finally" able to reproduce your error!
    I looked back at your screenshot and noticed the translation results window was slightly different from mine.
    Long story short, when the setting "Search result display mode" is set to "Show translation proposal" your error occurs.

     

    Once I figured out why the error occurs, it was easy to get to the root of the problem.
    The SearchResult class has a property, "TranslationProposal":

    Long story short, if you want to use the "Show translation proposal" setting, you need to set this property too.

  • Jesse,

    That fixed the problem!

    Thank you so much for your help with this, I cannot thank you enough.

     

    Simon.

Reply Children
No Data