@@ -100,7 +100,7 @@ private static Dictionary<JLField, string> GetMiningParameters(LookupResult look
100
100
miningParams [ JLField . TrailingSourceTextPart ] = trailingSourcePart ;
101
101
102
102
miningParams [ JLField . SourceText ] = useHtmlTags
103
- ? string . Create ( CultureInfo . InvariantCulture , $ "{ leadingSourcePart } <b>{ lookupResult . MatchedText } </b>{ trailingSourcePart } ") . ReplaceLineEndings ( "<br/>" )
103
+ ? $ "{ leadingSourcePart } <b>{ lookupResult . MatchedText } </b>{ trailingSourcePart } ". ReplaceLineEndings ( "<br/>" )
104
104
: currentText ;
105
105
106
106
string sentence = JapaneseUtils . FindSentence ( currentText , currentCharPosition ) ;
@@ -117,7 +117,7 @@ private static Dictionary<JLField, string> GetMiningParameters(LookupResult look
117
117
miningParams [ JLField . TrailingSentencePart ] = trailingSentencePart ;
118
118
119
119
miningParams [ JLField . Sentence ] = useHtmlTags
120
- ? string . Create ( CultureInfo . InvariantCulture , $ "{ leadingSentencePart } <b>{ lookupResult . MatchedText } </b>{ trailingSentencePart } ")
120
+ ? $ "{ leadingSentencePart } <b>{ lookupResult . MatchedText } </b>{ trailingSentencePart } "
121
121
: sentence ;
122
122
123
123
if ( lookupResult . Readings is not null )
@@ -129,11 +129,11 @@ private static Dictionary<JLField, string> GetMiningParameters(LookupResult look
129
129
? LookupResultUtils . ElementWithOrthographyInfoToText ( lookupResult . Readings , lookupResult . ReadingsOrthographyInfoList )
130
130
: readings ;
131
131
132
- miningParams [ JLField . PrimarySpellingAndReadings ] = string . Create ( CultureInfo . InvariantCulture , $ "{ lookupResult . PrimarySpelling } [{ readings } ]") ;
132
+ miningParams [ JLField . PrimarySpellingAndReadings ] = $ "{ lookupResult . PrimarySpelling } [{ readings } ]";
133
133
134
134
string firstReading = lookupResult . Readings [ 0 ] ;
135
135
miningParams [ JLField . FirstReading ] = firstReading ;
136
- miningParams [ JLField . PrimarySpellingAndFirstReading ] = string . Create ( CultureInfo . InvariantCulture , $ "{ lookupResult . PrimarySpelling } [{ firstReading } ]") ;
136
+ miningParams [ JLField . PrimarySpellingAndFirstReading ] = $ "{ lookupResult . PrimarySpelling } [{ firstReading } ]";
137
137
}
138
138
139
139
if ( lookupResult . AlternativeSpellings is not null )
0 commit comments