mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-17 03:17:33 +00:00
change(web): apply code-styling suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
parent
4e8b7c8ad4
commit
1f3d270846
1 changed files with 2 additions and 2 deletions
|
|
@ -165,11 +165,11 @@ export class ContextTokenization {
|
|||
const tokenDistribution = alignedTransformDistribution.map((entry) => {
|
||||
const remap: Map<number, ProbabilityMass<Transform>> = new Map();
|
||||
|
||||
for(let pair of entry.sample.entries()) {
|
||||
for(const pair of entry.sample.entries()) {
|
||||
remap.set(pair[0], {
|
||||
sample: pair[1],
|
||||
p: entry.p
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
return remap;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue