code stringlengths 114 1.05M | path stringlengths 3 312 | quality_prob float64 0.5 0.99 | learning_prob float64 0.2 1 | filename stringlengths 3 168 | kind stringclasses 1 value |
|---|---|---|---|---|---|
package provider
import "github.com/elastic/beats/libbeat/feature"
// getNamespace return the namespace for functions of a specific provider. The registry have a flat view
// representation of the plugin world this mean we don't really have a tree, instead what we do is
// to create a unique keys per providers that will only keep the functions of the provider.
func getNamespace(provider string) string {
return namespace + "." + provider + ".functions"
}
// Feature creates a new Provider feature to be added to the global registry.
// The namespace will be 'functionbeat.provider' in the registry.
func Feature(name string, factory Factory, description feature.Describer) *feature.Feature {
return feature.New(namespace, name, factory, description)
}
// FunctionFeature Feature creates a new function feature to be added to the global registry
// The namespace will be 'functionbeat.provider.local' in the registry.
func FunctionFeature(
provider, name string,
factory FunctionFactory,
description feature.Describer,
) *feature.Feature {
return feature.New(getNamespace(provider), name, factory, description)
}
// Builder is used to have a fluent interface to build a set of function for a specific provider, it
// provides a fluent interface to the developper of provider and functions, it wraps the Feature
// functions to make sure the namespace are correctly configured.
type Builder struct {
name string
bundle *feature.Bundle
}
// MustCreate creates a new provider builder, it is used to define a provider and the function
// it supports.
func MustCreate(name string, factory Factory, description feature.Describer) *Builder {
return &Builder{name: name, bundle: feature.NewBundle(Feature(name, factory, description))}
}
// Bundle transforms the provider and the functions into a bundle feature.
func (b *Builder) Bundle() *feature.Bundle {
return b.bundle
}
// MustAddFunction adds a new function type to the provider and return the builder.
func (b *Builder) MustAddFunction(
name string,
factory FunctionFactory,
description feature.Describer,
) *Builder {
b.bundle = feature.MustBundle(b.bundle, FunctionFeature(b.name, name, factory, description))
return b
} | x-pack/functionbeat/provider/feature.go | 0.716615 | 0.406008 | feature.go | starcoder |
package imagevector
// ReadImageVector reads the image vector yaml file in the charts directory, unmarshals the content
import (
"fmt"
"io/ioutil"
"path/filepath"
"strings"
"github.com/gardener/gardener/pkg/operation/common"
"github.com/gardener/gardener/pkg/utils"
yaml "gopkg.in/yaml.v2"
)
// ReadImageVector reads the image.yaml in the chart directory, unmarshals it
// into a []*ImageSource type and returns it.
func ReadImageVector() (ImageVector, error) {
var (
path = filepath.Join(common.ChartPath, "images.yaml")
vector = struct {
Images ImageVector `json:"images" yaml:"images"`
}{}
)
bytes, err := ioutil.ReadFile(path)
if err != nil {
return nil, err
}
if err := yaml.Unmarshal(bytes, &vector); err != nil {
return nil, err
}
return vector.Images, nil
}
func checkConstraintMatchesK8sVersion(constraint, k8sVersion string) (bool, error) {
if constraint == "" {
return true, nil
}
return utils.CheckVersionMeetsConstraint(k8sVersion, constraint)
}
// FindImage returns an image with the given <name> from the sources in the image vector.
// The <k8sVersion> specifies the kubernetes version the image will be running on.
// The <targetK8sVersion> specifies the kubernetes version the image shall target.
// If multiple entries were found, the provided <k8sVersion> is compared with the constraints
// stated in the image definition.
// In case multiple images match the search, the first which was found is returned.
// In case no image was found, an error is returned.
func (v ImageVector) FindImage(name, k8sVersionRuntime, k8sVersionTarget string) (*Image, error) {
for _, source := range v {
if source.Name == name {
matches, err := checkConstraintMatchesK8sVersion(source.Versions, k8sVersionRuntime)
if err != nil {
return nil, err
}
if matches {
return source.ToImage(k8sVersionTarget), nil
}
}
}
return nil, fmt.Errorf("could not find image %q for Kubernetes runtime version %q in the image vector", name, k8sVersionRuntime)
}
// FindImages returns an image map with the given <names> from the sources in the image vector.
// The <k8sVersion> specifies the kubernetes version the image will be running on.
// The <targetK8sVersion> specifies the kubernetes version the image shall target.
// If multiple entries were found, the provided <k8sVersion> is compared with the constraints
// stated in the image definition.
// In case multiple images match the search, the first which was found is returned.
// In case no image was found, an error is returned.
func (v ImageVector) FindImages(names []string, k8sVersionRuntime, k8sVersionTarget string) (map[string]interface{}, error) {
images := map[string]interface{}{}
for _, imageName := range names {
image, err := v.FindImage(imageName, k8sVersionRuntime, k8sVersionTarget)
if err != nil {
return nil, err
}
images[imageName] = image.String()
}
return images, nil
}
// ToImage applies the given <targetK8sVersion> to the source to produce an output image.
// If the tag of an image source is empty, it will use the given <k8sVersion> as tag.
func (i *ImageSource) ToImage(targetK8sVersion string) *Image {
tag := i.Tag
if tag == "" {
tag = fmt.Sprintf("v%s", strings.TrimLeft(targetK8sVersion, "v"))
}
return &Image{
Name: i.Name,
Repository: i.Repository,
Tag: tag,
}
}
// String will returns the string representation of the image.
func (i *Image) String() string {
if len(i.Tag) == 0 {
return i.Repository
}
return fmt.Sprintf("%s:%s", i.Repository, i.Tag)
} | vendor/github.com/gardener/gardener/pkg/utils/imagevector/imagevector.go | 0.816772 | 0.404272 | imagevector.go | starcoder |
package clients
import (
"github.com/BurntSushi/xgb"
"github.com/BurntSushi/xgb/xproto"
)
type Floatr interface {
FRectangle() xproto.Rectangle
X(int16)
Y(int16)
Reposition(int16, int16)
Width(uint16)
Height(uint16)
Size(uint16, uint16)
Center(xproto.Rectangle, int16)
Embrace(xproto.Rectangle)
Translate(xproto.Rectangle, xproto.Rectangle)
UpdateFloatingRectangle(*xgb.Conn, xproto.Window)
SetFloatingRectangle(xproto.Rectangle)
}
type floatr struct {
rectangle xproto.Rectangle
}
func newFloatr() Floatr {
return &floatr{}
}
func (f *floatr) FRectangle() xproto.Rectangle {
return f.rectangle
}
func (f *floatr) X(x int16) {
f.rectangle.X = x
}
func (f *floatr) Y(y int16) {
f.rectangle.Y = y
}
func (f *floatr) Reposition(x, y int16) {
f.X(x)
f.Y(y)
}
func (f *floatr) Width(w uint16) {
f.rectangle.Width = w
}
func (f *floatr) Height(h uint16) {
f.rectangle.Height = h
}
func (f *floatr) Size(w, h uint16) {
f.Width(w)
f.Height(h)
}
func (f *floatr) Center(rect xproto.Rectangle, borderWidth int16) {
r := f.rectangle
if r.Width >= rect.Width {
r.X = rect.X
} else {
r.X = rect.X + (int16(rect.Width)-int16(r.Width))/2
}
if r.Height >= rect.Height {
r.Y = rect.Y
} else {
r.Y = rect.Y + (int16(rect.Height)-int16(r.Height))/2
}
r.X -= borderWidth
r.Y -= borderWidth
}
func (f *floatr) Embrace(monitor xproto.Rectangle) {
if (f.rectangle.X + int16(f.rectangle.Width)) <= monitor.X {
f.rectangle.X = monitor.X
} else if f.rectangle.X >= (monitor.X + int16(monitor.Width)) {
f.rectangle.X = (monitor.X + int16(monitor.Width)) - int16(f.rectangle.Width)
}
if (f.rectangle.Y + int16(f.rectangle.Height)) <= monitor.Y {
f.rectangle.Y = monitor.Y
} else if f.rectangle.Y >= (monitor.Y + int16(monitor.Height)) {
f.rectangle.Y = (monitor.Y + int16(monitor.Height)) - int16(f.rectangle.Height)
}
}
func max(a, b int16) int16 {
if a > b {
return a
}
return b
}
func (f *floatr) Translate(m, o xproto.Rectangle) {
if m == o {
leftAdjust := max((m.X - f.rectangle.X), 0)
topAdjust := max((m.Y - f.rectangle.Y), 0)
rightAdjust := max((f.rectangle.X+int16(f.rectangle.Width))-(m.X+int16(m.Width)), 0)
bottomAdjust := max((f.rectangle.Y+int16(f.rectangle.Height))-(m.Y+int16(m.Height)), 0)
f.rectangle.X += leftAdjust
f.rectangle.Y += topAdjust
f.rectangle.Width -= uint16(leftAdjust + rightAdjust)
f.rectangle.Height -= uint16(topAdjust + bottomAdjust)
dx := f.rectangle.X - m.X
dy := f.rectangle.Y - m.Y
nx := dx * int16(o.Width-f.rectangle.Width)
ny := dy * int16(o.Height-f.rectangle.Height)
dnx := int16(m.Width - f.rectangle.Width)
dny := int16(m.Height - f.rectangle.Height)
var dxd, dyd int16
if dnx == 0 {
dxd = 0
} else {
dxd = nx / dnx
}
if dny == 0 {
dyd = 0
} else {
dyd = ny / dny
}
f.rectangle.Width += uint16(leftAdjust + rightAdjust)
f.rectangle.Height += uint16(topAdjust + bottomAdjust)
f.rectangle.X = o.X + dxd - leftAdjust
f.rectangle.Y = o.Y + dyd - topAdjust
}
}
func (f *floatr) UpdateFloatingRectangle(c *xgb.Conn, w xproto.Window) {
geo, _ := xproto.GetGeometry(c, xproto.Drawable(w)).Reply()
if geo != nil {
f.Reposition(geo.X, geo.Y)
f.Size(geo.Width, geo.Height)
}
}
func (f *floatr) SetFloatingRectangle(r xproto.Rectangle) {
f.rectangle = r
} | euclid/clients/float.go | 0.641085 | 0.525064 | float.go | starcoder |
package golang
import (
"fmt"
"regexp"
)
var idRE = regexp.MustCompile("^[\\pL_][\\pL_\\pN]*$")
// ArrayN creates a `[n]elt` ArrayType.
func ArrayN(n int, elt Expr) *ArrayType {
return &ArrayType{Len: Int(n), Elt: elt}
}
// ArrayEllipsis creates a `[...]elt` ArrayType.
func ArrayEllipsis(elt Expr) *ArrayType {
return &ArrayType{Len: &Ellipsis{}, Elt: elt}
}
// Assert creates a TypeAssertExpr.
func Assert(x, t Expr) *TypeAssertExpr {
return &TypeAssertExpr{X: x, Type: t}
}
// AssertType creates a TypeAssertExpr.
func AssertType(x Expr) *TypeAssertExpr {
return &TypeAssertExpr{X: x}
}
// Assign creates an = AssignStmt.
func Assign(lhs []Expr, rhs ...Expr) *AssignStmt {
if len(rhs) == 0 {
panic("Missing rhs")
}
return &AssignStmt{LHS: lhs, Tok: *T("="), RHS: rhs}
}
// Binary creates a BinaryExpr.
func Binary(x Expr, op string, y Expr) *BinaryExpr {
return &BinaryExpr{X: x, Op: *T(op), Y: y}
}
// Block creates a BlockStmt.
func Block(stmt ...Stmt) *BlockStmt {
return &BlockStmt{List: stmt}
}
// Break creates a `break` BranchStmt.
func Break() *BranchStmt {
return &BranchStmt{Tok: *T("break")}
}
// BreakTo creates a `break label` BranchStmt.
func BreakTo(label string) *BranchStmt {
return &BranchStmt{Tok: *T("break"), Label: I(label)}
}
// Call creates a CallStmt.
func Call(fun Expr, args ...Expr) *CallExpr {
return &CallExpr{Fun: fun, Args: args}
}
// CallVararg creates an `arg...` CallStmt.
func CallVararg(fun Expr, args ...Expr) *CallExpr {
return &CallExpr{Fun: fun, Args: args, Ellipsis: *T("...")}
}
// Case creates a `case x, y, z:` CaseClause.
func Case(list []Expr, stmts ...Stmt) *CaseClause {
return &CaseClause{List: list, Body: stmts}
}
// Const creates a `const` GenDecl.
func Const(values ...ValueSpec) *GenDecl {
specs := make([]Spec, 0, len(values))
for _, spec := range values {
c := spec
specs = append(specs, &c)
}
return &GenDecl{Tok: *T("const"), Specs: specs}
}
// Continue creates a `continue` BranchStmt.
func Continue() *BranchStmt {
return &BranchStmt{Tok: *T("continue")}
}
// ContinueTo creates a `continue label` BranchStmt.
func ContinueTo(label string) *BranchStmt {
return &BranchStmt{Tok: *T("continue"), Label: I(label)}
}
// Composite creates a CompositeLit.
func Composite(t Expr, elts ...Expr) *CompositeLit {
return &CompositeLit{Type: t, Elts: elts}
}
// CopyChain copies an IfStmt and, recursively, n.Else if it is an IfStmt.
// Returns the copy and the last node in the chain.
func (n *IfStmt) CopyChain() (head, last *IfStmt) {
if n == nil {
return n, n
}
c := *n
head, last = &c, &c
for i, ok := last.Else.(*IfStmt); ok; i, ok = last.Else.(*IfStmt) {
last.Else, last = i.CopyChain()
}
return head, last
}
// DefaultCase creates a `default:` CaseClause.
func DefaultCase(stmts ...Stmt) *CaseClause {
return &CaseClause{Body: stmts}
}
// DefaultComm creates a `default:` CommClause.
func DefaultComm(stmts ...Stmt) *CommClause {
return &CommClause{Body: stmts}
}
// Defer creates a DeferStmt.
func Defer(fun Expr, args ...Expr) *DeferStmt {
return &DeferStmt{Call: *Call(fun, args...)}
}
// DeferVararg creates an `arg...` DeferStmt.
func DeferVararg(fun Expr, args ...Expr) *DeferStmt {
return &DeferStmt{Call: *CallVararg(fun, args...)}
}
// Dec creates an `x--` IncDecStmt.
func Dec(x Expr) *IncDecStmt {
return &IncDecStmt{X: x, Tok: *T("--")}
}
// Dot creates a SelectorExpr.
func Dot(x Expr, id string) *SelectorExpr {
return &SelectorExpr{X: x, Sel: *I(id)}
}
// Fallthrough creates a `fallthrough` BranchStmt.
func Fallthrough() *BranchStmt {
return &BranchStmt{Tok: *T("fallthrough")}
}
// Float creates a BasicLit for a float64.
func Float(v float64) *BasicLit {
return &BasicLit{Token{Text: fmt.Sprintf("%#v", v)}}
}
// Func creates a FuncLit.
func Func(params FieldList, results *FieldList, stmts ...Stmt) *FuncLit {
return &FuncLit{
Type: FuncType{Params: params, Results: results},
Body: BlockStmt{List: stmts},
}
}
// Goto creates a `goto label` BranchStmt.
func Goto(label string) *BranchStmt {
return &BranchStmt{Tok: *T("goto"), Label: I(label)}
}
// I creates an Ident.
func I(id string) *Ident {
if !idRE.MatchString(id) {
panic(fmt.Sprintf("Not a valid ident: %#v", id))
}
return &Ident{Token{Text: id}}
}
// Idents creates an []Ident from ids.
func Idents(ids ...string) []Ident {
idents := make([]Ident, 0, len(ids))
for _, id := range ids {
idents = append(idents, Ident{Token{Text: id}})
}
return idents
}
// If creates an IfStmt.
func If(init Stmt, cond Expr, stmts ...Stmt) *IfStmt {
return &IfStmt{Init: init, Cond: cond, Body: *Block(stmts...)}
}
// WithElseIf creates a copy of IfStmt with an Else stmt added.
func (n *IfStmt) WithElseIf(init Stmt, cond Expr, stmts ...Stmt) *IfStmt {
head, last := n.CopyChain()
if last.Else != nil {
panic("Cannot chain else to else-tail")
}
last.Else = &IfStmt{Init: init, Cond: cond, Body: *Block(stmts...)}
return head
}
// WithElse creates a copy of IfStmt with an Else stmt added.
func (n *IfStmt) WithElse(stmts ...Stmt) *IfStmt {
head, last := n.CopyChain()
if last.Else != nil {
panic("Cannot chain else to else-tail")
}
last.Else = Block(stmts...)
return head
}
// Import creates an `import` GenDecl.
func Import(imports ...ImportSpec) *GenDecl {
specs := make([]Spec, 0, len(imports))
for _, spec := range imports {
c := spec
specs = append(specs, &c)
}
return &GenDecl{Tok: *T("import"), Specs: specs}
}
// Inc creates an `x++` IncDecStmt.
func Inc(x Expr) *IncDecStmt {
return &IncDecStmt{X: x, Tok: *T("++")}
}
// Index creates an IndexExpr.
func Index(a, b Expr) *IndexExpr {
return &IndexExpr{X: a, Index: b}
}
// Init creates an := AssignStmt.
func Init(idents []string, rhs ...Expr) *AssignStmt {
lhs := make([]Expr, 0, len(idents))
for _, ident := range idents {
lhs = append(lhs, I(ident))
}
return &AssignStmt{LHS: lhs, Tok: *T(":="), RHS: rhs}
}
// Int creates a BasicLit for an int.
func Int(v int) *BasicLit {
return &BasicLit{Token{Text: fmt.Sprintf("%#v", v)}}
}
// KV creates a KeyValueExpr
func KV(key, value Expr) *KeyValueExpr {
return &KeyValueExpr{Key: key, Value: value}
}
// Map creates a MapType.
func Map(key, value Expr) *MapType {
return &MapType{Key: key, Value: value}
}
// Nil creates a `nil` Ident.
func Nil() *Ident {
return I("nil")
}
// ParenFields creates a ()-delimited FieldList.
func ParenFields(fields ...Field) *FieldList {
return &FieldList{
Opening: *T("("),
List: fields,
Closing: *T(")"),
}
}
// Range creates a RangeStmt.
func Range(key, value Expr, tok string, x Expr, body ...Stmt) *RangeStmt {
return &RangeStmt{Key: key, Value: value, Tok: *T(tok), X: x, Body: *Block(body...)}
}
// Recv creates a `<-ch` UnaryExpr.
func Recv(ch Expr) *UnaryExpr {
return Unary("<-", ch)
}
// RecvAssignComm creates a `case x, y = <-ch:` CommClause.
func RecvAssignComm(lhs []Expr, ch Expr, stmts ...Stmt) *CommClause {
return &CommClause{Comm: Assign(lhs, Recv(ch)), Body: stmts}
}
// RecvInitComm creates a `case x, y := <-ch:` CommClause.
func RecvInitComm(lhs []string, ch Expr, stmts ...Stmt) *CommClause {
return &CommClause{Comm: Init(lhs, Recv(ch)), Body: stmts}
}
// Return creates a ReturnStmt.
func Return(results ...Expr) *ReturnStmt {
return &ReturnStmt{Results: results}
}
// Select creates a SelectStmt.
func Select(body ...Stmt) *SelectStmt {
return &SelectStmt{Body: *Block(body...)}
}
// Send creates a SendStmt.
func Send(ch, value Expr) *SendStmt {
return &SendStmt{Chan: ch, Value: value}
}
// SendComm creates a `case ch <- value:` CommClause.
func SendComm(ch, value Expr, stmts ...Stmt) *CommClause {
return &CommClause{Comm: Send(ch, value), Body: stmts}
}
// SliceType creates a `[]elt` ArrayType.
func SliceType(elt Expr) *ArrayType {
return &ArrayType{Elt: elt}
}
// Slice creates a SliceExpr.
func Slice(x Expr, args ...Expr) *SliceExpr {
if len(args) > 3 {
panic("Too many slice args")
}
args = append(args, nil, nil, nil)[:3]
return &SliceExpr{X: x, Low: args[0], High: args[1], Max: args[2]}
}
// Star creates a StarExpr.
func Star(x Expr) *StarExpr {
return &StarExpr{X: x}
}
// String creates a BasicLit for a string.
func String(v string) *BasicLit {
return &BasicLit{Token{Text: fmt.Sprintf("%#v", v)}}
}
// Struct creates a StructType.
func Struct(fields ...Field) *StructType {
return &StructType{Fields: FieldList{List: fields}}
}
// Switch creates a SwitchStmt.
func Switch(init Expr, body ...Stmt) *SwitchStmt {
return &SwitchStmt{Body: *Block(body...)}
}
// T creates a Token.
func T(text string) *Token {
return &Token{Text: text}
}
// Types creates a `type` GenDecl.
func Types(types ...TypeSpec) *GenDecl {
specs := make([]Spec, 0, len(types))
for _, spec := range types {
c := spec
specs = append(specs, &c)
}
return &GenDecl{Tok: *T("type"), Specs: specs}
}
// TypeSwitch creates a TypeSwitchStmt.
func TypeSwitch(init Stmt, x string, y Expr, body ...Stmt) *TypeSwitchStmt {
var assign Stmt
if x != "" {
assign = Init([]string{x}, AssertType(y))
} else {
assign = &ExprStmt{AssertType(y)}
}
return &TypeSwitchStmt{Init: init, Assign: assign, Body: *Block(body...)}
}
// Unary creates a UnaryExpr.
func Unary(op string, x Expr) *UnaryExpr {
return &UnaryExpr{Op: *T(op), X: x}
}
// Var creates a `var` GenDecl.
func Var(values ...ValueSpec) *GenDecl {
specs := make([]Spec, 0, len(values))
for _, spec := range values {
c := spec
specs = append(specs, &c)
}
return &GenDecl{Tok: *T("var"), Specs: specs}
} | sysl2/codegen/golang/ast_helpers.go | 0.732496 | 0.469277 | ast_helpers.go | starcoder |
package rendering
import (
"github.com/boombuler/voxel/mgl"
"github.com/go-gl-legacy/gl"
)
type plane struct {
mgl.Vec3
D float32
}
func GLProjection() mgl.Mat4 {
var projM [16]float32
gl.GetFloatv(gl.PROJECTION_MATRIX, projM[:])
return mgl.Mat4(projM)
}
func GLModelView() mgl.Mat4 {
var modM [16]float32
gl.GetFloatv(gl.MODELVIEW_MATRIX, modM[:])
return mgl.Mat4(modM)
}
func (p *plane) Assign(v mgl.Vec4) {
p.Vec3 = v.Vec3()
p.D = v.W()
p.Normalize()
}
func (p *plane) Normalize() {
mag := float32(1) / p.Vec3.Len()
p.Vec3 = p.Vec3.Mul(mag)
p.D = p.D * mag
}
type Frustum struct {
planes [6]*plane
}
const (
pRight = 0
pLeft = 1
pBottom = 2
pTop = 3
pBack = 4
pFront = 5
ptA = 0
ptB = 1
ptC = 2
ptD = 3
)
func NewFrustum() *Frustum {
res := new(Frustum)
for i := 0; i < 6; i++ {
res.planes[i] = new(plane)
}
return res
}
func (f *Frustum) Update() {
clip := GLProjection().MulMat4(GLModelView())
// Die Seiten des Frustums aus der berechneten Clippingmatrix extrahieren
r3 := clip.Row(3)
f.planes[pLeft].Assign(r3.Add(clip.Row(0)))
f.planes[pRight].Assign(r3.Sub(clip.Row(0)))
f.planes[pBottom].Assign(r3.Add(clip.Row(1)))
f.planes[pTop].Assign(r3.Sub(clip.Row(1)))
f.planes[pFront].Assign(r3.Add(clip.Row(2)))
f.planes[pBack].Assign(r3.Sub(clip.Row(2)))
}
func (f *Frustum) IsPointWithin(pt mgl.Vec3) bool {
for _, pl := range f.planes {
if (pl.X()*pt.X() + pl.Y()*pt.Y() + pl.Z()*pt.Z() + pl.D) <= 0 {
return false
}
}
return true
}
func (f *Frustum) IsSphereWithin(center mgl.Vec3, pRadius float32) bool {
for _, pl := range f.planes {
if (pl.X()*center.X() + pl.Y()*center.Y() + pl.Z()*center.Z() + pl.D) <= -pRadius {
return false
}
}
return true
}
func (f *Frustum) IsCubeWithin(pt mgl.Vec3, size mgl.Vec3) bool {
dCenter := size.Mul(0.5)
center := pt.Add(dCenter)
pRadius := dCenter.Len()
for _, pl := range f.planes {
dPl := (pl.X()*center.X() + pl.Y()*center.Y() + pl.Z()*center.Z() + pl.D)
if dPl <= -pRadius {
return false
}
}
return true
} | rendering/frustumculling.go | 0.683631 | 0.436862 | frustumculling.go | starcoder |
package turing
type Symbol byte
type Motion byte
const (
Left Motion = 'L'
Right Motion = 'R'
Stay Motion = 'N'
)
type Tape struct {
data []Symbol
pos, left int
blank Symbol
}
// NewTape returns a new tape filled with 'data' and position set to 'start'.
// 'start' does not need to be range, the tape will be extended if required.
func NewTape(blank Symbol, start int, data []Symbol) *Tape {
t := &Tape{
data: data,
blank: blank,
}
if start < 0 {
t.Left(-start)
}
t.Right(start)
return t
}
func (t *Tape) Stay() {}
func (t *Tape) Data() []Symbol { return t.data[t.left:] }
func (t *Tape) Read() Symbol { return t.data[t.pos] }
func (t *Tape) Write(s Symbol) { t.data[t.pos] = s }
func (t *Tape) Dup() *Tape {
t2 := &Tape{
data: make([]Symbol, len(t.Data())),
blank: t.blank,
}
copy(t2.data, t.Data())
t2.pos = t.pos - t.left
return t2
}
func (t *Tape) String() string {
s := ""
for i := t.left; i < len(t.data); i++ {
b := t.data[i]
if i == t.pos {
s += "[" + string(b) + "]"
} else {
s += " " + string(b) + " "
}
}
return s
}
func (t *Tape) Move(a Motion) {
switch a {
case Left:
t.Left(1)
case Right:
t.Right(1)
case Stay:
t.Stay()
}
}
const minSz = 16
func (t *Tape) Left(n int) {
t.pos -= n
if t.pos < 0 {
// Extend left
var sz int
for sz = minSz; cap(t.data[t.left:])-t.pos >= sz; sz <<= 1 {
}
newd := make([]Symbol, sz)
newl := len(newd) - cap(t.data[t.left:])
n := copy(newd[newl:], t.data[t.left:])
t.data = newd[:newl+n]
t.pos += newl - t.left
t.left = newl
}
if t.pos < t.left {
if t.blank != 0 {
for i := t.pos; i < t.left; i++ {
t.data[i] = t.blank
}
}
t.left = t.pos
}
}
func (t *Tape) Right(n int) {
t.pos += n
if t.pos >= cap(t.data) {
// Extend right
var sz int
for sz = minSz; t.pos >= sz; sz <<= 1 {
}
newd := make([]Symbol, sz)
n := copy(newd[t.left:], t.data[t.left:])
t.data = newd[:t.left+n]
}
if i := len(t.data); t.pos >= i {
t.data = t.data[:t.pos+1]
if t.blank != 0 {
for ; i < len(t.data); i++ {
t.data[i] = t.blank
}
}
}
}
type State string
type Rule struct {
State
Symbol
Write Symbol
Motion
Next State
}
func (i *Rule) key() key { return key{i.State, i.Symbol} }
func (i *Rule) action() action { return action{i.Write, i.Motion, i.Next} }
type key struct {
State
Symbol
}
type action struct {
write Symbol
Motion
next State
}
type Machine struct {
tape *Tape
start, state State
transition map[key]action
l func(string, ...interface{}) // XXX
}
func NewMachine(rules []Rule) *Machine {
m := &Machine{transition: make(map[key]action, len(rules))}
if len(rules) > 0 {
m.start = rules[0].State
}
for _, r := range rules {
m.transition[r.key()] = r.action()
}
return m
}
func (m *Machine) Run(input *Tape) (int, *Tape) {
m.tape = input.Dup()
m.state = m.start
for cnt := 0; ; cnt++ {
if m.l != nil {
m.l("%3d %4s: %v\n", cnt, m.state, m.tape)
}
sym := m.tape.Read()
act, ok := m.transition[key{m.state, sym}]
if !ok {
return cnt, m.tape
}
m.tape.Write(act.write)
m.tape.Move(act.Motion)
m.state = act.next
}
} | lang/Go/universal-turing-machine-1.go | 0.728265 | 0.473292 | universal-turing-machine-1.go | starcoder |
package selection
import (
"fmt"
"reflect"
"github.com/onsi/gomega/format"
"github.com/sclevine/agouti/matchers/internal/colorparser"
)
type HaveCSSMatcher struct {
ExpectedProperty string
ExpectedValue string
actualValue string
isColorComparison bool
expectedColor colorparser.Color
actualColor colorparser.Color
}
func (m *HaveCSSMatcher) Match(actual interface{}) (success bool, err error) {
actualSelection, ok := actual.(interface {
CSS(property string) (string, error)
})
if !ok {
return false, fmt.Errorf("HaveCSS matcher requires a Selection. Got:\n%s", format.Object(actual, 1))
}
m.actualValue, err = actualSelection.CSS(m.ExpectedProperty)
if err != nil {
return false, err
}
expectedColor, err := colorparser.ParseCSSColor(m.ExpectedValue)
if err != nil {
return m.actualValue == m.ExpectedValue, nil
}
actualColor, err := colorparser.ParseCSSColor(m.actualValue)
if err != nil {
return false, fmt.Errorf("The expected value:\n %s\nis a color:\n% s\nBut the actual value:\n %s\nis not.\n", m.ExpectedValue, expectedColor, m.actualValue)
}
m.isColorComparison = true
m.expectedColor = expectedColor
m.actualColor = actualColor
return reflect.DeepEqual(actualColor, expectedColor), nil
}
func (m *HaveCSSMatcher) FailureMessage(actual interface{}) (message string) {
var expectedValue, actualValue string
if m.isColorComparison {
expectedValue, actualValue = m.styleColor(m.expectedColor), m.styleColor(m.actualColor)
} else {
expectedValue, actualValue = m.style(m.ExpectedValue), m.style(m.actualValue)
}
return selectorMessage(actual, "to have CSS matching", expectedValue, actualValue)
}
func (m *HaveCSSMatcher) NegatedFailureMessage(actual interface{}) (message string) {
var expectedValue, actualValue string
if m.isColorComparison {
expectedValue, actualValue = m.styleColor(m.expectedColor), m.styleColor(m.actualColor)
} else {
expectedValue, actualValue = m.style(m.ExpectedValue), m.style(m.actualValue)
}
return selectorMessage(actual, "not to have CSS matching", expectedValue, actualValue)
}
func (m *HaveCSSMatcher) style(value string) string {
return fmt.Sprintf(`%s: "%s"`, m.ExpectedProperty, value)
}
func (m *HaveCSSMatcher) styleColor(value colorparser.Color) string {
return fmt.Sprintf(`%s: %s`, m.ExpectedProperty, value)
} | src/acceptance-tests/vendor/src/github.com/sclevine/agouti/matchers/internal/selection/have_css.go | 0.757884 | 0.411554 | have_css.go | starcoder |
package monitoring
import (
"go.opencensus.io/stats"
"go.opencensus.io/stats/view"
"go.opencensus.io/tag"
)
const (
// tag names used by runtime packages
configID = "configID"
initConfigID = "initConfigID" // the id of the config, at which the adapter was instantiated.
handler = "handler"
meshFunction = "meshFunction"
adapterName = "adapter"
errorStr = "error"
)
var (
// ConfigIDTag holds a config identifier for the context.
ConfigIDTag tag.Key
// InitConfigIDTag holds the config identifier used when the context was initialized.
InitConfigIDTag tag.Key
// HandlerTag holds the current handler for the context.
HandlerTag tag.Key
// MeshFunctionTag holds the current mesh function (logentry, metric, etc) for the context.
MeshFunctionTag tag.Key
// AdapterTag holds the current adapter for the context.
AdapterTag tag.Key
// ErrorTag holds the current error for the context.
ErrorTag tag.Key
// distribution buckets
durationBuckets = []float64{.0001, .00025, .0005, .001, .0025, .005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10}
countBuckets = []float64{0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 15, 20}
// AttributesTotal is a measure of the number of known attributes.
AttributesTotal = stats.Int64(
"mixer/config/attributes_total",
"The number of known attributes in the current config.",
stats.UnitDimensionless)
// HandlersTotal is a measure of the number of known handlers.
HandlersTotal = stats.Int64(
"mixer/config/handler_configs_total",
"The number of known handlers in the current config.",
stats.UnitDimensionless)
// InstancesTotal is a measure of the number of known instances.
InstancesTotal = stats.Int64(
"mixer/config/instance_configs_total",
"The number of known instances in the current config.",
stats.UnitDimensionless)
// InstanceErrs is a measure of the number of errors for processing instance config.
InstanceErrs = stats.Int64(
"mixer/config/instance_config_errors_total",
"The number of errors encountered during processing of the instance configuration.",
stats.UnitDimensionless)
// RulesTotal is a measure of the number of known rules.
RulesTotal = stats.Int64(
"mixer/config/rule_configs_total",
"The number of known rules in the current config.",
stats.UnitDimensionless)
// RuleErrs is a measure of the number of errors for processing rules config.
RuleErrs = stats.Int64(
"mixer/config/rule_config_errors_total",
"The number of errors encountered during processing of the rule configuration.",
stats.UnitDimensionless)
// AdapterInfosTotal is a measure of the number of known adapters.
AdapterInfosTotal = stats.Int64(
"mixer/config/adapter_info_configs_total",
"The number of known adapters in the current config.",
stats.UnitDimensionless)
// AdapterErrs is a measure of the number of errors for processing adapter config.
AdapterErrs = stats.Int64(
"mixer/config/adapter_info_config_errors_total",
"The number of errors encountered during processing of the adapter info configuration.",
stats.UnitDimensionless)
// TemplatesTotal is a measure of the number of known templates.
TemplatesTotal = stats.Int64(
"mixer/config/template_configs_total",
"The number of known templates in the current config.",
stats.UnitDimensionless)
// TemplateErrs is a measure of the number of errors for processing template config.
TemplateErrs = stats.Int64(
"mixer/config/template_config_errors_total",
"The number of errors encountered during processing of the template configuration.",
stats.UnitDimensionless)
// MatchErrors is a measure of the number of errors for processing rule conditions.
MatchErrors = stats.Int64(
"mixer/config/rule_config_match_error_total",
"The number of rule conditions that was not parseable.",
stats.UnitDimensionless)
// UnsatisfiedActionHandlers is a measure of the number of actions that failed due to missing handlers.
UnsatisfiedActionHandlers = stats.Int64(
"mixer/config/unsatisfied_action_handler_total",
"The number of actions that failed due to handlers being unavailable.",
stats.UnitDimensionless)
// HandlerValidationErrors is a measure of the number of errors validating handler config.
HandlerValidationErrors = stats.Int64(
"mixer/config/handler_validation_error_total",
"The number of errors encountered because handler validation returned error.",
stats.UnitDimensionless)
// NewHandlersTotal is a measure of the number of handlers newly-created during config processing.
NewHandlersTotal = stats.Int64(
"mixer/handler/new_handlers_total",
"The number of handlers that were newly created during config transition.",
stats.UnitDimensionless)
// ReusedHandlersTotal is a measure of the number of handlers reused during config processing.
ReusedHandlersTotal = stats.Int64(
"mixer/handler/reused_handlers_total",
"The number of handlers that were re-used during config transition.",
stats.UnitDimensionless)
// ClosedHandlersTotal is a measure of the number of handlers closed during config processing.
ClosedHandlersTotal = stats.Int64(
"mixer/handler/closed_handlers_total",
"The number of handlers that were closed during config transition.",
stats.UnitDimensionless)
// BuildFailuresTotal is a measure of the number of errors building handlers during config processing.
BuildFailuresTotal = stats.Int64(
"mixer/handler/handler_build_failures_total",
"The number of handlers that failed creation during config transition.",
stats.UnitDimensionless)
// CloseFailuresTotal is a measure of the number of errors closing handlers during config processing.
CloseFailuresTotal = stats.Int64(
"mixer/handler/handler_close_failures_total",
"The number of errors encountered while closing handlers during config transition.",
stats.UnitDimensionless)
// WorkersTotal is a measure of the number of active worker go-routines for a handler.
WorkersTotal = stats.Int64(
"mixer/handler/workers_total",
"The current number of active worker routines in a given adapter environment.",
stats.UnitDimensionless)
// DaemonsTotal is a measure of the number of active daemon go-routines for a handler.
DaemonsTotal = stats.Int64(
"mixer/handler/daemons_total",
"The current number of active daemon routines in a given adapter environment.",
stats.UnitDimensionless)
// DispatchesTotal is a measure of the number of handler dispatches.
DispatchesTotal = stats.Int64(
"mixer/runtime/dispatches_total",
"Total number of adapter dispatches handled by Mixer.",
stats.UnitDimensionless)
// DispatchDurationsSeconds is a measure of the number of seconds spent in dispatch.
DispatchDurationsSeconds = stats.Float64(
"mixer/runtime/dispatch_duration_seconds",
"Duration in seconds for adapter dispatches handled by Mixer.",
stats.UnitDimensionless)
// DestinationsPerRequest is a measure of the number of handlers dispatched per request.
DestinationsPerRequest = stats.Int64(
"mixer/dispatcher/destinations_per_request",
"Number of handlers dispatched per request by Mixer",
stats.UnitDimensionless)
// InstancesPerRequest is a measure of the number of instances created per request.
InstancesPerRequest = stats.Int64(
"mixer/dispatcher/instances_per_request",
"Number of instances created per request by Mixer",
stats.UnitDimensionless)
)
func newView(measure stats.Measure, keys []tag.Key, aggregation *view.Aggregation) *view.View {
return &view.View{
Name: measure.Name(),
Description: measure.Description(),
Measure: measure,
TagKeys: keys,
Aggregation: aggregation,
}
}
func init() {
var err error
if ConfigIDTag, err = tag.NewKey(configID); err != nil {
panic(err)
}
if InitConfigIDTag, err = tag.NewKey(initConfigID); err != nil {
panic(err)
}
if MeshFunctionTag, err = tag.NewKey(meshFunction); err != nil {
panic(err)
}
if HandlerTag, err = tag.NewKey(handler); err != nil {
panic(err)
}
if AdapterTag, err = tag.NewKey(adapterName); err != nil {
panic(err)
}
if ErrorTag, err = tag.NewKey(errorStr); err != nil {
panic(err)
}
configKeys := []tag.Key{ConfigIDTag}
envConfigKeys := []tag.Key{InitConfigIDTag, HandlerTag}
dispatchKeys := []tag.Key{MeshFunctionTag, HandlerTag, AdapterTag, ErrorTag}
runtimeViews := []*view.View{
// config views
newView(AttributesTotal, configKeys, view.Count()),
newView(HandlersTotal, configKeys, view.Count()),
newView(InstancesTotal, configKeys, view.Count()),
newView(InstanceErrs, configKeys, view.Count()),
newView(RulesTotal, configKeys, view.Count()),
newView(RuleErrs, configKeys, view.Count()),
newView(AdapterInfosTotal, configKeys, view.Count()),
newView(AdapterErrs, configKeys, view.Count()),
newView(TemplatesTotal, configKeys, view.Count()),
newView(TemplateErrs, configKeys, view.Count()),
newView(MatchErrors, configKeys, view.Count()),
newView(UnsatisfiedActionHandlers, configKeys, view.Count()),
newView(HandlerValidationErrors, configKeys, view.Count()),
newView(NewHandlersTotal, configKeys, view.Count()),
newView(ReusedHandlersTotal, configKeys, view.Count()),
newView(ClosedHandlersTotal, configKeys, view.Count()),
newView(BuildFailuresTotal, configKeys, view.Count()),
newView(CloseFailuresTotal, configKeys, view.Count()),
// env views
newView(WorkersTotal, envConfigKeys, view.LastValue()),
newView(DaemonsTotal, envConfigKeys, view.LastValue()),
// dispatch views
newView(DispatchesTotal, dispatchKeys, view.Count()),
newView(DispatchDurationsSeconds, dispatchKeys, view.Distribution(durationBuckets...)),
// others
newView(DestinationsPerRequest, []tag.Key{}, view.Distribution(countBuckets...)),
newView(InstancesPerRequest, []tag.Key{}, view.Distribution(countBuckets...)),
}
if err = view.Register(runtimeViews...); err != nil {
panic(err)
}
} | mixer/pkg/runtime/monitoring/monitoring.go | 0.517083 | 0.46308 | monitoring.go | starcoder |
package logf
import (
"runtime"
"time"
"unsafe"
)
// TimeEncoder is the function type to encode the given Time.
type TimeEncoder func(time.Time, TypeEncoder)
// DurationEncoder is the function type to encode the given Duration.
type DurationEncoder func(time.Duration, TypeEncoder)
// RFC3339TimeEncoder encodes the given Time as a string using RFC3339 layout.
func RFC3339TimeEncoder(t time.Time, e TypeEncoder) {
var timeBuf [64]byte
var b []byte
b = timeBuf[:0]
b = t.AppendFormat(b, time.RFC3339)
e.EncodeTypeUnsafeBytes(noescape(unsafe.Pointer(&b)))
runtime.KeepAlive(&b)
}
// RFC3339NanoTimeEncoder encodes the given Time as a string using
// RFC3339Nano layout.
func RFC3339NanoTimeEncoder(t time.Time, e TypeEncoder) {
var timeBuf [64]byte
var b []byte
b = timeBuf[:0]
b = t.AppendFormat(b, time.RFC3339Nano)
e.EncodeTypeUnsafeBytes(noescape(unsafe.Pointer(&b)))
runtime.KeepAlive(&b)
}
// LayoutTimeEncoder encodes the given Time as a string using custom layout.
func LayoutTimeEncoder(layout string) TimeEncoder {
return func(t time.Time, m TypeEncoder) {
var timeBuf [64]byte
var b []byte
b = timeBuf[:0]
b = t.AppendFormat(b, layout)
m.EncodeTypeUnsafeBytes(noescape(unsafe.Pointer(&b)))
runtime.KeepAlive(&b)
}
}
// UnixNanoTimeEncoder encodes the given Time as a Unix time, the number of
// of nanoseconds elapsed since January 1, 1970 UTC.
func UnixNanoTimeEncoder(t time.Time, e TypeEncoder) {
e.EncodeTypeInt64(t.UnixNano())
}
// NanoDurationEncoder encodes the given Duration as a number of nanoseconds.
func NanoDurationEncoder(d time.Duration, e TypeEncoder) {
e.EncodeTypeInt64(int64(d))
}
// FloatSecondsDurationEncoder encodes the given Duration to a floating-point
// number of seconds elapsed.
func FloatSecondsDurationEncoder(d time.Duration, e TypeEncoder) {
e.EncodeTypeFloat64(float64(d) / float64(time.Second))
}
// StringDurationEncoder encodes the given Duration as a string using
// Stringer interface.
func StringDurationEncoder(d time.Duration, m TypeEncoder) {
m.EncodeTypeString(d.String())
} | time.go | 0.77081 | 0.414366 | time.go | starcoder |
package types
import (
"encoding/json"
"fmt"
"github.com/leekchan/accounting"
"math"
"strconv"
"time"
)
type Duration time.Duration
func (d Duration) Duration() time.Duration {
return time.Duration(d)
}
func (d *Duration) UnmarshalJSON(data []byte) error {
var o interface{}
if err := json.Unmarshal(data, &o); err != nil {
return err
}
switch t := o.(type) {
case string:
dd, err := time.ParseDuration(t)
if err != nil {
return err
}
*d = Duration(dd)
case float64:
*d = Duration(int64(t * float64(time.Second)))
case int64:
*d = Duration(t * int64(time.Second))
case int:
*d = Duration(t * int(time.Second))
default:
return fmt.Errorf("unsupported type %T value: %v", t, t)
}
return nil
}
type Market struct {
Symbol string
LocalSymbol string // LocalSymbol is used for exchange's API
PricePrecision int
VolumePrecision int
QuoteCurrency string
BaseCurrency string
// The MIN_NOTIONAL filter defines the minimum notional value allowed for an order on a symbol.
// An order's notional value is the price * quantity
MinNotional float64
MinAmount float64
// The LOT_SIZE filter defines the quantity
MinQuantity float64
MaxQuantity float64
StepSize float64
MinPrice float64
MaxPrice float64
TickSize float64
}
func (m Market) BaseCurrencyFormatter() *accounting.Accounting {
a := accounting.DefaultAccounting(m.BaseCurrency, m.VolumePrecision)
a.Format = "%v %s"
return a
}
func (m Market) QuoteCurrencyFormatter() *accounting.Accounting {
var format, symbol string
switch m.QuoteCurrency {
case "USDT", "USDC", "USD":
symbol = "$"
format = "%s %v"
default:
symbol = m.QuoteCurrency
format = "%v %s"
}
a := accounting.DefaultAccounting(symbol, m.PricePrecision)
a.Format = format
return a
}
func (m Market) FormatPriceCurrency(val float64) string {
switch m.QuoteCurrency {
case "USD", "USDT":
return USD.FormatMoneyFloat64(val)
case "BTC":
return BTC.FormatMoneyFloat64(val)
case "BNB":
return BNB.FormatMoneyFloat64(val)
}
return m.FormatPrice(val)
}
func (m Market) FormatPrice(val float64) string {
// p := math.Pow10(m.PricePrecision)
return formatPrice(val, m.TickSize)
}
func formatPrice(price float64, tickSize float64) string {
prec := int(math.Round(math.Abs(math.Log10(tickSize))))
p := math.Pow10(prec)
price = math.Trunc(price*p) / p
return strconv.FormatFloat(price, 'f', prec, 64)
}
func (m Market) FormatQuantity(val float64) string {
return formatQuantity(val, m.StepSize)
}
func formatQuantity(quantity float64, lot float64) string {
prec := int(math.Round(math.Abs(math.Log10(lot))))
p := math.Pow10(prec)
quantity = math.Trunc(quantity*p) / p
return strconv.FormatFloat(quantity, 'f', prec, 64)
}
func (m Market) FormatVolume(val float64) string {
p := math.Pow10(m.VolumePrecision)
val = math.Trunc(val*p) / p
return strconv.FormatFloat(val, 'f', m.VolumePrecision, 64)
}
func (m Market) CanonicalizeVolume(val float64) float64 {
p := math.Pow10(m.VolumePrecision)
return math.Trunc(p*val) / p
}
type MarketMap map[string]Market | pkg/types/market.go | 0.754282 | 0.403449 | market.go | starcoder |
package ent
import (
"fmt"
"strings"
"time"
"entgo.io/ent/dialect/sql"
"github.com/crowdsecurity/crowdsec/pkg/database/ent/machine"
)
// Machine is the model entity for the Machine schema.
type Machine struct {
config `json:"-"`
// ID of the ent.
ID int `json:"id,omitempty"`
// CreatedAt holds the value of the "created_at" field.
CreatedAt *time.Time `json:"created_at,omitempty"`
// UpdatedAt holds the value of the "updated_at" field.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// LastPush holds the value of the "last_push" field.
LastPush *time.Time `json:"last_push,omitempty"`
// LastHeartbeat holds the value of the "last_heartbeat" field.
LastHeartbeat *time.Time `json:"last_heartbeat,omitempty"`
// MachineId holds the value of the "machineId" field.
MachineId string `json:"machineId,omitempty"`
// Password holds the value of the "password" field.
Password string `json:"-"`
// IpAddress holds the value of the "ipAddress" field.
IpAddress string `json:"ipAddress,omitempty"`
// Scenarios holds the value of the "scenarios" field.
Scenarios string `json:"scenarios,omitempty"`
// Version holds the value of the "version" field.
Version string `json:"version,omitempty"`
// IsValidated holds the value of the "isValidated" field.
IsValidated bool `json:"isValidated,omitempty"`
// Status holds the value of the "status" field.
Status string `json:"status,omitempty"`
// Edges holds the relations/edges for other nodes in the graph.
// The values are being populated by the MachineQuery when eager-loading is set.
Edges MachineEdges `json:"edges"`
}
// MachineEdges holds the relations/edges for other nodes in the graph.
type MachineEdges struct {
// Alerts holds the value of the alerts edge.
Alerts []*Alert `json:"alerts,omitempty"`
// loadedTypes holds the information for reporting if a
// type was loaded (or requested) in eager-loading or not.
loadedTypes [1]bool
}
// AlertsOrErr returns the Alerts value or an error if the edge
// was not loaded in eager-loading.
func (e MachineEdges) AlertsOrErr() ([]*Alert, error) {
if e.loadedTypes[0] {
return e.Alerts, nil
}
return nil, &NotLoadedError{edge: "alerts"}
}
// scanValues returns the types for scanning values from sql.Rows.
func (*Machine) scanValues(columns []string) ([]interface{}, error) {
values := make([]interface{}, len(columns))
for i := range columns {
switch columns[i] {
case machine.FieldIsValidated:
values[i] = new(sql.NullBool)
case machine.FieldID:
values[i] = new(sql.NullInt64)
case machine.FieldMachineId, machine.FieldPassword, machine.FieldIpAddress, machine.FieldScenarios, machine.FieldVersion, machine.FieldStatus:
values[i] = new(sql.NullString)
case machine.FieldCreatedAt, machine.FieldUpdatedAt, machine.FieldLastPush, machine.FieldLastHeartbeat:
values[i] = new(sql.NullTime)
default:
return nil, fmt.Errorf("unexpected column %q for type Machine", columns[i])
}
}
return values, nil
}
// assignValues assigns the values that were returned from sql.Rows (after scanning)
// to the Machine fields.
func (m *Machine) assignValues(columns []string, values []interface{}) error {
if m, n := len(values), len(columns); m < n {
return fmt.Errorf("mismatch number of scan values: %d != %d", m, n)
}
for i := range columns {
switch columns[i] {
case machine.FieldID:
value, ok := values[i].(*sql.NullInt64)
if !ok {
return fmt.Errorf("unexpected type %T for field id", value)
}
m.ID = int(value.Int64)
case machine.FieldCreatedAt:
if value, ok := values[i].(*sql.NullTime); !ok {
return fmt.Errorf("unexpected type %T for field created_at", values[i])
} else if value.Valid {
m.CreatedAt = new(time.Time)
*m.CreatedAt = value.Time
}
case machine.FieldUpdatedAt:
if value, ok := values[i].(*sql.NullTime); !ok {
return fmt.Errorf("unexpected type %T for field updated_at", values[i])
} else if value.Valid {
m.UpdatedAt = new(time.Time)
*m.UpdatedAt = value.Time
}
case machine.FieldLastPush:
if value, ok := values[i].(*sql.NullTime); !ok {
return fmt.Errorf("unexpected type %T for field last_push", values[i])
} else if value.Valid {
m.LastPush = new(time.Time)
*m.LastPush = value.Time
}
case machine.FieldLastHeartbeat:
if value, ok := values[i].(*sql.NullTime); !ok {
return fmt.Errorf("unexpected type %T for field last_heartbeat", values[i])
} else if value.Valid {
m.LastHeartbeat = new(time.Time)
*m.LastHeartbeat = value.Time
}
case machine.FieldMachineId:
if value, ok := values[i].(*sql.NullString); !ok {
return fmt.Errorf("unexpected type %T for field machineId", values[i])
} else if value.Valid {
m.MachineId = value.String
}
case machine.FieldPassword:
if value, ok := values[i].(*sql.NullString); !ok {
return fmt.Errorf("unexpected type %T for field password", values[i])
} else if value.Valid {
m.Password = value.String
}
case machine.FieldIpAddress:
if value, ok := values[i].(*sql.NullString); !ok {
return fmt.Errorf("unexpected type %T for field ipAddress", values[i])
} else if value.Valid {
m.IpAddress = value.String
}
case machine.FieldScenarios:
if value, ok := values[i].(*sql.NullString); !ok {
return fmt.Errorf("unexpected type %T for field scenarios", values[i])
} else if value.Valid {
m.Scenarios = value.String
}
case machine.FieldVersion:
if value, ok := values[i].(*sql.NullString); !ok {
return fmt.Errorf("unexpected type %T for field version", values[i])
} else if value.Valid {
m.Version = value.String
}
case machine.FieldIsValidated:
if value, ok := values[i].(*sql.NullBool); !ok {
return fmt.Errorf("unexpected type %T for field isValidated", values[i])
} else if value.Valid {
m.IsValidated = value.Bool
}
case machine.FieldStatus:
if value, ok := values[i].(*sql.NullString); !ok {
return fmt.Errorf("unexpected type %T for field status", values[i])
} else if value.Valid {
m.Status = value.String
}
}
}
return nil
}
// QueryAlerts queries the "alerts" edge of the Machine entity.
func (m *Machine) QueryAlerts() *AlertQuery {
return (&MachineClient{config: m.config}).QueryAlerts(m)
}
// Update returns a builder for updating this Machine.
// Note that you need to call Machine.Unwrap() before calling this method if this Machine
// was returned from a transaction, and the transaction was committed or rolled back.
func (m *Machine) Update() *MachineUpdateOne {
return (&MachineClient{config: m.config}).UpdateOne(m)
}
// Unwrap unwraps the Machine entity that was returned from a transaction after it was closed,
// so that all future queries will be executed through the driver which created the transaction.
func (m *Machine) Unwrap() *Machine {
tx, ok := m.config.driver.(*txDriver)
if !ok {
panic("ent: Machine is not a transactional entity")
}
m.config.driver = tx.drv
return m
}
// String implements the fmt.Stringer.
func (m *Machine) String() string {
var builder strings.Builder
builder.WriteString("Machine(")
builder.WriteString(fmt.Sprintf("id=%v", m.ID))
if v := m.CreatedAt; v != nil {
builder.WriteString(", created_at=")
builder.WriteString(v.Format(time.ANSIC))
}
if v := m.UpdatedAt; v != nil {
builder.WriteString(", updated_at=")
builder.WriteString(v.Format(time.ANSIC))
}
if v := m.LastPush; v != nil {
builder.WriteString(", last_push=")
builder.WriteString(v.Format(time.ANSIC))
}
if v := m.LastHeartbeat; v != nil {
builder.WriteString(", last_heartbeat=")
builder.WriteString(v.Format(time.ANSIC))
}
builder.WriteString(", machineId=")
builder.WriteString(m.MachineId)
builder.WriteString(", password=<<PASSWORD>>")
builder.WriteString(", ipAddress=")
builder.WriteString(m.IpAddress)
builder.WriteString(", scenarios=")
builder.WriteString(m.Scenarios)
builder.WriteString(", version=")
builder.WriteString(m.Version)
builder.WriteString(", isValidated=")
builder.WriteString(fmt.Sprintf("%v", m.IsValidated))
builder.WriteString(", status=")
builder.WriteString(m.Status)
builder.WriteByte(')')
return builder.String()
}
// Machines is a parsable slice of Machine.
type Machines []*Machine
func (m Machines) config(cfg config) {
for _i := range m {
m[_i].config = cfg
}
} | pkg/database/ent/machine.go | 0.604165 | 0.420421 | machine.go | starcoder |
package utils
import (
"reflect"
"strconv"
"time"
)
func IsInts(k reflect.Kind) bool {
switch k {
case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
return true
}
return false
}
func IsUints(k reflect.Kind) bool {
switch k {
case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
return true
}
return false
}
func IsIntegers(t reflect.Type) bool {
k := t.Kind()
return IsInts(k) || IsUints(k)
}
func IsTimes(t reflect.Type) bool {
k := t.Kind()
return k == reflect.Int64 || k == reflect.Int || t == reflect.TypeOf(time.Time{})
}
func IsStruct(t reflect.Type) bool {
return t.Kind() == reflect.Struct
}
func IsMapOrSlice(k reflect.Kind) bool {
return k == reflect.Map || k == reflect.Slice
}
func IsStructs(t reflect.Type) bool {
if IsMapOrSlice(t.Kind()) {
t = t.Elem()
if t.Kind() == reflect.Ptr {
t = t.Elem()
}
return IsStruct(t)
}
return false
}
func PtrValue(i interface{}) (v reflect.Value, isPointer bool) {
if i == nil {
panic("nil value")
}
v = reflect.ValueOf(i)
if v.Kind() == reflect.Ptr {
if v.IsNil() {
panic("nil pointer")
} else {
v = v.Elem()
isPointer = true
}
}
return
}
func IsZero(v reflect.Value) bool {
switch v.Kind() {
case reflect.Bool:
return !v.Bool()
case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
return v.Int() == 0
case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
return v.Uint() == 0
case reflect.Float32, reflect.Float64:
return v.Float() == 0
case reflect.Array, reflect.Map, reflect.Slice, reflect.String:
return v.Len() == 0
case reflect.Chan, reflect.Func, reflect.Interface, reflect.Ptr:
return v.IsNil()
}
return v.IsValid() && v.Type() == reflect.TypeOf(time.Time{}) && v.Interface().(time.Time).IsZero()
}
func ToString(value interface{}) string {
switch v := value.(type) {
case string:
return v
case int:
return strconv.FormatInt(int64(v), 10)
case int8:
return strconv.FormatInt(int64(v), 10)
case int16:
return strconv.FormatInt(int64(v), 10)
case int32:
return strconv.FormatInt(int64(v), 10)
case int64:
return strconv.FormatInt(v, 10)
case uint:
return strconv.FormatUint(uint64(v), 10)
case uint8:
return strconv.FormatUint(uint64(v), 10)
case uint16:
return strconv.FormatUint(uint64(v), 10)
case uint32:
return strconv.FormatUint(uint64(v), 10)
case uint64:
return strconv.FormatUint(v, 10)
}
return ""
} | utils/utils.go | 0.566498 | 0.582729 | utils.go | starcoder |
package benchparse
// OrderedStringStringMap is a map of strings to strings that maintains ordering. Ordering allows symmetric encode/decode
// operations of a benchmark run. Plus, ordering is not strictly mentioned as unimportant in the spec.
// This statement implies uniqueness of keys per benchmark.
// "The interpretation of a key/value pair is up to tooling, but the key/value pair is considered to describe all benchmark results that follow, until overwritten by a configuration line with the same key."
type OrderedStringStringMap struct {
// Contents are the values inside this map
Contents map[string]string
// Order is the string order of the contents of this map. It is intended that len(Order) == len(Contents) and the
// keys of Contents are all inside Order.
Order []string
}
// valuesToTransition returns the OrderedStringStringMap object that is required to transition from the current
// key/value pairs to the newState of key/value pairs. Not all transitions are possible. It does a best guess
// ordering.
func (o *OrderedStringStringMap) valuesToTransition(newState *OrderedStringStringMap) *OrderedStringStringMap {
if o == newState {
return &OrderedStringStringMap{}
}
if o == nil || len(o.Contents) == 0 {
return newState
}
if newState == nil {
return o
}
ret := &OrderedStringStringMap{}
for _, k := range newState.Order {
v := newState.Contents[k]
if !o.exists(k, v) {
ret.add(k, v)
}
}
return ret
}
// clone makes a deep copy of this object
func (o *OrderedStringStringMap) clone() *OrderedStringStringMap {
if o == nil {
return nil
}
ret := &OrderedStringStringMap{}
for i := range o.Order {
ret.add(o.Order[i], o.Contents[o.Order[i]])
}
return ret
}
// exists returns true if this key/value pair exists in the map
func (o *OrderedStringStringMap) exists(k string, v string) bool {
return o.Contents[k] == v
}
// add a key to this map at the ordering "last"
func (o *OrderedStringStringMap) add(k string, v string) {
if _, exists := o.Contents[k]; exists {
o.remove(k)
}
if o.Contents == nil {
o.Contents = make(map[string]string)
}
o.Contents[k] = v
o.Order = append(o.Order, k)
}
// remove a key from this map if it exists
func (o *OrderedStringStringMap) remove(s string) {
if _, exists := o.Contents[s]; !exists {
return
}
delete(o.Contents, s)
for i, val := range o.Order {
if s == val {
o.Order = append(o.Order[0:i], o.Order[i+1:]...)
return
}
}
} | orderedstringstringmap.go | 0.792825 | 0.41484 | orderedstringstringmap.go | starcoder |
package binaryop
import (
"math"
)
var nan = math.NaN()
// Eq returns true of left == right.
func Eq(left, right float64) bool {
// Special handling for nan == nan.
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/150 .
if math.IsNaN(left) {
return math.IsNaN(right)
}
return left == right
}
// Neq returns true of left != right.
func Neq(left, right float64) bool {
// Special handling for comparison with nan.
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/150 .
if math.IsNaN(left) {
return !math.IsNaN(right)
}
if math.IsNaN(right) {
return true
}
return left != right
}
// Gt returns true of left > right
func Gt(left, right float64) bool {
return left > right
}
// Lt returns true if left < right
func Lt(left, right float64) bool {
return left < right
}
// Gte returns true if left >= right
func Gte(left, right float64) bool {
return left >= right
}
// Lte returns true if left <= right
func Lte(left, right float64) bool {
return left <= right
}
// Plus returns left + right
func Plus(left, right float64) float64 {
return left + right
}
// Minus returns left - right
func Minus(left, right float64) float64 {
return left - right
}
// Mul returns left * right
func Mul(left, right float64) float64 {
return left * right
}
// Div returns left / right
func Div(left, right float64) float64 {
return left / right
}
// Mod returns mod(left, right)
func Mod(left, right float64) float64 {
return math.Mod(left, right)
}
// Pow returns pow(left, right)
func Pow(left, right float64) float64 {
return math.Pow(left, right)
}
// Default returns left or right if left is NaN.
func Default(left, right float64) float64 {
if math.IsNaN(left) {
return right
}
return left
}
// If returns left if right is not NaN. Otherwise NaN is returned.
func If(left, right float64) float64 {
if math.IsNaN(right) {
return nan
}
return left
}
// Ifnot returns left if right is NaN. Otherwise NaN is returned.
func Ifnot(left, right float64) float64 {
if math.IsNaN(right) {
return left
}
return nan
} | vendor/github.com/VictoriaMetrics/metricsql/binaryop/funcs.go | 0.886273 | 0.592107 | funcs.go | starcoder |
package processor
import (
"errors"
"fmt"
"sort"
"strconv"
"strings"
"time"
"github.com/Jeffail/benthos/v3/lib/log"
"github.com/Jeffail/benthos/v3/lib/metrics"
"github.com/Jeffail/benthos/v3/lib/types"
"github.com/Jeffail/benthos/v3/lib/util/text"
)
//------------------------------------------------------------------------------
func init() {
Constructors[TypeMetric] = TypeSpec{
constructor: NewMetric,
description: `
Expose custom metrics by extracting values from message batches. This processor
executes once per batch, in order to execute once per message place it within a
` + "[`for_each`](#for_each)" + ` processor:
` + "``` yaml" + `
for_each:
- metric:
type: counter_by
path: count.custom.field
value: ${!json_field:field.some.value}
` + "```" + `
The ` + "`path`" + ` field should be a dot separated path of the metric to be
set and will automatically be converted into the correct format of the
configured metric aggregator.
The ` + "`value`" + ` field can be set using function interpolations described
[here](../config_interpolation.md#functions) and is used according to the
specific type.
### Types
#### ` + "`counter`" + `
Increments a counter by exactly 1, the contents of ` + "`value`" + ` are ignored
by this type.
#### ` + "`counter_parts`" + `
Increments a counter by the number of parts within the message batch, the
contents of ` + "`value`" + ` are ignored by this type.
#### ` + "`counter_by`" + `
If the contents of ` + "`value`" + ` can be parsed as a positive integer value
then the counter is incremented by this value.
For example, the following configuration will increment the value of the
` + "`count.custom.field` metric by the contents of `field.some.value`" + `:
` + "``` yaml" + `
metric:
type: counter_by
path: count.custom.field
value: ${!json_field:field.some.value}
` + "```" + `
#### ` + "`gauge`" + `
If the contents of ` + "`value`" + ` can be parsed as a positive integer value
then the gauge is set to this value.
For example, the following configuration will set the value of the
` + "`gauge.custom.field` metric to the contents of `field.some.value`" + `:
` + "``` yaml" + `
metric:
type: gauge
path: gauge.custom.field
value: ${!json_field:field.some.value}
` + "```" + `
#### ` + "`timing`" + `
Equivalent to ` + "`gauge`" + ` where instead the metric is a timing.
### Labels
Some metrics aggregators, such as Prometheus, support arbitrary labels, in which
case the ` + "`labels`" + ` field can be used in order to create them. Label
values can also be set using function interpolations in order to dynamically
populate them with context about the message.`,
}
}
//------------------------------------------------------------------------------
// MetricConfig contains configuration fields for the Metric processor.
type MetricConfig struct {
Type string `json:"type" yaml:"type"`
Path string `json:"path" yaml:"path"`
Labels map[string]string `json:"labels" yaml:"labels"`
Value string `json:"value" yaml:"value"`
}
// NewMetricConfig returns a MetricConfig with default values.
func NewMetricConfig() MetricConfig {
return MetricConfig{
Type: "counter",
Path: "",
Labels: map[string]string{},
Value: "",
}
}
//------------------------------------------------------------------------------
// Metric is a processor that creates a metric from extracted values from a message part.
type Metric struct {
conf Config
log log.Modular
stats metrics.Type
interpolateValue bool
labels labels
mCounter metrics.StatCounter
mGauge metrics.StatGauge
mTimer metrics.StatTimer
mCounterVec metrics.StatCounterVec
mGaugeVec metrics.StatGaugeVec
mTimerVec metrics.StatTimerVec
handler func(string, types.Message) error
}
type labels []label
type label struct {
name string
value string
interpolateValue bool
}
func (l *label) val(msg types.Message) string {
if l.interpolateValue {
return string(text.ReplaceFunctionVariables(msg, []byte(l.value)))
}
return l.value
}
func (l labels) names() []string {
var names []string
for i := range l {
names = append(names, l[i].name)
}
return names
}
func (l labels) values(msg types.Message) []string {
var values []string
for i := range l {
values = append(values, l[i].val(msg))
}
return values
}
// NewMetric returns a Metric processor.
func NewMetric(
conf Config, mgr types.Manager, log log.Modular, stats metrics.Type,
) (Type, error) {
m := &Metric{
conf: conf,
log: log,
stats: stats,
interpolateValue: text.ContainsFunctionVariables([]byte(conf.Metric.Value)),
}
if len(conf.Metric.Path) == 0 {
return nil, errors.New("path must not be empty")
}
labelNames := make([]string, 0, len(conf.Metric.Labels))
for n := range conf.Metric.Labels {
labelNames = append(labelNames, n)
}
sort.Strings(labelNames)
for _, n := range labelNames {
v := conf.Metric.Labels[n]
m.labels = append(m.labels, label{
name: n,
value: v,
interpolateValue: text.ContainsFunctionVariables([]byte(v)),
})
}
switch strings.ToLower(conf.Metric.Type) {
case "counter":
if len(m.labels) > 0 {
m.mCounterVec = stats.GetCounterVec(conf.Metric.Path, m.labels.names())
} else {
m.mCounter = stats.GetCounter(conf.Metric.Path)
}
m.handler = m.handleCounter
case "counter_parts":
if len(m.labels) > 0 {
m.mCounterVec = stats.GetCounterVec(conf.Metric.Path, m.labels.names())
} else {
m.mCounter = stats.GetCounter(conf.Metric.Path)
}
m.handler = m.handleCounterParts
case "counter_by":
if len(m.labels) > 0 {
m.mCounterVec = stats.GetCounterVec(conf.Metric.Path, m.labels.names())
} else {
m.mCounter = stats.GetCounter(conf.Metric.Path)
}
m.handler = m.handleCounterBy
case "gauge":
if len(m.labels) > 0 {
m.mGaugeVec = stats.GetGaugeVec(conf.Metric.Path, m.labels.names())
} else {
m.mGauge = stats.GetGauge(conf.Metric.Path)
}
m.handler = m.handleGauge
case "timing":
if len(m.labels) > 0 {
m.mTimerVec = stats.GetTimerVec(conf.Metric.Path, m.labels.names())
} else {
m.mTimer = stats.GetTimer(conf.Metric.Path)
}
m.handler = m.handleTimer
default:
return nil, fmt.Errorf("metric type unrecognised: %v", conf.Metric.Type)
}
return m, nil
}
func (m *Metric) handleCounter(val string, msg types.Message) error {
if len(m.labels) > 0 {
m.mCounterVec.With(m.labels.values(msg)...).Incr(1)
} else {
m.mCounter.Incr(1)
}
return nil
}
func (m *Metric) handleCounterParts(val string, msg types.Message) error {
if msg.Len() == 0 {
return nil
}
if len(m.labels) > 0 {
m.mCounterVec.With(m.labels.values(msg)...).Incr(int64(msg.Len()))
} else {
m.mCounter.Incr(int64(msg.Len()))
}
return nil
}
func (m *Metric) handleCounterBy(val string, msg types.Message) error {
i, err := strconv.ParseInt(val, 10, 64)
if err != nil {
return err
}
if i < 0 {
return errors.New("value is negative")
}
if len(m.labels) > 0 {
m.mCounterVec.With(m.labels.values(msg)...).Incr(i)
} else {
m.mCounter.Incr(i)
}
return nil
}
func (m *Metric) handleGauge(val string, msg types.Message) error {
i, err := strconv.ParseInt(val, 10, 64)
if err != nil {
return err
}
if i < 0 {
return errors.New("value is negative")
}
if len(m.labels) > 0 {
m.mGaugeVec.With(m.labels.values(msg)...).Set(i)
} else {
m.mGauge.Set(i)
}
return nil
}
func (m *Metric) handleTimer(val string, msg types.Message) error {
i, err := strconv.ParseInt(val, 10, 64)
if err != nil {
return err
}
if i < 0 {
return errors.New("value is negative")
}
if len(m.labels) > 0 {
m.mTimerVec.With(m.labels.values(msg)...).Timing(i)
} else {
m.mTimer.Timing(i)
}
return nil
}
// ProcessMessage applies the processor to a message
func (m *Metric) ProcessMessage(msg types.Message) ([]types.Message, types.Response) {
value := m.conf.Metric.Value
if m.interpolateValue {
value = string(text.ReplaceFunctionVariables(msg, []byte(m.conf.Metric.Value)))
}
if err := m.handler(value, msg); err != nil {
m.log.Errorf("Handler error: %v\n", err)
}
return []types.Message{msg}, nil
}
// CloseAsync shuts down the processor and stops processing requests.
func (m *Metric) CloseAsync() {
}
// WaitForClose blocks until the processor has closed down.
func (m *Metric) WaitForClose(timeout time.Duration) error {
return nil
} | lib/processor/metric.go | 0.856362 | 0.704122 | metric.go | starcoder |
package sampler
import (
"math"
"time"
"github.com/DataDog/datadog-trace-agent/model"
"github.com/DataDog/datadog-trace-agent/watchdog"
)
const (
// Sampler parameters not (yet?) configurable
defaultDecayPeriod time.Duration = 5 * time.Second
// With this factor, any past trace counts for less than 50% after 6*decayPeriod and >1% after 39*decayPeriod
// We can keep it hardcoded, but having `decayPeriod` configurable should be enough?
defaultDecayFactor float64 = 1.125 // 9/8
adjustPeriod time.Duration = 10 * time.Second
initialSignatureScoreOffset float64 = 1
minSignatureScoreOffset float64 = 0.01
defaultSignatureScoreSlope float64 = 3
)
// EngineType represents the type of a sampler engine.
type EngineType int
const (
// NormalScoreEngineType is the type of the ScoreEngine sampling non-error traces.
NormalScoreEngineType EngineType = iota
// ErrorsScoreEngineType is the type of the ScoreEngine sampling error traces.
ErrorsScoreEngineType
// PriorityEngineType is type of the priority sampler engine type.
PriorityEngineType
)
// Engine is a common basic interface for sampler engines.
type Engine interface {
// Run the sampler.
Run()
// Stop the sampler.
Stop()
// Sample a trace.
Sample(trace model.Trace, root *model.Span, env string) bool
// GetState returns information about the sampler.
GetState() interface{}
// GetType returns the type of the sampler.
GetType() EngineType
}
// Sampler is the main component of the sampling logic
type Sampler struct {
// Storage of the state of the sampler
Backend Backend
// Extra sampling rate to combine to the existing sampling
extraRate float64
// Maximum limit to the total number of traces per second to sample
maxTPS float64
// Sample any signature with a score lower than scoreSamplingOffset
// It is basically the number of similar traces per second after which we start sampling
signatureScoreOffset float64
// Logarithm slope for the scoring function
signatureScoreSlope float64
// signatureScoreFactor = math.Pow(signatureScoreSlope, math.Log10(scoreSamplingOffset))
signatureScoreFactor float64
exit chan struct{}
}
// newSampler returns an initialized Sampler
func newSampler(extraRate float64, maxTPS float64) *Sampler {
s := &Sampler{
Backend: NewMemoryBackend(defaultDecayPeriod, defaultDecayFactor),
extraRate: extraRate,
maxTPS: maxTPS,
exit: make(chan struct{}),
}
s.SetSignatureCoefficients(initialSignatureScoreOffset, defaultSignatureScoreSlope)
return s
}
// SetSignatureCoefficients updates the internal scoring coefficients used by the signature scoring
func (s *Sampler) SetSignatureCoefficients(offset float64, slope float64) {
s.signatureScoreOffset = offset
s.signatureScoreSlope = slope
s.signatureScoreFactor = math.Pow(slope, math.Log10(offset))
}
// UpdateExtraRate updates the extra sample rate
func (s *Sampler) UpdateExtraRate(extraRate float64) {
s.extraRate = extraRate
}
// UpdateMaxTPS updates the max TPS limit
func (s *Sampler) UpdateMaxTPS(maxTPS float64) {
s.maxTPS = maxTPS
}
// Run runs and block on the Sampler main loop
func (s *Sampler) Run() {
go func() {
defer watchdog.LogOnPanic()
s.Backend.Run()
}()
s.RunAdjustScoring()
}
// Stop stops the main Run loop
func (s *Sampler) Stop() {
s.Backend.Stop()
close(s.exit)
}
// RunAdjustScoring is the sampler feedback loop to adjust the scoring coefficients
func (s *Sampler) RunAdjustScoring() {
t := time.NewTicker(adjustPeriod)
defer t.Stop()
for {
select {
case <-t.C:
s.AdjustScoring()
case <-s.exit:
return
}
}
}
// GetSampleRate returns the sample rate to apply to a trace.
func (s *Sampler) GetSampleRate(trace model.Trace, root *model.Span, signature Signature) float64 {
sampleRate := s.GetSignatureSampleRate(signature) * s.extraRate
return sampleRate
}
// GetMaxTPSSampleRate returns an extra sample rate to apply if we are above maxTPS.
func (s *Sampler) GetMaxTPSSampleRate() float64 {
// When above maxTPS, apply an additional sample rate to statistically respect the limit
maxTPSrate := 1.0
if s.maxTPS > 0 {
currentTPS := s.Backend.GetUpperSampledScore()
if currentTPS > s.maxTPS {
maxTPSrate = s.maxTPS / currentTPS
}
}
return maxTPSrate
}
// GetTraceAppliedSampleRate gets the sample rate the sample rate applied earlier in the pipeline.
func GetTraceAppliedSampleRate(root *model.Span) float64 {
if rate, ok := root.Metrics[model.SpanSampleRateMetricKey]; ok {
return rate
}
return 1.0
}
// SetTraceAppliedSampleRate sets the currently applied sample rate in the trace data to allow chained up sampling.
func SetTraceAppliedSampleRate(root *model.Span, sampleRate float64) {
if root.Metrics == nil {
root.Metrics = make(map[string]float64)
}
root.Metrics[model.SpanSampleRateMetricKey] = sampleRate
} | sampler/coresampler.go | 0.734881 | 0.453141 | coresampler.go | starcoder |
package doudizhu
import (
"game/internal/poker"
"reflect"
)
type cardPatternSequenceOfTripletsWithPairs struct {
cardPatternBase
}
func (r cardPatternSequenceOfTripletsWithPairs) Name() string {
return reflect.TypeOf(r).Name()
}
func (r cardPatternSequenceOfTripletsWithPairs) Valid() bool {
if r.Cards().Exists(func(c *poker.Card) bool {
return c.Value == poker.ValueColoredJoker || c.Value == poker.ValueJoker
}) {
return false
}
tripletsCardsCounts := r.Cards().Counts(func(val poker.Value, count int) bool {
return count == 3
})
ranks := DoudizhuValueRanks
if r.Cards().Exists(func(c *poker.Card) bool {
for val := range tripletsCardsCounts {
if c.Value == poker.ValueAce && c.Value == val {
return true
}
}
return false
}) && r.Cards().Exists(func(c *poker.Card) bool {
for val := range tripletsCardsCounts {
if c.Value == poker.ValueTwo && c.Value == val {
return true
}
}
return false
}) {
ranks = poker.ValueSortRanks
}
r.Cards().Sort(ranks)
if len(tripletsCardsCounts) < 2 {
return false
}
subCards := r.Cards().SubCards(func(c *poker.Card) bool {
for val := range tripletsCardsCounts {
if val == c.Value {
return true
}
}
return false
})
subCards.Sort(ranks)
for i := 0; i < subCards.Length()-1; i++ {
current := subCards[i]
next := subCards[i+1]
switch ranks.Rank(next) - ranks.Rank(current) {
case 0:
case 1:
default:
return false
}
}
pairCardsCounts := r.Cards().Counts(func(val poker.Value, count int) bool {
return count == 2
})
tripletCardsCounts := r.Cards().Counts(func(val poker.Value, count int) bool {
return count == 3
})
quadrupletCardsCounts := r.Cards().Counts(func(val poker.Value, count int) bool {
return count == 4
})
if len(pairCardsCounts)+(len(quadrupletCardsCounts)*2) != len(tripletCardsCounts) {
return false
}
return len(tripletsCardsCounts)*3+len(quadrupletCardsCounts)*4+len(pairCardsCounts)*2 == r.Cards().Length()
}
func (r cardPatternSequenceOfTripletsWithPairs) Same(s poker.CardPattern) bool {
return r.Name() == s.Name()
}
func (r cardPatternSequenceOfTripletsWithPairs) Equal(s poker.CardPattern) bool {
return false
}
func (r cardPatternSequenceOfTripletsWithPairs) Greeter(s poker.CardPattern) bool {
if !r.Same(s) || !r.Valid() || !s.Valid() || r.Cards().Length() != s.Cards().Length() {
return false
}
rCard := r.Cards().Last(func(c1 *poker.Card) bool {
return r.Cards().Count(func(c2 *poker.Card) bool {
return c1.Value == c2.Value
}) == 3
})
sCard := s.Cards().Last(func(c1 *poker.Card) bool {
return s.Cards().Count(func(c2 *poker.Card) bool {
return c1.Value == c2.Value
}) == 3
})
return DoudizhuValueRanks.Rank(rCard) > DoudizhuValueRanks.Rank(sCard)
}
func (r cardPatternSequenceOfTripletsWithPairs) Lesser(s poker.CardPattern) bool {
return s.Greeter(r)
}
func (r cardPatternSequenceOfTripletsWithPairs) String() string {
return ""
}
func (r cardPatternSequenceOfTripletsWithPairs) Factory(cards poker.Cards) poker.CardPattern {
return cardPatternSequenceOfTripletsWithPairs{cardPatternBase: cardPatternBase{cards: cards}}
}
func FactoryCardPatternSequenceOfTripletsWithPairs(cards poker.Cards) poker.CardPattern {
return cardPatternSequenceOfTripletsWithPairs{}.Factory(cards)
} | internal/poker/doudizhu/cardPatternSequenceOfTripletsWithPairs.go | 0.528047 | 0.412826 | cardPatternSequenceOfTripletsWithPairs.go | starcoder |
package services
import (
"errors"
"github.com/miguelbemartin/vat/models"
)
// RatesService handle the rates of vat for the given country code.
type RatesService struct{}
// NewRatesService creates a new handler for this service.
func NewRatesService() *RatesService {
return &RatesService{}
}
// Get will return a rate for the given country code.
func (s *RatesService) Get(code string) (*models.Rate, error) {
if code == "" {
return nil, errors.New("rate: code is empty")
}
rates := map[string]models.Rate{
"ES": {
Country: "Spain",
CountryCode: "ES",
SuperReduced: 4.0,
Reduced: 10.0,
Standard: 21.0,
},
"BG": {
Country: "Bulgaria",
CountryCode: "BG",
Reduced: 9.0,
Standard: 20.0,
},
"HU": {
Country: "Hungary",
CountryCode: "HU",
Reduced1: 5.0,
Reduced2: 18.0,
Standard: 27.0,
},
"LV": {
Country: "Latvia",
CountryCode: "LV",
Reduced: 12.0,
Standard: 21.0,
},
"PL": {
Country: "Poland",
CountryCode: "PL",
Reduced1: 5.0,
Reduced2: 8.0,
Standard: 23.0,
},
"UK": {
Country: "United Kingdom",
CountryCode: "GB",
Standard: 20.0,
Reduced: 5.0,
},
"CZ": {
Country: "Czech Republic",
CountryCode: "CZ",
Reduced: 15.0,
Standard: 21.0,
},
"MT": {
Country: "Malta",
CountryCode: "MT",
Reduced1: 5.0,
Reduced2: 7.0,
Standard: 18.0,
},
"IT": {
Country: "Italy",
CountryCode: "IT",
SuperReduced: 4.0,
Reduced: 10.0,
Standard: 22.0,
},
"SI": {
Country: "Slovenia",
CountryCode: "SI",
Reduced: 9.5,
Standard: 22.0,
},
"IE": {
Country: "Ireland",
CountryCode: "IE",
SuperReduced: 4.8,
Reduced1: 9.0,
Reduced2: 13.5,
Standard: 23.0,
Parking: 13.5,
},
"SE": {
Country: "Sweden",
CountryCode: "SE",
Reduced1: 6.0,
Reduced2: 12.0,
Standard: 25.0,
},
"DK": {
Country: "Denmark",
CountryCode: "DK",
Standard: 25.0,
},
"FI": {
Country: "Finland",
CountryCode: "FI",
Reduced1: 10.0,
Reduced2: 14.0,
Standard: 24.0,
},
"CY": {
Country: "Cyprus",
CountryCode: "CY",
Reduced1: 5.0,
Reduced2: 9.0,
Standard: 19.0,
},
"LU": {
Country: "Luxembourg",
CountryCode: "LU",
SuperReduced: 3.0,
Reduced1: 8.0,
Standard: 17.0,
Parking: 13.0,
},
"RO": {
Country: "Romania",
CountryCode: "RO",
Reduced1: 5.0,
Reduced2: 9.0,
Standard: 19.0,
},
"EE": {
Country: "Estonia",
CountryCode: "EE",
Reduced: 9.0,
Standard: 20.0,
},
"EL": {
Country: "Greece",
CountryCode: "GR",
Reduced1: 6.0,
Reduced2: 13.5,
Standard: 24.0,
},
"LT": {
Country: "Lithuania",
CountryCode: "LT",
Reduced1: 5.0,
Reduced2: 9.0,
Standard: 21.0,
},
"FR": {
Country: "France",
CountryCode: "FR",
SuperReduced: 2.1,
Reduced1: 5.5,
Reduced2: 10.0,
Standard: 20.0,
},
"HR": {
Country: "Croatia",
CountryCode: "HR",
Reduced1: 5.0,
Reduced2: 13.0,
Standard: 25.0,
},
"BE": {
Country: "Belgium",
CountryCode: "BE",
Reduced1: 6.0,
Reduced2: 12.0,
Standard: 21.0,
Parking: 12.0,
},
"NL": {
Country: "Netherlands",
CountryCode: "NL",
Reduced: 6.0,
Standard: 21.0,
},
"SK": {
Country: "Slovakia",
CountryCode: "SK",
Reduced: 10.0,
Standard: 20.0,
},
"DE": {
Country: "Germany",
CountryCode: "DE",
Reduced: 7.0,
Standard: 19.0,
},
"PT": {
Country: "Portugal",
CountryCode: "PT",
Reduced1: 6.0,
Reduced2: 13.0,
Standard: 23.0,
Parking: 13.0,
},
"AT": {
Country: "Austria",
CountryCode: "AT",
Reduced1: 10.0,
Reduced2: 13.0,
Standard: 20.0,
Parking: 13.0,
},
}
rateCountry, ok := rates[code]
if !ok {
return nil, errors.New("rate: code not found")
}
return &rateCountry, nil
} | services/rates.go | 0.620622 | 0.451629 | rates.go | starcoder |
package integration
import (
"errors"
"testing"
"github.com/CyCoreSystems/ari/v5"
)
func TestDeviceData(t *testing.T, s Server) {
key := ari.NewKey(ari.DeviceStateKey, "d1")
runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) {
var expected ari.DeviceStateData
expected.State = "deviceData1"
expected.Key = ari.NewKey(ari.DeviceStateKey, "d1")
m.DeviceState.On("Data", key).Return(&expected, nil)
data, err := cl.DeviceState().Data(key)
if err != nil {
t.Errorf("Error in remote device state data call: %s", err)
}
if data == nil || data.State != expected.State {
t.Errorf("Expected data '%s', got '%v'", expected, data)
}
m.DeviceState.AssertCalled(t, "Data", key)
})
runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) {
m.DeviceState.On("Data", key).Return(nil, errors.New("err"))
data, err := cl.DeviceState().Data(key)
if err == nil {
t.Errorf("Expected error in remote device state data call: %s", err)
}
if data != nil {
t.Errorf("Expected data to be nil, got '%v'", *data)
}
m.DeviceState.AssertCalled(t, "Data", key)
})
}
func TestDeviceDelete(t *testing.T, s Server) {
key := ari.NewKey(ari.DeviceStateKey, "d1")
runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) {
m.DeviceState.On("Delete", key).Return(nil)
err := cl.DeviceState().Delete(key)
if err != nil {
t.Errorf("Error in remote device state Delete call: %s", err)
}
m.DeviceState.AssertCalled(t, "Delete", key)
})
runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) {
m.DeviceState.On("Delete", key).Return(errors.New("err"))
err := cl.DeviceState().Delete(key)
if err == nil {
t.Errorf("Expected error in remote device state Delete call: %s", err)
}
m.DeviceState.AssertCalled(t, "Delete", key)
})
}
func TestDeviceUpdate(t *testing.T, s Server) {
key := ari.NewKey(ari.DeviceStateKey, "d1")
runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) {
m.DeviceState.On("Update", key, "st1").Return(nil)
err := cl.DeviceState().Update(key, "st1")
if err != nil {
t.Errorf("Error in remote device state Update call: %s", err)
}
m.DeviceState.AssertCalled(t, "Update", key, "st1")
})
runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) {
m.DeviceState.On("Update", key, "st1").Return(errors.New("err"))
err := cl.DeviceState().Update(key, "st1")
if err == nil {
t.Errorf("Expected error in remote device state Update call: %s", err)
}
m.DeviceState.AssertCalled(t, "Update", key, "st1")
})
}
func TestDeviceList(t *testing.T, s Server) {
runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) {
h1 := ari.NewKey(ari.DeviceStateKey, "h1")
h2 := ari.NewKey(ari.DeviceStateKey, "h2")
m.DeviceState.On("List", (*ari.Key)(nil)).Return([]*ari.Key{h1, h2}, nil)
list, err := cl.DeviceState().List(nil)
if err != nil {
t.Errorf("Error in remote device state List call: %s", err)
}
if len(list) != 2 {
t.Errorf("Expected list of length 2, got %d", len(list))
}
m.DeviceState.AssertCalled(t, "List", (*ari.Key)(nil))
})
runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) {
m.DeviceState.On("List", (*ari.Key)(nil)).Return([]*ari.Key{}, errors.New("error"))
list, err := cl.DeviceState().List(nil)
if err == nil {
t.Errorf("Expected error in remote device state List call")
}
if len(list) != 0 {
t.Errorf("Expected list of length 0, got %d", len(list))
}
m.DeviceState.AssertCalled(t, "List", (*ari.Key)(nil))
})
} | internal/integration/device.go | 0.542621 | 0.529081 | device.go | starcoder |
package semver
import (
"errors"
"fmt"
"github.com/spf13/cast"
"math"
"regexp"
"strings"
)
type Constraint struct {
operator string
version *Version
constraints []*Constraint
conjunctive bool
isEmpty bool
}
var (
versionReg = `v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.(\d+))?` + stabilityRegex + `?([.-]?dev)?(?:\+[^\s]+)?`
operatorMap = map[string]string{"=": "==", "==": "==", "<>": "!=", "!=": "!=", ">": ">", "<": "<", "<=": "<=", ">=": ">="}
stabilityModifierRegex = regexp.MustCompile(`(?i)^([^,\s]*?)@(stable|RC|beta|alpha|dev)$`)
simpleComparisonRegex = regexp.MustCompile(`^(<>|!=|>=?|<=?|==?)?\s*(.*)`)
xRangeRegex = regexp.MustCompile(`^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.[xX*])+$`)
tildeRegex = regexp.MustCompile(`(?i)^~>?` + versionReg + `$`)
caretRegex = regexp.MustCompile(`(?i)^\^` + versionReg + `$`)
hyphenRegex = regexp.MustCompile(`(?i)^(` + versionReg + `) +- +(` + versionReg + `)($)`)
devConstraintRegex = regexp.MustCompile(`(?i)^(dev-[^,\s@]+?|[^,\s@]+?\.x-dev)#.+$`)
orSplitRegex = regexp.MustCompile(`\s*\|\|?\s*`)
andConstraintRegex = regexp.MustCompile(`\s*[ ,]\s*`)
)
func NewConstraint(constraint string) (*Constraint, error) {
var version = constraint
result := stabilityModifierRegex.FindStringSubmatch(constraint)
if nil != result {
version = result[1]
}
result = devConstraintRegex.FindStringSubmatch(constraint)
if nil != result {
version = result[1]
}
orConstraints := orSplitRegex.Split(version, -1)
var orGroups []*Constraint
for _, constraints := range orConstraints {
andConstraints := parseAndConstraints(constraints)
if len(andConstraints) > 1 {
andRange := &Constraint{conjunctive: true}
for _, constraints := range andConstraints {
c, err := parseConstraint(constraints)
if nil != err {
return nil, err
}
if len(c.constraints) > 0 {
andRange.constraints = append(andRange.constraints, c.constraints...)
} else {
andRange.constraints = append(andRange.constraints, c)
}
}
orGroups = append(orGroups, andRange)
} else {
c, err := parseConstraint(constraints)
if nil != err {
return nil, err
}
orGroups = append(orGroups, c)
}
}
if 1 == len(orGroups) {
return orGroups[0], nil
} else if 2 == len(orGroups) &&
// parse the two OR groups and if they are contiguous we collapse
// them into one constraint
2 == len(orGroups[0].constraints) &&
2 == len(orGroups[1].constraints) &&
">=" == orGroups[0].constraints[0].operator &&
"<" == orGroups[0].constraints[1].operator &&
">=" == orGroups[1].constraints[0].operator &&
"<" == orGroups[1].constraints[1].operator &&
orGroups[0].constraints[1].version.String() == orGroups[1].constraints[0].version.String() {
return &Constraint{constraints: []*Constraint{orGroups[0].constraints[0], orGroups[1].constraints[1]}, conjunctive: false}, nil
}
return &Constraint{conjunctive: false, constraints: orGroups}, nil
}
func (c *Constraint) Matches(version *Version) bool {
if len(c.constraints) > 0 {
if false == c.conjunctive {
for _, c := range c.constraints {
if c.Matches(version) {
return true
}
}
return false
}
for _, c := range c.constraints {
if !c.Matches(version) {
return false
}
}
return true
}
if c.isEmpty {
return true
}
return version.Compare(c.version, c.operator)
}
func (c *Constraint) String() string {
if c.isEmpty {
return "[]"
}
if 0 == len(c.constraints) {
result := fmt.Sprintf("%s %s", c.operator, c.version.String())
if "-stable" == result[len(result)-7:] {
result = result[0 : len(result)-7]
}
return result
}
var glue string
if true == c.conjunctive {
glue = " "
} else {
glue = " || "
}
totalConstraints := len(c.constraints)
if 1 == totalConstraints {
constraint := c.constraints[0]
if constraint.isEmpty {
return "[]"
}
return constraint.String()
}
var constraints = make([]string, 0, totalConstraints)
for _, constraint := range c.constraints {
constraints = append(constraints, constraint.String())
}
return "[" + strings.Join(constraints, glue) + "]"
}
func parseAndConstraints(constraint string) []string {
var (
index = 0
constraintPart = 0
constraints []string
)
split := andConstraintRegex.Split(constraint, -1)
if 1 == len(split) {
return []string{constraint}
}
var parts []string
for _, str := range split {
if str != "" {
parts = append(parts, str)
}
}
partsLen := len(parts)
for {
if index >= partsLen {
break
}
constraints = append(constraints, "")
if "<" == parts[index] || ">" == parts[index] || ">=" == parts[index] || "<=" == parts[index] || "^" == parts[index] || "!=" == parts[index] {
constraints[constraintPart] += parts[index]
index++
if index >= partsLen {
break
}
}
constraints[constraintPart] += parts[index]
if index+1 >= partsLen {
break
}
if "as" == parts[index+1] || "-" == parts[index+1] {
index++
constraints[constraintPart] += " " + parts[index]
index++
constraints[constraintPart] += " " + parts[index]
}
index++
constraintPart++
}
return constraints
}
func parseConstraint(constraint string) (*Constraint, error) {
b := []byte(constraint)
if match, _ := regexp.Match(`^v?[xX*](\.[xX*])*$`, b); match {
return &Constraint{isEmpty: true}, nil
}
if tildeRegex.Match(b) {
return parseTilde(constraint)
}
if caretRegex.Match(b) {
return caretRange(constraint)
}
if xRangeRegex.Match(b) {
return xRange(constraint)
}
if hyphenRegex.Match(b) {
return hyphenRange(constraint)
}
if simpleComparisonRegex.Match(b) {
return basicRange(constraint)
}
return nil, fmt.Errorf("unable to parse constraint %s", constraint)
}
func basicRange(constraint string) (*Constraint, error) {
result := stabilityModifierRegex.FindStringSubmatch(constraint)
var stability = ""
if nil != result {
constraint = result[1]
if "stable" != result[2] {
stability = result[2]
}
}
matches := simpleComparisonRegex.FindStringSubmatch(constraint)
version := matches[2]
if "" != stability && "stable" == ParseStability(version) {
version += "-" + stability
} else if "<" == matches[1] || ">=" == matches[1] {
if !stabilityRegexC.Match([]byte(version)) {
if len(version) < 4 || "dev-" != version[0:4] {
version += "-dev"
}
}
}
v, err := NewVersion(version)
if nil != err {
return nil, err
}
operator := matches[1]
if "" == operator {
operator = "="
}
return &Constraint{operator: operatorMap[operator], version: v, conjunctive: true}, nil
}
/*
Hyphen Range
Specifies an inclusive set. If a partial version is provided as the first version in the inclusive range,
then the missing pieces are replaced with zeroes. If a partial version is provided as the second version in
the inclusive range, then all versions that start with the supplied parts of the tuple are accepted, but
nothing that would be greater than the provided tuple parts.
*/
func hyphenRange(constraint string) (*Constraint, error) {
matches := hyphenRegex.FindStringSubmatch(constraint)
c := &Constraint{conjunctive: true}
// Calculate the stability suffix
var lowStabilitySuffix = ""
if "" == matches[6] && "" == matches[8] {
lowStabilitySuffix = "-dev"
}
lowVersion, err := NewVersion(matches[1] + lowStabilitySuffix)
if nil != err {
return nil, err
}
c.constraints = append(c.constraints, &Constraint{operator: ">=", version: lowVersion, conjunctive: true})
var isEmpty = func(x string) bool {
if "0" == x {
return false
}
return "" == x
}
if (!isEmpty(matches[11]) && !isEmpty(matches[12])) || "" != matches[14] || "" != matches[16] {
highVersion, err := NewVersion(matches[9])
if nil != err {
return nil, err
}
c.constraints = append(c.constraints, &Constraint{operator: "<=", version: highVersion, conjunctive: true})
} else {
var position = 0
highMatch := []string{"", matches[10], matches[11], matches[12], matches[13]}
if isEmpty(matches[11]) {
position = 1
} else {
position = 2
}
highVersion, err := expandVersion(highMatch, position, 1, "0", "-dev")
if nil != err {
return nil, err
}
c.constraints = append(c.constraints, &Constraint{operator: "<", version: highVersion, conjunctive: true})
}
return c, nil
}
/*
X Range
Any of X, x, or * may be used to "stand in" for one of the numeric values in the [major, minor, patch] tuple.
A partial version range is treated as an X-Range, so the special character is in fact optional.
*/
func xRange(constraint string) (*Constraint, error) {
matches := xRangeRegex.FindStringSubmatch(constraint)
position := 0
for i := 3; i > 0; i-- {
if "" != matches[i] {
position = i
break
}
}
lowVersion, err := expandVersion(matches, position, 0, "0", "-dev")
if nil != err {
return nil, err
}
highVersion, err := expandVersion(matches, position, 1, "0", "-dev")
if nil != err {
return nil, err
}
if lowVersion.String() == "0.0.0.0-dev" {
return &Constraint{operator: "<", version: highVersion, conjunctive: true}, nil
}
return &Constraint{constraints: []*Constraint{{operator: ">=", version: lowVersion, conjunctive: true}, {operator: "<", version: highVersion, conjunctive: true}}, conjunctive: true}, nil
}
/*
Caret Range
Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple.
In other words, this allows patch and minor updates for versions 1.0.0 and above, patch updates for
versions 0.X >=0.1.0, and no updates for versions 0.0.X
*/
func caretRange(constraint string) (*Constraint, error) {
matches := caretRegex.FindStringSubmatch(constraint)
stabilitySuffix := ""
position := 0
if "0" != matches[1] || "" == matches[2] {
position = 1
} else if "0" != matches[2] || "" == matches[3] {
position = 2
} else {
position = 3
}
if "" == matches[5] && "" == matches[7] {
stabilitySuffix = "-dev"
}
lowVersion, err := NewVersion(constraint[1:] + stabilitySuffix)
if nil != err {
return nil, err
}
// For upper bound, we increment the position of one more significance,
// but highPosition = 0 would be illegal
highVersion, err := expandVersion(matches, position, 1, "0", "-dev")
if nil != err {
return nil, err
}
return &Constraint{constraints: []*Constraint{{operator: ">=", version: lowVersion, conjunctive: true}, {operator: "<", version: highVersion, conjunctive: true}}, conjunctive: true}, nil
}
/*
Tilde Range
Like wildcard constraints, unsuffixed tilde constraints say that they must be greater than the previous
version, to ensure that unstable instances of the current version are allowed. However, if a stability
suffix is added to the constraint, then a >= match on the current version is used instead.
*/
func parseTilde(constraint string) (*Constraint, error) {
matches := tildeRegex.FindStringSubmatch(constraint)
if "~>" == constraint[0:2] {
return nil, errors.New(fmt.Sprintf(`Could not parse version constraint %s: `+
`Invalid operator "~>", you probably meant to use the "~" operator`, constraint))
}
position := 0
for i := 4; i > 0; i-- {
if "" != matches[i] {
position = i
break
}
}
stabilitySuffix := ""
if "" != matches[5] {
stabilitySuffix = "-" + expandStability(matches[5]) + matches[6]
}
if "" != matches[7] || "" == stabilitySuffix {
stabilitySuffix = "-dev"
}
lowVersion, err := expandVersion(matches, position, 0, "0", stabilitySuffix)
if nil != err {
return nil, err
}
// For upper bound, we increment the position of one more significance,
// but highPosition = 0 would be illegal
highPosition := math.Max(1, cast.ToFloat64(position-1))
highVersion, err := expandVersion(matches, cast.ToInt(highPosition), 1, "0", "-dev")
if nil != err {
return nil, err
}
return &Constraint{constraints: []*Constraint{{operator: ">=", version: lowVersion, conjunctive: true}, {operator: "<", version: highVersion, conjunctive: true}}, conjunctive: true}, nil
}
func expandVersion(matches []string, position int, increment int, pad string, append string) (*Version, error) {
var (
i = 4
result = make([]interface{}, 5, 5)
)
for i > 0 {
if i > position {
result[i-1] = pad
} else if i == position && increment > 0 {
currentValue := cast.ToInt(matches[i])
result[i-1] = cast.ToString(currentValue + increment)
if currentValue < 0 {
result[i-1] = pad
position--
if i == 1 {
return nil, fmt.Errorf("carry overflow error")
}
}
} else {
result[i-1] = matches[i]
}
i--
}
result[4] = append
version, err := NewVersion(fmt.Sprintf("%s.%s.%s.%s%s", result...))
if nil != err {
return nil, err
}
return version, nil
} | constraint.go | 0.545528 | 0.44059 | constraint.go | starcoder |
package streamer
import (
"time"
"github.com/tada/catch"
"github.com/tada/dgo/dgo"
"github.com/tada/dgo/vf"
)
const (
// NoDedup effectively prevents any attempt to do data deduplication
NoDedup = DedupLevel(iota)
// NoKeyDedup prevents that keys in maps are deduplicated. This will only affect consumers that
// can handle keys other than strings. This is the default deduplication level
NoKeyDedup
// MaxDedup will cause deduplication of both keys and values
MaxDedup
)
type (
// DedupLevel controls the level of deduplication that will occur during serialization
DedupLevel int
// Options controls some aspects of the Streamer.
Options struct {
DedupLevel DedupLevel
Dialect Dialect
RichData bool
}
// Streamer is a re-entrant fully configured serializer that streams the given
// value to the given consumer.
Streamer interface {
// Stream the given RichData value to a series of values streamed to the
// given consumer.
Stream(value dgo.Value, consumer Consumer)
}
rdSerializer struct {
Options
aliasMap dgo.AliasMap
}
context struct {
config *rdSerializer
values map[interface{}]int
refIndex int
dedupLevel DedupLevel
consumer Consumer
}
)
// DefaultOptions returns the default options for the streamer. The returned value is a private copy that can be
// modified by the caller before it is passed on to a streamer.
func DefaultOptions() *Options {
return &Options{
DedupLevel: NoKeyDedup,
Dialect: DgoDialect(),
RichData: true}
}
// New returns a new Streamer
func New(ctx dgo.AliasMap, options *Options) Streamer {
if options == nil {
options = DefaultOptions()
}
return &rdSerializer{Options: *options, aliasMap: ctx}
}
func (t *rdSerializer) Stream(value dgo.Value, consumer Consumer) {
c := context{config: t, values: make(map[interface{}]int, 31), refIndex: 0, consumer: consumer, dedupLevel: t.DedupLevel}
if c.dedupLevel >= MaxDedup && !consumer.CanDoComplexKeys() {
c.dedupLevel = NoKeyDedup
}
c.emitData(value)
}
func (sc *context) emitDataNoDedup(value dgo.Value) {
dl := sc.dedupLevel
sc.dedupLevel = NoDedup
sc.emitData(value)
sc.dedupLevel = dl
}
func (sc *context) emitData(value dgo.Value) {
if value == nil || value == vf.Nil {
sc.addData(vf.Nil)
return
}
switch value := value.(type) {
case dgo.BigFloat:
sc.emitBigFloat(value)
case dgo.BigInt:
sc.emitBigInt(value)
case dgo.Integer, dgo.Float, dgo.Boolean:
// Never dedup
sc.addData(value)
case dgo.String:
sc.emitString(value)
case dgo.Map:
sc.emitMap(value)
case dgo.Array:
sc.emitArray(value)
case dgo.Sensitive:
sc.emitSensitive(value)
case dgo.Binary:
sc.emitBinary(value)
case dgo.Time:
sc.emitTime(value)
case dgo.NativeType:
panic(sc.unknownSerialization(value))
case dgo.Type:
sc.emitType(value)
default:
if sc.config.RichData {
if nt, ok := value.Type().(dgo.NamedType); ok {
sc.emitNamed(nt, value)
break
}
}
panic(sc.unknownSerialization(value))
}
}
func (sc *context) emitNamed(t dgo.NamedType, value dgo.Value) {
sc.process(value, func() {
v := t.ExtractInitArg(value)
d := sc.config.Dialect
sc.addMap(2, func() {
sc.addData(d.TypeKey())
sc.addData(vf.String(t.Name()))
if vm, ok := v.(dgo.Map); ok {
vm.EachEntry(func(e dgo.MapEntry) {
sc.addData(e.Key())
sc.emitData(e.Value())
})
} else {
sc.addData(d.ValueKey())
sc.emitData(v)
}
})
})
}
func (sc *context) unknownSerialization(value dgo.Value) error {
return catch.Error(`unable to serialize value of type %s`, value.Type())
}
func (sc *context) process(value interface{}, doer dgo.Doer) {
if sc.dedupLevel == NoDedup {
doer()
return
}
if ref, ok := sc.values[value]; ok {
sc.consumer.AddRef(ref)
} else {
sc.values[value] = sc.refIndex
doer()
}
}
func (sc *context) addData(v dgo.Value) {
sc.refIndex++
sc.consumer.Add(v)
}
func (sc *context) emitString(value dgo.String) {
// Dedup only if length exceeds stringThreshold
str := value.GoString()
if len(str) >= sc.consumer.StringDedupThreshold() {
sc.process(str, func() {
sc.addData(value)
})
} else {
sc.addData(value)
}
}
func (sc *context) emitType(typ dgo.Type) {
sc.process(typ, func() {
sc.addMap(2, func() {
d := sc.config.Dialect
sc.addData(d.TypeKey())
if am := sc.config.aliasMap; am != nil {
if tn := am.GetName(typ); tn != nil {
sc.addData(d.AliasTypeName())
sc.addData(d.ValueKey())
sc.emitData(vf.Values(tn, typ.String()))
}
} else {
sc.addData(vf.String(typ.String()))
}
})
})
}
func (sc *context) addArray(len int, doer dgo.Doer) {
sc.refIndex++
sc.consumer.AddArray(len, doer)
}
func (sc *context) addMap(len int, doer dgo.Doer) {
sc.refIndex++
sc.consumer.AddMap(len, doer)
}
func (sc *context) emitArray(value dgo.Array) {
sc.process(value, func() {
sc.addArray(value.Len(), func() {
value.EachWithIndex(func(elem dgo.Value, idx int) {
sc.emitData(elem)
})
})
})
}
func (sc *context) emitTime(value dgo.Time) {
sc.process(value, func() {
if sc.consumer.CanDoTime() {
sc.addData(value)
} else {
if !sc.config.RichData {
panic(sc.unknownSerialization(value))
}
sc.addMap(2, func() {
d := sc.config.Dialect
sc.addData(d.TypeKey())
sc.addData(d.TimeTypeName())
sc.addData(d.ValueKey())
sc.emitData(vf.String(value.GoTime().Format(time.RFC3339Nano)))
})
}
})
}
func (sc *context) emitBigInt(value dgo.BigInt) {
if i, ok := value.ToInt(); ok {
sc.addData(vf.Int64(i))
return
}
sc.process(value, func() {
if sc.consumer.CanDoBigNumbers() {
sc.addData(value)
} else {
if !sc.config.RichData {
panic(sc.unknownSerialization(value))
}
sc.addMap(2, func() {
d := sc.config.Dialect
sc.addData(d.TypeKey())
sc.addData(d.BigIntTypeName())
sc.addData(d.ValueKey())
sc.emitData(vf.String(value.GoBigInt().Text(16)))
})
}
})
}
func (sc *context) emitBigFloat(value dgo.BigFloat) {
if value.GoBigFloat().Prec() <= 53 {
f, _ := value.ToFloat()
sc.addData(vf.Float(f))
return
}
sc.process(value, func() {
if sc.consumer.CanDoBigNumbers() {
sc.addData(value)
} else {
if !sc.config.RichData {
panic(sc.unknownSerialization(value))
}
sc.addMap(2, func() {
d := sc.config.Dialect
sc.addData(d.TypeKey())
sc.addData(d.BigFloatTypeName())
sc.addData(d.ValueKey())
sc.emitData(vf.String(value.GoBigFloat().Text('p', 0)))
})
}
})
}
func (sc *context) emitBinary(value dgo.Binary) {
sc.process(value, func() {
if sc.consumer.CanDoBinary() {
sc.addData(value)
} else {
if !sc.config.RichData {
panic(sc.unknownSerialization(value))
}
sc.addMap(2, func() {
d := sc.config.Dialect
sc.addData(d.TypeKey())
sc.addData(d.BinaryTypeName())
sc.addData(d.ValueKey())
sc.emitData(vf.String(value.Encode()))
})
}
})
}
func (sc *context) emitMap(value dgo.Map) {
if sc.consumer.CanDoComplexKeys() || value.StringKeys() {
if value.Len() == 1 {
if ref, ok := value.Get(sc.config.Dialect.RefKey()).(dgo.Integer); ok {
// Propagate refs verbatim
sc.consumer.AddRef(int(ref.GoInt()))
return
}
}
sc.process(value, func() {
sc.addMap(value.Len(), func() {
value.EachEntry(func(e dgo.MapEntry) {
if sc.dedupLevel == NoKeyDedup {
sc.emitDataNoDedup(e.Key())
} else {
sc.emitData(e.Key())
}
sc.emitData(e.Value())
})
})
})
return
}
if !sc.config.RichData {
panic(sc.unknownSerialization(value))
}
sc.process(value, func() {
sc.addMap(2, func() {
d := sc.config.Dialect
sc.addData(d.TypeKey())
sc.addData(d.MapTypeName())
sc.addData(d.ValueKey())
sc.addArray(value.Len()*2, func() {
value.EachEntry(func(e dgo.MapEntry) {
sc.emitDataNoDedup(e.Key())
sc.emitData(e.Value())
})
})
})
})
}
func (sc *context) emitSensitive(value dgo.Sensitive) {
sc.process(value, func() {
if !sc.config.RichData {
panic(sc.unknownSerialization(value))
}
sc.addMap(2, func() {
d := sc.config.Dialect
sc.addData(d.TypeKey())
sc.addData(d.SensitiveTypeName())
sc.addData(d.ValueKey())
sc.emitData(value.Unwrap())
})
})
} | streamer/streamer.go | 0.650134 | 0.403038 | streamer.go | starcoder |
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"strings"
// CaltechLibrary Packages
"github.com/caltechlibrary/cli"
"github.com/caltechlibrary/datatools"
"github.com/caltechlibrary/dotpath"
)
var (
description = `
%s returns returns a range of values based on the JSON structure being read and
options applied. Without options the JSON structure is read from standard input
and writes a list of keys to standard out. Keys are either attribute names or for
arrays the index position (counting form zero). If a DOT_PATH_EXPRESSION is included
on the command line then that is used to generate the results. Using options to
can choose to read the JSON data structure from a file, write the output to a file
as well as display values instead of keys. a list of "keys" of an index or map in JSON.
Using options it can also return a list of values. The JSON object is read from standard in and the
resulting list is normally written to standard out. There are options to read or
write to files. Additional parameters are assumed to be a dot path notation
select the parts of the JSON data structure you want from the range.
DOT_PATH_EXPRESSION is a dot path stale expression indicating what you want range over.
E.g.
+ . would indicate the whole JSON data structure read is used to range over
+ .name would indicate to range over the value pointed at by the "name" attribute
+ ["name"] would indicate to range over the value pointed at by the "name" attribute
+ [0] would indicate to range over the value held in the zero-th element of the array
The path can be chained together
+ .name.family would point to the value heald by the "name" attributes' "family" attribute.
`
examples = `
Working with a map
echo '{"name": "<NAME>", "email":"<EMAIL>", "age": 42}' \
| %s
This would yield
name
email
age
Using the -values option on a map
echo '{"name": "<NAME>", "email":"<EMAIL>", "age": 42}' \
| %s -values
This would yield
"<NAME>"
"<EMAIL>"
42
Working with an array
echo '["one", 2, {"label":"three","value":3}]' | %s
would yield
0
1
2
Using the -values option on the same array
echo '["one", 2, {"label":"three","value":3}]' | %s -values
would yield
one
2
{"label":"three","value":3}
Checking the length of a map or array or number of keys in map
echo '["one","two","three"]' | %s -length
would yield
3
Check for the index of last element
echo '["one","two","three"]' | %s -last
would yield
2
Check for the index value of last element
echo '["one","two","three"]' | %s -values -last
would yield
"three"
Limitting the number of items returned
echo '[10,20,30,40,50]' | %s -limit 2
would yield
1
2
Limitting the number of values returned
echo '[10,20,30,40,50]' | %s -values -limit 2
would yield
10
20
`
// Standard Options
showHelp bool
showLicense bool
showVersion bool
showExamples bool
inputFName string
outputFName string
generateMarkdown bool
generateManPage bool
quiet bool
newLine bool
eol string
// Application Specific Options
showLength bool
showLast bool
showValues bool
delimiter string
limit int
)
func mapKeys(data map[string]interface{}, limit int) ([]string, error) {
result := []string{}
i := 0
for keys := range data {
result = append(result, keys)
if i == limit {
return result, nil
}
i++
}
return result, nil
}
func arrayKeys(data []interface{}, limit int) ([]string, error) {
result := []string{}
for i := range data {
if i == limit {
return result, nil
}
result = append(result, fmt.Sprintf("%d", i))
}
return result, nil
}
func mapVals(data map[string]interface{}, limit int) ([]string, error) {
result := []string{}
i := 0
for _, val := range data {
if i == limit {
return result, nil
}
outSrc, err := json.Marshal(val)
if err != nil {
return nil, err
}
result = append(result, fmt.Sprintf("%s", outSrc))
i++
}
return result, nil
}
func arrayVals(data []interface{}, limit int) ([]string, error) {
result := []string{}
for i, val := range data {
if i == limit {
return result, nil
}
outSrc, err := json.Marshal(val)
if err != nil {
return nil, err
}
result = append(result, fmt.Sprintf("%s", outSrc))
}
return result, nil
}
func getLength(data interface{}) (int, error) {
switch data.(type) {
case map[string]interface{}:
return len(data.(map[string]interface{})), nil
case []interface{}:
return len(data.([]interface{})), nil
}
return -1, fmt.Errorf("%T does not support length of range", data)
}
func srcKeys(data interface{}, limit int) ([]string, error) {
switch data.(type) {
case map[string]interface{}:
return mapKeys(data.(map[string]interface{}), limit)
case []interface{}:
return arrayKeys(data.([]interface{}), limit)
}
return nil, fmt.Errorf("%T does not support for range, %s", data, data)
}
func srcVals(data interface{}, limit int) ([]string, error) {
switch data.(type) {
case map[string]interface{}:
return mapVals(data.(map[string]interface{}), limit)
case []interface{}:
return arrayVals(data.([]interface{}), limit)
}
return nil, fmt.Errorf("%T does not support for range", data)
}
func main() {
app := cli.NewCli(datatools.Version)
appName := app.AppName()
// Document non-option parameters
app.SetParams("[DOT_PATH_EXPRESSION]")
// Add Help Docs
app.AddHelp("license", []byte(fmt.Sprintf(datatools.LicenseText, appName, datatools.Version)))
app.AddHelp("description", []byte(fmt.Sprintf(description, appName)))
app.AddHelp("examples", []byte(fmt.Sprintf(examples, appName, appName, appName, appName, appName, appName, appName)))
// Standard Options
app.BoolVar(&showHelp, "h,help", false, "display help")
app.BoolVar(&showLicense, "l,license", false, "display license")
app.BoolVar(&showVersion, "v,version", false, "display version")
app.BoolVar(&showExamples, "examples", false, "display example(s)")
app.StringVar(&inputFName, "i,input", "", "read JSON from file")
app.StringVar(&outputFName, "o,output", "", "write to output file")
app.BoolVar(&generateMarkdown, "generate-markdown", false, "generate markdown docs")
app.BoolVar(&generateManPage, "generate-manpage", false, "generate man page")
app.BoolVar(&quiet, "quiet", false, "suppress error messages")
app.BoolVar(&newLine, "nl,newline", false, "if true add a trailing newline")
// Application Options
app.BoolVar(&showLength, "length", false, "return the number of keys or values")
app.BoolVar(&showLast, "last", false, "return the index of the last element in list (e.g. length - 1)")
app.BoolVar(&showValues, "values", false, "return the values instead of the keys")
app.StringVar(&delimiter, "d,delimiter", "", "set delimiter for range output")
app.IntVar(&limit, "limit", -1, "limit the number of items output")
// Parse options and environment
app.Parse()
args := app.Args()
// Setup IO
var err error
app.Eout = os.Stderr
app.In, err = cli.Open(inputFName, os.Stdin)
cli.ExitOnError(os.Stderr, err, quiet)
defer cli.CloseFile(inputFName, app.In)
app.Out, err = cli.Create(outputFName, os.Stdout)
cli.ExitOnError(os.Stderr, err, quiet)
defer cli.CloseFile(outputFName, app.Out)
// Process options
if generateMarkdown {
app.GenerateMarkdown(app.Out)
os.Exit(0)
}
if generateManPage {
app.GenerateManPage(app.Out)
os.Exit(0)
}
if showHelp || showExamples {
if len(args) > 0 {
fmt.Fprintln(app.Out, app.Help(args...))
} else {
app.Usage(app.Out)
}
os.Exit(0)
}
if showLicense {
fmt.Fprintln(app.Out, app.License())
os.Exit(0)
}
if showVersion {
fmt.Fprintln(app.Out, app.Version())
os.Exit(0)
}
if newLine {
eol = "\n"
}
// If no args then assume "." is desired
if len(args) == 0 {
args = []string{"."}
}
// Read in the complete JSON data structure
buf, err := ioutil.ReadAll(app.In)
cli.ExitOnError(app.Eout, err, quiet)
if len(buf) == 0 {
cli.ExitOnError(app.Eout, fmt.Errorf("no data"), quiet)
}
var (
data interface{}
)
if len(delimiter) == 0 {
delimiter = "\n"
} else {
delimiter = datatools.NormalizeDelimiter(delimiter)
}
for _, p := range args {
if p == "." {
data, err = dotpath.JSONDecode(buf)
} else {
data, err = dotpath.EvalJSON(p, buf)
}
cli.ExitOnError(app.Eout, err, quiet)
switch {
case showLength:
l, err := getLength(data)
cli.ExitOnError(app.Eout, err, quiet)
fmt.Fprintf(app.Out, "%d", l)
case showLast:
l, err := getLength(data)
cli.ExitOnError(app.Eout, err, quiet)
if showValues {
elems, err := srcVals(data, limit)
cli.ExitOnError(app.Eout, err, quiet)
l := len(elems)
fmt.Fprintf(app.Out, "%s", elems[l-1])
} else {
fmt.Fprintf(app.Out, "%d", l-1)
}
case showValues:
elems, err := srcVals(data, limit)
cli.ExitOnError(app.Eout, err, quiet)
fmt.Fprintln(app.Out, strings.Join(elems, delimiter))
default:
elems, err := srcKeys(data, limit)
cli.ExitOnError(app.Eout, err, quiet)
fmt.Fprintln(app.Out, strings.Join(elems, delimiter))
}
}
fmt.Fprintf(app.Out, "%s", eol)
} | cmd/jsonrange/jsonrange.go | 0.617282 | 0.423041 | jsonrange.go | starcoder |
package rpc
import (
"time"
"cloud.google.com/go/civil"
"github.com/gogo/protobuf/types"
tspb "github.com/zhihu/zetta-proto/pkg/tablestore"
// sppb "google.golang.org/genproto/googleapis/spanner/v1"
)
// Helpers to generate protobuf values and Cloud Spanner types.
func StringProto(s string) *tspb.Value {
return stringProto(s)
}
func StringType() *tspb.Type {
return stringType()
}
func stringProto(s string) *tspb.Value {
return &tspb.Value{Kind: stringKind(s)}
}
func stringKind(s string) *tspb.Value_StringValue {
return &tspb.Value_StringValue{StringValue: s}
}
func stringType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_STRING}
}
func BoolProto(b bool) *tspb.Value {
return boolProto(b)
}
func BoolType() *tspb.Type {
return boolType()
}
func boolProto(b bool) *tspb.Value {
return &tspb.Value{Kind: &tspb.Value_BoolValue{BoolValue: b}}
}
func boolType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_BOOL}
}
func IntProto(n int64) *tspb.Value {
return intProto(n)
}
func IntType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_INT64}
}
func intProto(n int64) *tspb.Value {
return &tspb.Value{Kind: &tspb.Value_IntegerValue{IntegerValue: n}}
}
func intType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_INT64}
}
func FloatProto(n float64) *tspb.Value {
return floatProto(n)
}
func FloatType() *tspb.Type {
return floatType()
}
func floatProto(n float64) *tspb.Value {
return &tspb.Value{Kind: &tspb.Value_NumberValue{NumberValue: n}}
}
func floatType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_FLOAT64}
}
func BytesProto(b []byte) *tspb.Value {
return bytesProto(b)
}
func BytesType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_BYTES}
}
func bytesProto(b []byte) *tspb.Value {
return &tspb.Value{Kind: &tspb.Value_BytesValue{BytesValue: b}}
}
func bytesType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_BYTES}
}
func bytesKind(b []byte) *tspb.Value_BytesValue {
return &tspb.Value_BytesValue{BytesValue: b}
}
func TimeProto(t time.Time) *tspb.Value {
return timeProto(t)
}
func TimeType() *tspb.Type {
return timeType()
}
func timeKind(t time.Time) *tspb.Value_TimestampValue {
tsv := &types.Timestamp{
Seconds: t.Unix(),
Nanos: int32(t.UnixNano() % 1e9),
}
return &tspb.Value_TimestampValue{TimestampValue: tsv}
}
func timeProto(t time.Time) *tspb.Value {
tsv := &types.Timestamp{
Seconds: t.Unix(),
Nanos: int32(t.UnixNano() % 1e9),
}
return &tspb.Value{Kind: &tspb.Value_TimestampValue{TimestampValue: tsv}}
}
func timeType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_TIMESTAMP}
}
func DateProto(d civil.Date) *tspb.Value {
return dateProto(d)
}
func DateType() *tspb.Type {
return dateType()
}
func DateKind(d civil.Date) *tspb.Value_TimestampValue {
tt := d.In(time.Local)
tsv := &types.Timestamp{
Seconds: tt.Unix(),
Nanos: int32(tt.UnixNano() % 1e9),
}
return &tspb.Value_TimestampValue{TimestampValue: tsv}
}
func dateProto(d civil.Date) *tspb.Value {
tt := d.In(time.Local)
return timeProto(tt)
}
func dateType() *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_DATE}
}
func listProto(p ...*tspb.Value) *tspb.Value {
return &tspb.Value{Kind: &tspb.Value_ListValue{ListValue: &tspb.ListValue{Values: p}}}
}
func listValueProto(p ...*tspb.Value) *tspb.ListValue {
return &tspb.ListValue{Values: p}
}
func ListType(t *tspb.Type) *tspb.Type {
return listType(t)
}
func listType(t *tspb.Type) *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_ARRAY, ArrayElementType: t}
}
func mkField(n string, t *tspb.Type) *tspb.StructType_Field {
return &tspb.StructType_Field{Name: n, Type: t}
}
func structType(fields ...*tspb.StructType_Field) *tspb.Type {
return &tspb.Type{Code: tspb.TypeCode_STRUCT, StructType: &tspb.StructType{Fields: fields}}
}
func NullProto() *tspb.Value {
return nullProto()
}
func nullProto() *tspb.Value {
return &tspb.Value{Kind: &tspb.Value_NullValue{NullValue: tspb.NullValue_NULL_VALUE}}
} | tablestore/rpc/protoutils.go | 0.687 | 0.60577 | protoutils.go | starcoder |
package main
import (
"strings"
. "github.com/mmcloughlin/avo/build"
. "github.com/mmcloughlin/avo/operand"
. "github.com/mmcloughlin/avo/reg"
)
func main() {
generate("and")
generate("andnot")
generate("or")
generate("xor")
Generate()
}
// generate generates an SIMD "and", "or" , "andnot"operations.
func generate(op string) {
switch op {
case "and":
TEXT("And", NOSPLIT, "func(a []uint64, b []uint64)")
Doc("And And computes the intersection between two slices and stores the result in the first one")
case "or":
TEXT("Or", NOSPLIT, "func(a []uint64, b []uint64)")
Doc("Or computes the union between two slices and stores the result in the first one")
case "andnot":
TEXT("AndNot", NOSPLIT, "func(a []uint64, b []uint64)")
Doc("AndNot computes the difference between two slices and stores the result in the first one")
case "xor":
TEXT("Xor", NOSPLIT, "func(a []uint64, b []uint64)")
Doc("Xor computes the symmetric difference between two slices and stores the result in the first one")
}
// Load the a and b addresses as well as the current len(a). Assume len(a) == len(b)
a := Mem{Base: Load(Param("a").Base(), GP64())}
b := Mem{Base: Load(Param("b").Base(), GP64())}
n := Load(Param("a").Len(), GP64())
// The register for the tail, we xor it with itself to zero out
s := GP64()
XORQ(s, s)
const size, unroll = 32, 2 // bytes (256bit * 2)
const blocksize = size * unroll
Commentf("perform vectorized operation for every block of %v bits", blocksize*8)
Label("body")
CMPQ(n, U32(4*unroll))
JL(LabelRef("tail"))
// Create a vector
vector := make([]VecVirtual, unroll)
for i := 0; i < unroll; i++ {
vector[i] = YMM()
}
// Move memory vector into position
Commentf("perform the logical \"%v\" operation", strings.ToUpper(op))
for i := 0; i < unroll; i++ {
VMOVUPD(b.Offset(size*i), vector[i])
}
// Perform the actual operation
for i := 0; i < unroll; i++ {
switch op {
case "and":
VPAND(a.Offset(size*i), vector[i], vector[i])
case "or":
VPOR(a.Offset(size*i), vector[i], vector[i])
case "andnot":
VPANDN(a.Offset(size*i), vector[i], vector[i])
case "xor":
VPXOR(a.Offset(size*i), vector[i], vector[i])
}
}
// Move the result to "a" by copying the vector
for i := 0; i < unroll; i++ {
VMOVUPD(vector[i], a.Offset(size*i))
}
// Continue the iteration
Comment("continue the interation by moving read pointers")
ADDQ(U32(blocksize), a.Base)
ADDQ(U32(blocksize), b.Base)
SUBQ(U32(4*unroll), n)
JMP(LabelRef("body"))
// Now, we only have less than 512 bits left, use normal scalar operation
Label("tail")
CMPQ(n, Imm(0))
JE(LabelRef("done"))
// Perform the actual operation
Commentf("perform the logical \"%v\" operation", strings.ToUpper(op))
MOVQ(Mem{Base: b.Base}, s)
switch op {
case "and":
ANDQ(Mem{Base: a.Base}, s)
case "or":
ORQ(Mem{Base: a.Base}, s)
case "andnot":
ANDNQ(Mem{Base: a.Base}, s, s)
case "xor":
XORQ(Mem{Base: a.Base}, s)
}
MOVQ(s, Mem{Base: a.Base})
// Continue the iteration
Comment("continue the interation by moving read pointers")
ADDQ(U32(8), a.Base)
ADDQ(U32(8), b.Base)
SUBQ(U32(1), n)
JMP(LabelRef("tail"))
Label("done")
RET()
} | simd/asm.go | 0.571049 | 0.462716 | asm.go | starcoder |
package durafmt
import (
"fmt"
"strings"
)
// DefaultUnitsCoder default units coder using `":"` as PluralSep and `","` as UnitsSep
var DefaultUnitsCoder = UnitsCoder{":", ","}
// Unit the pair of singular and plural units
type Unit struct {
Singular, Plural string
}
// Units duration units
type Units struct {
Year, Week, Day, Hour, Minute,
Second, Millisecond, Microsecond Unit
}
// Units return a slice of units
func (u Units) Units() []Unit {
return []Unit{u.Year, u.Week, u.Day, u.Hour, u.Minute,
u.Second, u.Millisecond, u.Microsecond}
}
// UnitsCoder the units encoder and decoder
type UnitsCoder struct {
// PluralSep char to sep singular and plural pair.
// Example with char `":"`: `"year:year"` (english) or `"mês:meses"` (portuguese)
PluralSep,
// UnitsSep char to sep units (singular and plural pairs).
// Example with char `","`: `"year:year,week:weeks"` (english) or `"mês:meses,semana:semanas"` (portuguese)
UnitsSep string
}
// Encode encodes input Units to string
// Examples with `UnitsCoder{PluralSep: ":", UnitsSep = ","}`
// - singular and plural pair units: `"year:wers,week:weeks,day:days,hour:hours,minute:minutes,second:seconds,millisecond:millliseconds,microsecond:microsseconds"`
func (coder UnitsCoder) Encode(units Units) string {
var pairs = make([]string, 8)
for i, u := range units.Units() {
pairs[i] = u.Singular + coder.PluralSep + u.Plural
}
return strings.Join(pairs, coder.UnitsSep)
}
// Decode decodes input string to Units.
// The input must follow the following formats:
// - Unit format (singular and plural pair)
// - must singular (the plural receives 's' character as suffix)
// - singular and plural: separated by `PluralSep` char
// Example with char `":"`: `"year:year"` (english) or `"mês:meses"` (portuguese)
// - Units format (pairs of Year, Week, Day, Hour, Minute,
// Second, Millisecond and Microsecond units) separated by `UnitsSep` char
// - Examples with `UnitsCoder{PluralSep: ":", UnitsSep = ","}`
// - must singular units: `"year,week,day,hour,minute,second,millisecond,microsecond"`
// - mixed units: `"year,week:weeks,day,hour,minute:minutes,second,millisecond,microsecond"`
// - singular and plural pair units: `"year:wers,week:weeks,day:days,hour:hours,minute:minutes,second:seconds,millisecond:millliseconds,microsecond:microsseconds"`
func (coder UnitsCoder) Decode(s string) (units Units, err error) {
parts := strings.Split(s, coder.UnitsSep)
if len(parts) != 8 {
err = fmt.Errorf("bad parts length")
return units, err
}
var parse = func(name, part string, u *Unit) bool {
ps := strings.Split(part, coder.PluralSep)
switch len(ps) {
case 1:
// create plural form with sigular + 's' suffix
u.Singular, u.Plural = ps[0], ps[0]+"s"
case 2:
u.Singular, u.Plural = ps[0], ps[1]
default:
err = fmt.Errorf("bad unit %q pair length", name)
return false
}
return true
}
if !parse("Year", parts[0], &units.Year) {
return units, err
}
if !parse("Week", parts[1], &units.Week) {
return units, err
}
if !parse("Day", parts[2], &units.Day) {
return units, err
}
if !parse("Hour", parts[3], &units.Hour) {
return units, err
}
if !parse("Minute", parts[4], &units.Minute) {
return units, err
}
if !parse("Second", parts[5], &units.Second) {
return units, err
}
if !parse("Millisecond", parts[6], &units.Millisecond) {
return units, err
}
if !parse("Microsecond", parts[7], &units.Microsecond) {
return units, err
}
return units, err
} | vendor/github.com/hako/durafmt/unit.go | 0.692954 | 0.477067 | unit.go | starcoder |
package main
import "math/rand"
const boundsPenality = 1000
const overlapPenalty = 1000
const sameNeighbourPenality = 10
const gapPenality = 10
const notConnectedPenalty = 5000
const neighbourCountBonus = 20
const rotateProb = 0.25
const translateProb = 0.15
const translateStdDev = 2
const swapPosProb = 0.1
/*
Board represents a single game board instance as an array of tiles.
Order of the tiles in the array is always:
- 1x2 (4x)
- 1x3 (4x)
- 2x2 (5x)
- 2x3 (4x)
i.e. [1x2 1x2 1x2 1x2 1x3 ... 2x2 2x3 2x3 2x3 2x3]
DO NOT CHANGE ORDER OF ARRAY ELEMENTS ONCE INTITIALIZED!
*/
type Board []Tile
func (b Board) Fitness() int {
f := 0
// Check tile bounds
for _, t := range b {
if t.x+t.w-1 >= boardSize {
f -= boundsPenality
}
if t.y+t.h-1 >= boardSize {
f -= boundsPenality
}
}
// Check all tiles pair-wise
for i := 0; i < len(b)-1; i++ {
for j := i + 1; j < len(b); j++ {
b1, b2 := b[i], b[j]
f -= b1.Overlap(b2) * overlapPenalty
f += b1.NeighbourCount(b2) * neighbourCountBonus
if b1.Area() == b2.Area() {
f -= sameNeighbourPenality * b1.Area()
}
f -= b1.GapSum(b2) * gapPenality
}
}
if !b.IsConnected() {
f -= notConnectedPenalty
}
return f
}
func (b Board) Crossover(other Board) (child1, child2 Board) {
cutPoint := rand.Intn(tileNum-1) + 1
child1 = append(child1, b[0:cutPoint]...)
child1 = append(child1, other[cutPoint:len(other)]...)
child2 = append(child2, other[0:cutPoint]...)
child2 = append(child2, b[cutPoint:len(b)]...)
return child1, child2
}
func (b Board) Mutate() {
for i := 0; i < len(b); i++ {
if rand.Float32() < rotateProb {
b[i] = b[i].Rotate()
}
if rand.Float32() < translateProb {
dx := int(rand.NormFloat64() * translateStdDev)
dy := int(rand.NormFloat64() * translateStdDev)
b[i].x = max(0, min(b[i].x+dx, boardSize-b[i].w))
b[i].y = max(0, min(b[i].y+dy, boardSize-b[i].h))
}
if rand.Float32() < swapPosProb {
j := rand.Intn(len(b))
b[i].x, b[i].y = b[j].y, b[j].x
}
}
}
func (b Board) IsConnected() bool {
visited := make(map[Tile]bool)
q := new(Queue)
q.Enqueue(b[0])
for {
t, ok := q.Dequeue()
if !ok {
break
}
if visited[t] {
continue
}
visited[t] = true
for i := 0; i < len(b); i++ {
// // TODO Is this form of equality enough?
// if b[i] == t {
// continue
// }
if t.NeighbourCount(b[i]) > 0 {
q.Enqueue(b[i])
}
}
}
return len(visited) == len(b)
}
// RandomIndividual generates a new random Board.
func RandomBoard() Board {
b := Board{}
var tileSpec = []struct {
n int
w int
h int
}{
{4, 1, 2},
{4, 1, 3},
{5, 2, 2},
{4, 2, 3},
}
for _, ts := range tileSpec {
for i := 0; i < ts.n; i++ {
b = append(b, Tile{
x: rand.Intn(boardSize - ts.w + 1),
y: rand.Intn(boardSize - ts.h + 1),
w: ts.w,
h: ts.h,
})
}
}
return b
} | board.go | 0.648355 | 0.538073 | board.go | starcoder |
package util
import (
"crypto/rand"
"encoding/binary"
"github.com/Workiva/go-datastructures/bitarray"
"github.com/stretchr/testify/assert"
"math"
"math/big"
"math/bits"
"strings"
"testing"
)
// POST math utils funcs
// Get big-endian bytes encoding of i
// Result is 1 to 8 bytes long. 0x0 bytes is returned for 0
func EncodeToBytes(i uint64) []byte {
if i == 0 {
return []byte{0x0}
}
iBuf := make([]byte, 8)
binary.BigEndian.PutUint64(iBuf, i)
// bits needed to encode i
l := bits.Len64(i)
// bytes needed to encode i
lb := l / 8
if l%8 != 0 {
lb += 1 // one more byte needed for the extra bits
}
return iBuf[8-lb:]
}
// Get the bool value of the nth bit of a value of a byte
// bit is defined from right to left so the LSB bit is at 0 and the MSB it is at 7.
// e.g. byte is bits at indexes [7|6|5|4|3|2|1|0] and 0x1 is 00000001, 0x2 is 00000010
func GetNthBit(b byte, bit uint64) bool {
return b&byte(math.Pow(2, float64(bit))) != 0
}
// Decode a big-endian uint64 from its binary encoding of up to length bits
func Uint64Value(b bitarray.BitArray, length uint64) (uint64, error) {
res := uint64(0)
for i := uint64(0); i < length; i++ {
bit, err := b.GetBit(i)
if err != nil {
return 0, err
}
res <<= 1
if bit {
res |= 1
}
}
return res, nil
}
// Get string representation of a BitArray
func String(b bitarray.BitArray, size uint64) (string, error) {
var sb strings.Builder
for i := uint64(0); i < size; i++ {
bit, err := b.GetBit(i)
if err != nil {
return "", err
}
if bit == false {
sb.WriteString("0")
} else {
sb.WriteString("1")
}
}
return sb.String(), nil
}
// Returns the max nonce that is l bits long.
// e.g. for l=256, nonce should be 2^256-1
func GetMaxNonce(l int) *big.Int {
n := big.NewInt(0)
for i := 0; i < l; i++ {
n = n.SetBit(n, i, 1)
}
return n
}
// Returns an int representing l bits set to 1
func GetSimpleMask(l uint) *big.Int {
mask := big.NewInt(0)
for x := 0; x < int(l); x++ {
mask = mask.SetBit(mask, x, 1)
}
return mask
}
// Create an l bytes long bit mask with the c MSB bits set to 0 and the other bits set to 1
// c*8 must be <= l
func GetMask(l uint, c uint) *big.Int {
// Generate a mask here of 32 bytes with l 0 bits at msb
mask := make([]byte, l)
for i := uint(0); i < l; i++ {
mask[i] = 0xff
}
return clearMsbBits(c, mask)
}
// Get the prob (0...1) of a difficulty param l
// p := 1 / 2^l
func GetProbability(l uint) float64 {
return 1.0 / math.Pow(2.0, float64(l))
}
// solve for l the equation: p := 1 / 2^ l
func GetDifficulty(p float64) uint {
return uint(math.Ceil(math.Log2(1.0 / p)))
}
// clear the l msb bits of data considered as a big endian int
func clearMsbBits(l uint, data []byte) *big.Int {
z := new(big.Int).SetBytes(data)
firstBitIdx := len(data)*8 - int(l)
lastBitIdx := len(data)*8 - 1
for i := firstBitIdx; i <= lastBitIdx; i++ {
z = z.SetBit(z, i, 0)
}
return z
}
// test helper - generate l random bytes
func Rnd(t *testing.T, l uint) []byte {
res := make([]byte, l)
_, err := rand.Read(res)
assert.NoError(t, err)
return res
}
// test helper - generate l random bytes
func Rnd1(l uint) []byte {
res := make([]byte, l)
_, err := rand.Read(res)
if err != nil {
panic("no entropy")
}
return res
} | util/math.go | 0.567697 | 0.442697 | math.go | starcoder |
package cast
import "strconv"
// <!> for now, no overflow detection
// AsInt to convert as a int
func AsInt(v interface{}) (int, bool) {
switch d := indirect(v).(type) {
case bool:
if d {
return 1, true
}
return 0, true
case int:
return d, true
case int64:
return int(d), true
case int32:
return int(d), true
case int16:
return int(d), true
case int8:
return int(d), true
case uint:
return int(d), true
case uint64:
return int(d), true
case uint32:
return int(d), true
case uint16:
return int(d), true
case uint8:
return int(d), true
case float64:
return int(d), true
case float32:
return int(d), true
case string:
if n, err := strconv.ParseInt(d, 10, 64); err == nil {
return int(n), true
}
return 0, false
default:
return 0, false
}
}
// AsIntSlice to convert as a slice of int
func AsIntSlice(values ...interface{}) ([]int, bool) {
arr := make([]int, 0, len(values))
b := true
for _, v := range values {
cv, ok := AsInt(v)
b = b && ok
arr = append(arr, cv)
}
return arr, b
}
// AsInt64 to convert as a int64
func AsInt64(v interface{}) (int64, bool) {
switch d := indirect(v).(type) {
case bool:
if d {
return 1, true
}
return 0, true
case int:
return int64(d), true
case int64:
return d, true
case int32:
return int64(d), true
case int16:
return int64(d), true
case int8:
return int64(d), true
case uint:
return int64(d), true
case uint64:
return int64(d), true
case uint32:
return int64(d), true
case uint16:
return int64(d), true
case uint8:
return int64(d), true
case float64:
return int64(d), true
case float32:
return int64(d), true
case string:
if n, err := strconv.ParseInt(d, 10, 64); err == nil {
return n, true
}
return 0, false
default:
return 0, false
}
}
// AsInt64Slice to convert as a slice of int64
func AsInt64Slice(values ...interface{}) ([]int64, bool) {
arr := make([]int64, 0, len(values))
b := true
for _, v := range values {
cv, ok := AsInt64(v)
b = b && ok
arr = append(arr, cv)
}
return arr, b
}
// AsInt32 to convert as a int32
func AsInt32(v interface{}) (int32, bool) {
switch d := indirect(v).(type) {
case bool:
if d {
return 1, true
}
return 0, true
case int:
return int32(d), true
case int64:
return int32(d), true
case int32:
return d, true
case int16:
return int32(d), true
case int8:
return int32(d), true
case uint:
return int32(d), true
case uint64:
return int32(d), true
case uint32:
return int32(d), true
case uint16:
return int32(d), true
case uint8:
return int32(d), true
case float64:
return int32(d), true
case float32:
return int32(d), true
case string:
if n, err := strconv.ParseInt(d, 10, 32); err == nil {
return int32(n), true
}
return 0, false
default:
return 0, false
}
}
// AsInt32Slice to convert as a slice of int32
func AsInt32Slice(values ...interface{}) ([]int32, bool) {
arr := make([]int32, 0, len(values))
b := true
for _, v := range values {
cv, ok := AsInt32(v)
b = b && ok
arr = append(arr, cv)
}
return arr, b
}
// AsInt16 to convert as a int16
func AsInt16(v interface{}) (int16, bool) {
switch d := indirect(v).(type) {
case bool:
if d {
return 1, true
}
return 0, true
case int:
return int16(d), true
case int64:
return int16(d), true
case int32:
return int16(d), true
case int16:
return d, true
case int8:
return int16(d), true
case uint:
return int16(d), true
case uint64:
return int16(d), true
case uint32:
return int16(d), true
case uint16:
return int16(d), true
case uint8:
return int16(d), true
case float64:
return int16(d), true
case float32:
return int16(d), true
case string:
if n, err := strconv.ParseInt(d, 10, 16); err == nil {
return int16(n), true
}
return 0, false
default:
return 0, false
}
}
// AsInt16Slice to convert as a slice of int16
func AsInt16Slice(values ...interface{}) ([]int16, bool) {
arr := make([]int16, 0, len(values))
b := true
for _, v := range values {
cv, ok := AsInt16(v)
b = b && ok
arr = append(arr, cv)
}
return arr, b
}
// AsInt8 to convert as a int8
func AsInt8(v interface{}) (int8, bool) {
switch d := indirect(v).(type) {
case bool:
if d {
return 1, true
}
return 0, true
case int:
return int8(d), true
case int64:
return int8(d), true
case int32:
return int8(d), true
case int16:
return int8(d), true
case int8:
return d, true
case uint:
return int8(d), true
case uint64:
return int8(d), true
case uint32:
return int8(d), true
case uint16:
return int8(d), true
case uint8:
return int8(d), true
case float64:
return int8(d), true
case float32:
return int8(d), true
case string:
if n, err := strconv.ParseInt(d, 10, 8); err == nil {
return int8(n), true
}
return 0, false
default:
return 0, false
}
}
// AsInt8Slice to convert as a slice of int8
func AsInt8Slice(values ...interface{}) ([]int8, bool) {
arr := make([]int8, 0, len(values))
b := true
for _, v := range values {
cv, ok := AsInt8(v)
b = b && ok
arr = append(arr, cv)
}
return arr, b
} | int.go | 0.516839 | 0.403449 | int.go | starcoder |
package main
import (
"fmt"
"math"
"sort"
"strings"
"github.com/deckarep/golang-set"
"github.com/microhod/adventofcode/internal/file"
"github.com/microhod/adventofcode/internal/puzzle"
)
const (
EntriesFile = "entries.txt"
TestFile = "test.txt"
Digit0 = "abcefg"
Digit1 = "cf"
Digit2 = "acdeg"
Digit3 = "acdfg"
Digit4 = "bcdf"
Digit5 = "abdfg"
Digit6 = "abdefg"
Digit7 = "acf"
Digit8 = "abcdefg"
Digit9 = "abcdfg"
)
var digitMapping = map[string]int{
Digit0: 0,
Digit1: 1,
Digit2: 2,
Digit3: 3,
Digit4: 4,
Digit5: 5,
Digit6: 6,
Digit7: 7,
Digit8: 8,
Digit9: 9,
}
func main() {
puzzle.NewSolution("Seven Segment Search", part1, part2).Run()
}
func part1() error {
entries, err := readEntries(EntriesFile)
if err != nil {
return err
}
count := 0
for _, entry := range entries {
count += len(filterByLength(entry.Output, len(Digit1)))
count += len(filterByLength(entry.Output, len(Digit4)))
count += len(filterByLength(entry.Output, len(Digit7)))
count += len(filterByLength(entry.Output, len(Digit8)))
}
fmt.Printf("# 1, 4, 7 and 8 digits: %d\n", count)
return nil
}
func part2() error {
entries, err := readEntries(EntriesFile)
if err != nil {
return err
}
sum := 0
for _, entry := range entries {
value, err := getOutputValue(entry)
if err != nil {
return err
}
sum += value
}
fmt.Printf("total sum of output values: %d\n", sum)
return nil
}
type Entry struct {
Patterns []string
Output []string
}
func findLetterMapping(entry Entry) (map[string]string, error) {
options := map[string]mapset.Set{}
digitErr := func(length, expected, actual int) error {
return fmt.Errorf("not enough information, expected %d digit/s of length %d but found %d", expected, length, actual)
}
// find digits based on the length of their strings
digit1s := filterByLength(entry.Patterns, len(Digit1))
if len(digit1s) < 1 {
return nil, digitErr(len(Digit1), 1, len(digit1s))
}
digit4s := filterByLength(entry.Patterns, len(Digit4))
if len(digit4s) < 1 {
return nil, digitErr(len(Digit4), 1, len(digit4s))
}
digit7s := filterByLength(entry.Patterns, len(Digit7))
if len(digit7s) < 1 {
return nil, digitErr(len(Digit7), 1, len(digit7s))
}
digit8s := filterByLength(entry.Patterns, len(Digit8))
if len(digit8s) < 1 {
return nil, digitErr(len(Digit8), 1, len(digit8s))
}
digit069s := filterByLength(entry.Patterns, len(Digit0))
if len(digit069s) < 3 {
return nil, digitErr(len(Digit0), 3, len(digit069s))
}
digit069s = distinct(digit069s)
if len(digit069s) < 3 {
return nil, fmt.Errorf("not enough information, expected at least 3 distinct digits of length %d but got %d", len(Digit0), len(digit069s))
}
// sets of letters
one := letterSet(digit1s[0])
four := letterSet(digit4s[0])
seven := letterSet(digit7s[0])
eight := letterSet(digit8s[0])
// these might not be in the correct order as we just go off length and 0, 6 and 9 have the same length
// this is okay as the operations used don't depend on ordering, it's just easier to name them based on their numbers
zero := letterSet(digit069s[0])
six := letterSet(digit069s[1])
nine := letterSet(digit069s[2])
// 7 \ 1 => A
options["a"] = seven.Difference(one)
// 4 \ 1 => {B, D}
options["b"] = four.Difference(one)
options["d"] = four.Difference(one)
// 1 => {C, F}
options["c"] = one
options["f"] = one
// 8 \ 4 \ { A } => {E, G}
options["e"] = eight.Difference(four).Difference(options["a"])
options["g"] = eight.Difference(four).Difference(options["a"])
// (0 union 6 union 9) \ (0 intersect 6 intersect 9) => {C, D, E}
cde := (zero.Union(six).Union(nine)).Difference(zero.Intersect(six).Intersect(nine))
// { B, D } intersect { C, D, E } => D
options["d"] = options["d"].Intersect(cde)
// { B, D } \ { D } => B
options["b"] = options["b"].Difference(options["d"])
// { C, F } intersect { C, D, E } => C
options["c"] = options["c"].Intersect(cde)
// { C, F } \ { C } => F
options["f"] = options["f"].Difference(options["c"])
// { E, G } intersect { C, D, E } => E
options["e"] = options["e"].Intersect(cde)
// { E, G } \ { E } => G
options["g"] = options["g"].Difference(options["e"])
mappings := map[string]string{}
for letter, set := range options {
// by this point, we should have only one option for all letters
if set.Cardinality() != 1 {
return nil, fmt.Errorf("expected one option for letter %s, but got %d options", letter, set.Cardinality())
}
mapping, _ := set.Pop().(string)
// swap so that the map goes from from entry letter to standard letter
mappings[mapping] = letter
}
return mappings, nil
}
func getOutputValue(entry Entry) (int, error) {
mapping, err := findLetterMapping(entry)
if err != nil {
return 0, err
}
digits := []int{}
for _, digit := range entry.Output {
mappedDigit := ""
// fix digit to have correct letters using mapping
for _, letter := range strings.Split(digit, "") {
mappedDigit += mapping[letter]
}
// alphabetise so that it matches one of the digit constants
mappedDigit = alphabetise(mappedDigit)
digits = append(digits, digitMapping[mappedDigit])
}
// construct the value using the digits
value := 0
for i := range digits {
value += digits[len(digits)-1-i] * int(math.Pow10(i))
}
return value, nil
}
func readEntries(path string) ([]Entry, error) {
lines, err := file.ReadLines(path)
if err != nil {
return nil, err
}
entries := []Entry{}
for _, line := range lines {
parts := strings.Split(line, " | ")
if len(parts) != 2 {
return nil, fmt.Errorf("expected line to split into 2 parts by the '|' delimeter, but got %d parts", len(parts))
}
entries = append(entries, Entry{
Patterns: strings.Fields(parts[0]),
Output: strings.Fields(parts[1]),
})
}
return entries, nil
}
func letterSet(str string) mapset.Set {
slice := []interface{}{}
for _, letter := range strings.Split(str, "") {
slice = append(slice, letter)
}
return mapset.NewSetFromSlice(slice)
}
func filterByLength(list []string, length int) []string {
filtered := []string{}
for _, str := range list {
if len(str) == length {
filtered = append(filtered, str)
}
}
return filtered
}
func contains(strs []string, str string) bool {
for _, s := range strs {
if str == s {
return true
}
}
return false
}
func distinct(strs []string) []string {
filtered := []string{}
for _, str := range strs {
if !contains(filtered, str) {
filtered = append(filtered, str)
}
}
return filtered
}
func alphabetise(str string) string {
s := strings.Split(str, "")
sort.Strings(s)
return strings.Join(s, "")
} | 2021/08/main.go | 0.571049 | 0.426859 | main.go | starcoder |
package wgs84
import (
"math"
)
type webMercator struct{}
func (p webMercator) ToLonLat(east, north float64, s Spheroid) (lon, lat float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
lon = degree(east / sph.A())
lat = math.Atan(math.Exp(north/sph.A()))*degree(1)*2 - 90
return lon, lat
}
func (p webMercator) FromLonLat(lon, lat float64, s Spheroid) (east, north float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
east = radian(lon) * sph.A()
north = math.Log(math.Tan(radian((90+lat)/2))) * sph.A()
return east, north
}
type transverseMercator struct {
lonf, latf, scale, eastf, northf float64
}
func (p transverseMercator) ToLonLat(east, north float64, s Spheroid) (lon, lat float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
east -= p.eastf
north -= p.northf
Mi := p._M(radian(p.latf), sph) + north/p.scale
μ := Mi / (sph.A() * (1 - sph.e2()/4 - 3*sph.e4()/64 - 5*sph.e6()/256))
φ1 := μ + (3*sph.ei()/2-27*sph.ei3()/32)*math.Sin(2*μ) +
(21*sph.ei2()/16-55*sph.ei4()/32)*math.Sin(4*μ) +
(151*sph.ei3()/96)*math.Sin(6*μ) +
(1097*sph.ei4()/512)*math.Sin(8*μ)
R1 := sph.A() * (1 - sph.e2()) / math.Pow(1-sph.e2()*sin2(φ1), 3/2)
D := east / (p._N(φ1, sph) * p.scale)
φ := φ1 - (p._N(φ1, sph)*math.Tan(φ1)/R1)*(D*D/2-(5+3*p._T(φ1)+10*
p._C(φ1, sph)-4*p._C(φ1, sph)*p._C(φ1, sph)-9*sph.ei2())*
math.Pow(D, 4)/24+(61+90*p._T(φ1)+298*p._C(φ1, sph)+45*p._T(φ1)*
p._T(φ1)-252*sph.ei2()-3*p._C(φ1, sph)*p._C(φ1, sph))*
math.Pow(D, 6)/720)
λ := radian(p.lonf) + (D-(1+2*p._T(φ1)+p._C(φ1, sph))*D*D*D/6+(5-2*p._C(φ1, sph)+
28*p._T(φ1)-3*p._C(φ1, sph)*p._C(φ1, sph)+8*sph.ei2()+24*p._T(φ1)*p._T(φ1))*
math.Pow(D, 5)/120)/math.Cos(φ1)
return degree(λ), degree(φ)
}
func (p transverseMercator) FromLonLat(lon, lat float64, s Spheroid) (east, north float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
φ := radian(lat)
A := (radian(lon) - radian(p.lonf)) * math.Cos(φ)
east = p.scale*p._N(φ, sph)*(A+(1-p._T(φ)+p._C(φ, sph))*
math.Pow(A, 3)/6+(5-18*p._T(φ)+p._T(φ)*p._T(φ)+72*p._C(φ, sph)-58*sph.ei2())*
math.Pow(A, 5)/120) + p.eastf
north = p.scale*(p._M(φ, sph)-p._M(radian(p.latf), sph)+p._N(φ, sph)*math.Tan(φ)*
(A*A/2+(5-p._T(φ)+9*p._C(φ, sph)+4*p._C(φ, sph)*p._C(φ, sph))*
math.Pow(A, 4)/24+(61-58*p._T(φ)+p._T(φ)*p._T(φ)+600*
p._C(φ, sph)-330*sph.ei2())*math.Pow(A, 6)/720)) + p.northf
return east, north
}
func (transverseMercator) _M(φ float64, sph spheroid) float64 {
return sph.A() * ((1-sph.e2()/4-3*sph.e4()/64-5*sph.e6()/256)*φ -
(3*sph.e2()/8+3*sph.e4()/32+45*sph.e6()/1024)*math.Sin(2*φ) +
(15*sph.e4()/256+45*sph.e6()/1024)*math.Sin(4*φ) -
(35*sph.e6()/3072)*math.Sin(6*φ))
}
func (transverseMercator) _N(φ float64, sph spheroid) float64 {
return sph.A() / math.Sqrt(1-sph.e2()*sin2(φ))
}
func (transverseMercator) _T(φ float64) float64 {
return tan2(φ)
}
func (transverseMercator) _C(φ float64, sph spheroid) float64 {
return sph.ei2() * cos2(φ)
}
type lambertConformalConic2SP struct {
lonf, latf, lat1, lat2, eastf, northf float64
}
func (p lambertConformalConic2SP) ToLonLat(east, north float64, s Spheroid) (lon, lat float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
ρi := math.Sqrt(math.Pow(east-p.eastf, 2) + math.Pow(p._ρ(radian(p.latf), sph)-(north-p.northf), 2))
if p._n(sph) < 0 {
ρi = -ρi
}
ti := math.Pow(ρi/(sph.A()*p._F(sph)), 1/p._n(sph))
φ := math.Pi/2 - 2*math.Atan(ti)
for i := 0; i < 5; i++ {
φ = math.Pi/2 - 2*math.Atan(ti*math.Pow((1-sph.e()*math.Sin(φ))/(1+sph.e()*math.Sin(φ)), sph.e()/2))
}
λ := math.Atan((east-p.eastf)/(p._ρ(radian(p.latf), sph)-(north-p.northf)))/p._n(sph) + radian(p.lonf)
return degree(λ), degree(φ)
}
func (p lambertConformalConic2SP) FromLonLat(lon, lat float64, s Spheroid) (east, north float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
θ := p._n(sph) * (radian(lon) - radian(p.lonf))
east = p.eastf + p._ρ(radian(lat), sph)*math.Sin(θ)
north = p.northf + p._ρ(radian(p.latf), sph) - p._ρ(radian(lat), sph)*math.Cos(θ)
return east, north
}
func (p lambertConformalConic2SP) _t(φ float64, sph spheroid) float64 {
return math.Tan(math.Pi/4-φ/2) /
math.Pow((1-sph.e()*math.Sin(φ))/(1+sph.e()*math.Sin(φ)), sph.e()/2)
}
func (p lambertConformalConic2SP) _m(φ float64, sph spheroid) float64 {
return math.Cos(φ) / math.Sqrt(1-sph.e2()*sin2(φ))
}
func (p lambertConformalConic2SP) _n(sph spheroid) float64 {
if radian(p.lat1) == radian(p.lat2) {
return math.Sin(radian(p.lat1))
}
return (math.Log(p._m(radian(p.lat1), sph)) - math.Log(p._m(radian(p.lat2), sph))) /
(math.Log(p._t(radian(p.lat1), sph)) - math.Log(p._t(radian(p.lat2), sph)))
}
func (p lambertConformalConic2SP) _F(sph spheroid) float64 {
return p._m(radian(p.lat1), sph) / (p._n(sph) * math.Pow(p._t(radian(p.lat1), sph), p._n(sph)))
}
func (p lambertConformalConic2SP) _ρ(φ float64, sph spheroid) float64 {
return sph.A() * p._F(sph) * math.Pow(p._t(φ, sph), p._n(sph))
}
type albersEqualAreaConic struct {
lonf, latf, lat1, lat2, eastf, northf float64
}
func (p albersEqualAreaConic) ToLonLat(east, north float64, s Spheroid) (lon, lat float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
east -= p.eastf
north -= p.northf
ρi := math.Sqrt(east*east + math.Pow(p._ρ(radian(p.latf), sph)-north, 2))
qi := (p._C(sph) - ρi*ρi*p._n(sph)*p._n(sph)/sph.a2()) / p._n(sph)
φ := math.Asin(qi / 2)
for i := 0; i < 5; i++ {
φ += math.Pow(1-sph.e2()*sin2(φ), 2) /
(2 * math.Cos(φ)) * (qi/(1-sph.e2()) -
math.Sin(φ)/(1-sph.e2()*sin2(φ)) +
1/(2*sph.e())*math.Log((1-sph.e()*math.Sin(φ))/(1+sph.e()*math.Sin(φ))))
}
θ := math.Atan(east / (p._ρ(radian(p.latf), sph) - north))
return degree(radian(p.lonf) + θ/p._n(sph)), degree(φ)
}
func (p albersEqualAreaConic) FromLonLat(lon, lat float64, s Spheroid) (east, north float64) {
sph := spheroid{a: s.A(), fi: s.Fi()}
θ := p._n(sph) * (radian(lon) - radian(p.lonf))
east = p.eastf + p._ρ(radian(lat), sph)*math.Sin(θ)
north = p.northf + p._ρ(radian(p.latf), sph) - p._ρ(radian(lat), sph)*math.Cos(θ)
return east, north
}
func (p albersEqualAreaConic) _m(φ float64, sph spheroid) float64 {
return math.Cos(φ) / math.Sqrt(1-sph.e2()*sin2(φ))
}
func (p albersEqualAreaConic) _q(φ float64, sph spheroid) float64 {
return (1 - sph.e2()) * (math.Sin(φ)/(1-sph.e2()*sin2(φ)) -
(1/(2*sph.e()))*math.Log((1-sph.e()*math.Sin(φ))/(1+sph.e()*math.Sin(φ))))
}
func (p albersEqualAreaConic) _n(sph spheroid) float64 {
if radian(p.lat1) == radian(p.lat2) {
return math.Sin(radian(p.lat1))
}
return (p._m(radian(p.lat1), sph)*p._m(radian(p.lat1), sph) -
p._m(radian(p.lat2), sph)*p._m(radian(p.lat2), sph)) /
(p._q(radian(p.lat2), sph) - p._q(radian(p.lat1), sph))
}
func (p albersEqualAreaConic) _C(sph spheroid) float64 {
return p._m(radian(p.lat1), sph)*p._m(radian(p.lat1), sph) + p._n(sph)*p._q(radian(p.lat1), sph)
}
func (p albersEqualAreaConic) _ρ(φ float64, sph spheroid) float64 {
return sph.A() * math.Sqrt(p._C(sph)-p._n(sph)*p._q(φ, sph)) / p._n(sph)
} | system.go | 0.710427 | 0.429429 | system.go | starcoder |
package navmeshv2
import "github.com/g3n/engine/math32"
type Rectangle struct {
Min *math32.Vector2
Max *math32.Vector2
}
func NewRectangle(x, y, width, height float32) Rectangle {
min := math32.NewVector2(x, y)
max := math32.NewVector2(x+width, y+height)
return Rectangle{
Min: min,
Max: max,
}
}
func (r Rectangle) X() float32 {
return r.Min.X
}
func (r Rectangle) Y() float32 {
return r.Min.Y
}
func (r Rectangle) Width() float32 {
return r.Max.X - r.Min.X
}
func (r Rectangle) Height() float32 {
return r.Max.Y - r.Min.Y
}
func (r Rectangle) Center() *math32.Vector2 {
min := math32.NewVector2(r.Min.X, r.Min.Y)
max := math32.NewVector2(r.Max.X, r.Max.Y)
return min.Add(max).MultiplyScalar(0.5)
}
func (r Rectangle) Contains(x, y float32) bool {
return x >= r.Min.X && x <= r.Max.X && y >= r.Min.Y && y <= r.Max.Y
}
func (r Rectangle) ContainsVec2(p *math32.Vector2) bool {
return r.Contains(p.X, p.Y)
}
func (r Rectangle) ContainsVec3(p *math32.Vector3) bool {
return r.Contains(p.X, p.Z)
}
func (r Rectangle) IntersectsTriangle(triangle Triangle) bool {
triV1 := math32.NewVector2(triangle.A.X, triangle.A.Z)
triV2 := math32.NewVector2(triangle.B.X, triangle.B.Z)
triV3 := math32.NewVector2(triangle.C.X, triangle.C.Z)
if r.ContainsVec2(triV1) || r.ContainsVec2(triV2) || r.ContainsVec2(triV3) {
return true
}
recV1 := math32.NewVector3(r.Min.X, 0, r.Min.Y)
recV2 := math32.NewVector3(r.Min.X, 0, r.Max.Y)
recV3 := math32.NewVector3(r.Max.X, 0, r.Min.Y)
recV4 := math32.NewVector3(r.Max.X, 0, r.Max.Y)
h1, _ := triangle.FindHeight(recV1)
h2, _ := triangle.FindHeight(recV2)
h3, _ := triangle.FindHeight(recV3)
h4, _ := triangle.FindHeight(recV4)
if h1 || h2 || h3 || h4 {
return true
}
line1 := NewLineSegmentVec2(triV1, triV2)
line2 := NewLineSegmentVec2(triV1, triV3)
line3 := NewLineSegmentVec2(triV2, triV3)
return r.IntersectsLine(line1) || r.IntersectsLine(line2) || r.IntersectsLine(line3)
}
func (r Rectangle) IntersectsLine(line LineSegment) bool {
if r.ContainsVec3(line.A) || r.ContainsVec3(line.B) {
return true
}
recV1 := math32.NewVector3(r.Min.X, 0, r.Min.Y)
recV2 := math32.NewVector3(r.Min.X, 0, r.Max.Y)
recV3 := math32.NewVector3(r.Max.X, 0, r.Min.Y)
recV4 := math32.NewVector3(r.Max.X, 0, r.Max.Y)
l1 := LineSegment{recV1, recV2}
l2 := LineSegment{recV1, recV3}
l3 := LineSegment{recV3, recV4}
l4 := LineSegment{recV2, recV4}
if i1, _ := line.Intersects(l1); i1 {
return i1
} else if i2, _ := line.Intersects(l2); i2 {
return i2
} else if i3, _ := line.Intersects(l3); i3 {
return i3
} else if i4, _ := line.Intersects(l4); i4 {
return i4
}
return false
} | navmeshv2/rectangle.go | 0.811415 | 0.708023 | rectangle.go | starcoder |
package nanovgo
import (
"github.com/micaelAlastor/nanovgo/fontstashmini"
)
type nvgParams interface {
edgeAntiAlias() bool
renderCreate() error
renderCreateFramebuffer(w, h int, flags ImageFlags) *FrameBuffer
renderCreateTexture(texType nvgTextureType, w, h int, flags ImageFlags, data []byte) int
renderDeleteTexture(image int) error
renderUpdateTexture(image, x, y, w, h int, data []byte) error
renderGetTextureSize(image int) (int, int, error)
renderViewport(width, height int)
renderCancel()
renderFlush()
renderFill(paint *Paint, scissor *nvgScissor, fringe float32, bounds [4]float32, paths []nvgPath)
renderStroke(paint *Paint, scissor *nvgScissor, fringe float32, strokeWidth float32, paths []nvgPath)
renderTriangles(paint *Paint, scissor *nvgScissor, vertexes []nvgVertex)
renderTriangleStrip(paint *Paint, scissor *nvgScissor, vertexes []nvgVertex)
renderDelete()
}
type nvgPoint struct {
x, y float32
dx, dy float32
len float32
dmx, dmy float32
flags nvgPointFlags
}
type nvgVertex struct {
x, y, u, v float32
}
func (vtx *nvgVertex) set(x, y, u, v float32) {
vtx.x = x
vtx.y = y
vtx.u = u
vtx.v = v
}
type nvgPath struct {
first int
count int
closed bool
nBevel int
fills []nvgVertex
strokes []nvgVertex
winding Winding
convex bool
}
type nvgScissor struct {
xform TransformMatrix
extent [2]float32
}
type nvgState struct {
fill, stroke Paint
strokeWidth float32
miterLimit float32
lineJoin LineCap
lineCap LineCap
alpha float32
xform TransformMatrix
scissor nvgScissor
fontSize float32
letterSpacing float32
lineHeight float32
fontBlur float32
textAlign Align
fontID int
}
func (s *nvgState) reset() {
s.fill.setPaintColor(RGBA(255, 255, 255, 255))
s.stroke.setPaintColor(RGBA(0, 0, 0, 255))
s.strokeWidth = 1.0
s.miterLimit = 10.0
s.lineCap = Butt
s.lineJoin = Miter
s.alpha = 1.0
s.xform = IdentityMatrix()
s.scissor.xform = IdentityMatrix()
s.scissor.xform[0] = 0.0
s.scissor.xform[3] = 0.0
s.scissor.extent[0] = -1.0
s.scissor.extent[1] = -1.0
s.fontSize = 16.0
s.letterSpacing = 0.0
s.lineHeight = 1.0
s.fontBlur = 0.0
s.textAlign = AlignLeft | AlignBaseline
s.fontID = fontstashmini.INVALID
}
func (s *nvgState) getFontScale() float32 {
return minF(quantize(s.xform.getAverageScale(), 0.01), 4.0)
}
type nvgPathCache struct {
points []nvgPoint
paths []nvgPath
vertexes []nvgVertex
bounds [4]float32
}
func (c *nvgPathCache) allocVertexes(n int) []nvgVertex {
offset := len(c.vertexes)
c.vertexes = append(c.vertexes, make([]nvgVertex, n)...)
return c.vertexes[offset:]
}
func (c *nvgPathCache) clearPathCache() {
c.points = c.points[:0]
c.paths = c.paths[:0]
c.vertexes = c.vertexes[:0]
}
func (c *nvgPathCache) lastPath() *nvgPath {
if len(c.paths) > 0 {
return &c.paths[len(c.paths)-1]
}
return nil
}
func (c *nvgPathCache) addPath() {
c.paths = append(c.paths, nvgPath{first: len(c.points), winding: Solid})
}
func (c *nvgPathCache) lastPoint() *nvgPoint {
if len(c.points) > 0 {
return &c.points[len(c.points)-1]
}
return nil
}
func (c *nvgPathCache) addPoint(x, y float32, flags nvgPointFlags, distTol float32) {
path := c.lastPath()
if path.count > 0 && len(c.points) > 0 {
lastPoint := c.lastPoint()
if ptEquals(lastPoint.x, lastPoint.y, x, y, distTol) {
lastPoint.flags |= flags
return
}
}
c.points = append(c.points, nvgPoint{
x: x,
y: y,
dx: 0,
dy: 0,
len: 0,
dmx: 0,
dmy: 0,
flags: flags,
})
path.count++
}
func (c *nvgPathCache) closePath() {
path := c.lastPath()
if path != nil {
path.closed = true
}
}
func (c *nvgPathCache) pathWinding(winding Winding) {
path := c.lastPath()
if path != nil {
path.winding = winding
}
}
func (c *nvgPathCache) tesselateBezier(x1, y1, x2, y2, x3, y3, x4, y4 float32, level int, flags nvgPointFlags, tessTol, distTol float32) {
if level > 10 {
return
}
dx := x4 - x1
dy := y4 - y1
d2 := absF(((x2-x4)*dy - (y2-y4)*dx))
d3 := absF(((x3-x4)*dy - (y3-y4)*dx))
if (d2+d3)*(d2+d3) < tessTol*(dx*dx+dy*dy) {
c.addPoint(x4, y4, flags, distTol)
return
}
x12 := (x1 + x2) * 0.5
y12 := (y1 + y2) * 0.5
x23 := (x2 + x3) * 0.5
y23 := (y2 + y3) * 0.5
x34 := (x3 + x4) * 0.5
y34 := (y3 + y4) * 0.5
x123 := (x12 + x23) * 0.5
y123 := (y12 + y23) * 0.5
x234 := (x23 + x34) * 0.5
y234 := (y23 + y34) * 0.5
x1234 := (x123 + x234) * 0.5
y1234 := (y123 + y234) * 0.5
c.tesselateBezier(x1, y1, x12, y12, x123, y123, x1234, y1234, level+1, 0, tessTol, distTol)
c.tesselateBezier(x1234, y1234, x234, y234, x34, y34, x4, y4, level+1, flags, tessTol, distTol)
}
func (c *nvgPathCache) calculateJoins(w float32, lineJoin LineCap, miterLimit float32) {
var iw float32
if w > 0.0 {
iw = 1.0 / w
}
// Calculate which joins needs extra vertices to append, and gather vertex count.
for i := 0; i < len(c.paths); i++ {
path := &c.paths[i]
points := c.points[path.first:]
p0 := &points[path.count-1]
p1 := &points[0]
nLeft := 0
path.nBevel = 0
p1Index := 0
for j := 0; j < path.count; j++ {
dlx0 := p0.dy
dly0 := -p0.dx
dlx1 := p1.dy
dly1 := -p1.dx
// Calculate extrusions
p1.dmx = (dlx0 + dlx1) * 0.5
p1.dmy = (dly0 + dly1) * 0.5
dmr2 := p1.dmx*p1.dmx + p1.dmy*p1.dmy
if dmr2 > 0.000001 {
scale := minF(1.0/dmr2, 600.0)
p1.dmx *= scale
p1.dmy *= scale
}
// Clear flags, but keep the corner.
if p1.flags&nvgPtCORNER != 0 {
p1.flags = nvgPtCORNER
} else {
p1.flags = 0
}
// Keep track of left turns.
cross := p1.dx*p0.dy - p0.dx*p1.dy
if cross > 0.0 {
nLeft++
p1.flags |= nvgPtLEFT
}
// Calculate if we should use bevel or miter for inner join.
limit := maxF(1.0, minF(p0.len, p1.len)*iw)
if dmr2*limit*limit < 1.0 {
p1.flags |= nvgPrINNERBEVEL
}
// Check to see if the corner needs to be beveled.
if p1.flags&nvgPtCORNER != 0 {
if dmr2*miterLimit*miterLimit < 1.0 || lineJoin == Bevel || lineJoin == Round {
p1.flags |= nvgPtBEVEL
}
}
if p1.flags&(nvgPtBEVEL|nvgPrINNERBEVEL) != 0 {
path.nBevel++
}
p1Index++
p0 = p1
if len(points) != p1Index {
p1 = &points[p1Index]
}
}
path.convex = (nLeft == path.count)
}
}
func (c *nvgPathCache) expandStroke(w float32, lineCap, lineJoin LineCap, miterLimit, fringeWidth, tessTol float32) {
aa := fringeWidth
// Calculate divisions per half circle.
nCap := curveDivs(w, PI, tessTol)
c.calculateJoins(w, lineJoin, miterLimit)
// Calculate max vertex usage.
countVertex := 0
for i := 0; i < len(c.paths); i++ {
path := &c.paths[i]
if lineJoin == Round {
countVertex += (path.count + path.nBevel*(nCap+2) + 1) * 2 // plus one for loop
} else {
countVertex += (path.count + path.nBevel*5 + 1) * 2 // plus one for loop
}
if !path.closed {
// space for caps
if lineCap == Round {
countVertex += (nCap*2 + 2) * 2
} else {
countVertex += (3 + 3) * 2
}
}
}
dst := c.allocVertexes(countVertex)
for i := 0; i < len(c.paths); i++ {
path := &c.paths[i]
points := c.points[path.first:]
path.fills = path.fills[:0]
// Calculate fringe or stroke
index := 0
var p0, p1 *nvgPoint
var s, e, p1Index int
if path.closed {
// Looping
p0 = &points[path.count-1]
p1 = &points[0]
s = 0
e = path.count
p1Index = 0
} else {
// Add cap
p0 = &points[0]
p1 = &points[1]
s = 1
e = path.count - 1
p1Index = 1
dx := p1.x - p0.x
dy := p1.y - p0.y
_, dx, dy = normalize(dx, dy)
switch lineCap {
case Butt:
index = buttCapStart(dst, index, p0, dx, dy, w, -aa*0.5, aa)
case Square:
index = buttCapStart(dst, index, p0, dx, dy, w, w-aa, aa)
case Round:
index = roundCapStart(dst, index, p0, dx, dy, w, nCap, aa)
}
}
for j := s; j < e; j++ {
if p1.flags&(nvgPtBEVEL|nvgPrINNERBEVEL) != 0 {
if lineJoin == Round {
index = roundJoin(dst, index, p0, p1, w, w, 0, 1, nCap, aa)
} else {
index = bevelJoin(dst, index, p0, p1, w, w, 0, 1, aa)
}
} else {
(&dst[index]).set(p1.x+p1.dmx*w, p1.y+p1.dmy*w, 0, 1)
(&dst[index+1]).set(p1.x-p1.dmx*w, p1.y-p1.dmy*w, 1, 1)
index += 2
}
p1Index++
p0 = p1
if len(points) != p1Index {
p1 = &points[p1Index]
}
}
if path.closed {
(&dst[index]).set(dst[0].x, dst[0].y, 0, 1)
(&dst[index+1]).set(dst[1].x, dst[1].y, 1, 1)
index += 2
} else {
dx := p1.x - p0.x
dy := p1.y - p0.y
_, dx, dy = normalize(dx, dy)
switch lineCap {
case Butt:
index = buttCapEnd(dst, index, p1, dx, dy, w, -aa*0.5, aa)
case Square:
index = buttCapEnd(dst, index, p1, dx, dy, w, w-aa, aa)
case Round:
index = roundCapEnd(dst, index, p1, dx, dy, w, nCap, aa)
}
}
path.strokes = dst[0:index]
dst = dst[index:]
}
}
func (c *nvgPathCache) expandFill(w float32, lineJoin LineCap, miterLimit, fringeWidth float32) {
aa := fringeWidth
fringe := w > 0.0
// Calculate max vertex usage.
c.calculateJoins(w, lineJoin, miterLimit)
countVertex := 0
for i := 0; i < len(c.paths); i++ {
path := &c.paths[i]
countVertex += path.count + path.nBevel + 1
if fringe {
countVertex += (path.count + path.nBevel*5 + 1) * 2 // plus one for loop
}
}
dst := c.allocVertexes(countVertex)
convex := len(c.paths) == 1 && c.paths[0].convex
for i := 0; i < len(c.paths); i++ {
path := &c.paths[i]
points := c.points[path.first:]
// Calculate shape vertices.
wOff := 0.5 * aa
index := 0
if fringe {
p0 := &points[path.count-1]
p1 := &points[0]
p1Index := 0
for j := 0; j < path.count; j++ {
if p1.flags&nvgPtBEVEL != 0 {
dlx0 := p0.dy
dly0 := -p0.dx
dlx1 := p1.dy
dly1 := -p1.dx
if p1.flags&nvgPtLEFT != 0 {
lx := p1.x + p1.dmx*wOff
ly := p1.y + p1.dmy*wOff
(&dst[index]).set(lx, ly, 0.5, 1)
index++
} else {
lx0 := p1.x + dlx0*wOff
ly0 := p1.y + dly0*wOff
lx1 := p1.x + dlx1*wOff
ly1 := p1.y + dly1*wOff
(&dst[index]).set(lx0, ly0, 0.5, 1)
(&dst[index+1]).set(lx1, ly1, 0.5, 1)
index += 2
}
} else {
lx := p1.x + p1.dmx*wOff
ly := p1.y + p1.dmy*wOff
(&dst[index]).set(lx, ly, 0.5, 1)
index++
}
p1Index++
p0 = p1
if len(points) != p1Index {
p1 = &points[p1Index]
}
}
} else {
for j := 0; j < path.count; j++ {
point := &points[j]
(&dst[index]).set(point.x, point.y, 0.5, 1)
index++
}
}
path.fills = dst[0:index]
dst = dst[index:]
// Calculate fringe
if fringe {
lw := w + wOff
rw := w - wOff
var lu float32
var ru float32 = 1.0
// Create only half a fringe for convex shapes so that
// the shape can be rendered without stenciling.
if convex {
lw = wOff // This should generate the same vertex as fill inset above.
lu = 0.5 // Set outline fade at middle.
}
p0 := &points[path.count-1]
p1 := &points[0]
p1Index := 0
index := 0
// Looping
for j := 0; j < path.count; j++ {
if p1.flags&(nvgPtBEVEL|nvgPrINNERBEVEL) != 0 {
index = bevelJoin(dst, index, p0, p1, lw, rw, lu, ru, fringeWidth)
} else {
(&dst[index]).set(p1.x+(p1.dmx*lw), p1.y+(p1.dmy*lw), lu, 1)
(&dst[index+1]).set(p1.x-(p1.dmx*lw), p1.y-(p1.dmy*lw), ru, 1)
index += 2
}
p1Index++
p0 = p1
if len(points) != p1Index {
p1 = &points[p1Index]
}
}
// Loop it
(&dst[index]).set(dst[0].x, dst[0].y, lu, 1)
(&dst[index+1]).set(dst[1].x, dst[1].y, ru, 1)
index += 2
path.strokes = dst[0:index]
dst = dst[index:]
} else {
path.strokes = path.strokes[:0]
}
}
}
// GlyphPosition keeps glyph location information
type GlyphPosition struct {
Index int // Position of the glyph in the input string.
Runes []rune
X float32 // The x-coordinate of the logical glyph position.
MinX, MaxX float32 // The bounds of the glyph shape.
}
// TextRow keeps row geometry information
type TextRow struct {
Runes []rune // The input string.
StartIndex int // Index to the input text where the row starts.
EndIndex int // Index to the input text where the row ends (one past the last character).
NextIndex int // Index to the beginning of the next row.
Width float32 // Logical width of the row.
MinX, MaxX float32 // Actual bounds of the row. Logical with and bounds can differ because of kerning and some parts over extending.
}
type FPoint struct {
X float32
Y float32
}
func (p1 *FPoint) getX() float32 {
return p1.X
}
func (p1 *FPoint) getY() float32 {
return p1.Y
}
func (p1 *FPoint) rotatedByRadians(angle float32) *FPoint {
angleCos := cosF(angle)
angleSin := sinF(angle)
return &FPoint{p1.X*angleCos - p1.Y*angleSin, p1.X*angleSin + p1.Y*angleCos}
}
func (p1 *FPoint) unitVector() *FPoint {
r := p1.polarRadius()
return &FPoint{p1.X / r, p1.Y / r}
}
func (p1 *FPoint) polarRadius() float32 {
//Answer the receiver's radius in polar coordinate system.
return sqrtF(p1.X*p1.X + p1.Y*p1.Y)
}
func (p1 *FPoint) equalZero() bool {
return p1.X == 0.0 && p1.Y == 0.0
}
func (p1 *FPoint) add(p2 *FPoint) *FPoint {
return &FPoint{p1.getX() + p2.getX(), p1.getY() + p2.getY()}
}
func pointXFromX(point FPoint, r float32) (float32, float32) {
radius := absF(r)
if absF(point.X) >= radius {
return radius * signF(point.X), 0
} else {
calculatedY := sqrtF(radius*radius-point.X*point.X) * signF(point.Y)
return point.X, calculatedY
}
}
func pointYFromX(point FPoint, r float32) (float32, float32) {
radius := absF(r)
if absF(point.Y) >= radius {
return 0, radius * signF(point.Y)
} else {
calculatedX := sqrtF(radius*radius-point.Y*point.Y) * signF(point.X)
return calculatedX, point.Y
}
}
func theta(point *FPoint) float32 {
if point.X == 0 {
if point.Y > 0 {
return PI * 0.5
} else {
return PI * 1.5
}
} else {
tan := point.Y / point.X
theta := atanF(tan)
if point.X < 0 {
return theta + PI
} else {
if theta < 0 {
return theta + 2*PI
} else {
return theta
}
}
}
} | structs.go | 0.555918 | 0.411406 | structs.go | starcoder |
package plotter
import (
"errors"
"image/color"
"math"
"code.google.com/p/plotinum/plot"
"code.google.com/p/plotinum/vg"
)
type BarChart struct {
Values
// Width is the width of the bars.
Width vg.Length
// Color is the fill color of the bars.
Color color.Color
// LineStyle is the style of the outline of the bars.
plot.LineStyle
// Offset is added to the x location of each bar.
// When the Offset is zero, the bars are drawn
// centered at their x location.
Offset vg.Length
// XMin is the X location of the first bar. XMin
// can be changed to move groups of bars
// down the X axis in order to make grouped
// bar charts.
XMin float64
// stackedOn is the bar chart upon which
// this bar chart is stacked.
stackedOn *BarChart
}
// NewBarChart returns a new bar chart with a single bar for each value.
// The bars heights correspond to the values and their x locations correspond
// to the index of their value in the Valuer.
func NewBarChart(vs Valuer, width vg.Length) (*BarChart, error) {
if width <= 0 {
return nil, errors.New("Width parameter was not positive")
}
values, err := CopyValues(vs)
if err != nil {
return nil, err
}
return &BarChart{
Values: values,
Width: width,
Color: color.Black,
LineStyle: DefaultLineStyle,
}, nil
}
// BarHeight returns the maximum y value of the
// ith bar, taking into account any bars upon
// which it is stacked.
func (b *BarChart) BarHeight(i int) float64 {
ht := 0.0
if b == nil {
return 0
}
if i >= 0 && i < len(b.Values) {
ht += b.Values[i]
}
if b.stackedOn != nil {
ht += b.stackedOn.BarHeight(i)
}
return ht
}
// StackOn stacks a bar chart on top of another,
// and sets the XMin and Offset to that of the
// chart upon which it is being stacked.
func (b *BarChart) StackOn(on *BarChart) {
b.XMin = on.XMin
b.Offset = on.Offset
b.stackedOn = on
}
// Plot implements the plot.Plotter interface.
func (b *BarChart) Plot(da plot.DrawArea, plt *plot.Plot) {
trX, trY := plt.Transforms(&da)
for i, ht := range b.Values {
x := b.XMin + float64(i)
xmin := trX(float64(x))
if !da.ContainsX(xmin) {
continue
}
xmin = xmin - b.Width/2 + b.Offset
xmax := xmin + b.Width
bottom := b.stackedOn.BarHeight(i)
ymin := trY(bottom)
ymax := trY(bottom + ht)
pts := []plot.Point{
{xmin, ymin},
{xmin, ymax},
{xmax, ymax},
{xmax, ymin},
}
poly := da.ClipPolygonY(pts)
da.FillPolygon(b.Color, poly)
pts = append(pts, plot.Pt(xmin, ymin))
outline := da.ClipLinesY(pts)
da.StrokeLines(b.LineStyle, outline...)
}
}
// DataRange implements the plot.DataRanger interface.
func (b *BarChart) DataRange() (xmin, xmax, ymin, ymax float64) {
xmin = b.XMin
xmax = xmin + float64(len(b.Values)-1)
ymin = math.Inf(1)
ymax = math.Inf(-1)
for i, y := range b.Values {
ybot := b.stackedOn.BarHeight(i)
ytop := ybot + y
ymin = math.Min(ymin, math.Min(ybot, ytop))
ymax = math.Max(ymax, math.Max(ybot, ytop))
}
return
}
// GlyphBoxes implements the GlyphBoxer interface.
func (b *BarChart) GlyphBoxes(plt *plot.Plot) []plot.GlyphBox {
boxes := make([]plot.GlyphBox, len(b.Values))
for i := range b.Values {
x := b.XMin + float64(i)
boxes[i].X = plt.X.Norm(x)
boxes[i].Rect = plot.Rect{
Min: plot.Point{X: b.Offset - b.Width/2},
Size: plot.Point{X: b.Width},
}
}
return boxes
}
func (b *BarChart) Thumbnail(da *plot.DrawArea) {
pts := []plot.Point{
{da.Min.X, da.Min.Y},
{da.Min.X, da.Max().Y},
{da.Max().X, da.Max().Y},
{da.Max().X, da.Min.Y},
}
poly := da.ClipPolygonY(pts)
da.FillPolygon(b.Color, poly)
pts = append(pts, plot.Pt(da.Min.X, da.Min.Y))
outline := da.ClipLinesY(pts)
da.StrokeLines(b.LineStyle, outline...)
} | src/code.google.com/p/plotinum/plotter/barchart.go | 0.719088 | 0.475301 | barchart.go | starcoder |
package expr
import (
"fmt"
"reflect"
)
// InvalidOpError is returned when an attempt is made to perform an operation
// on a type that is not supported.
type InvalidOpError struct {
Op string
V Value
}
func (e InvalidOpError) Error() string {
return fmt.Sprintf("invalid operation: operator %s not defined for %v (%s)", e.Op, e.V.Value(), e.V.Type())
}
// ConversionError is returned when an invalid type conversion is attempted.
type ConversionError struct {
From Type
To Type
}
func (e ConversionError) Error() string {
return fmt.Sprintf("cannot convert %s to %s", e.From, e.To)
}
// ReferenceError is returned when it is not possible to take the address of a
// value.
type ReferenceError struct{}
func (e ReferenceError) Error() string {
return "could not take reference of value"
}
// Value represents a value at runtime.
type Value interface {
Type() Type
Value() reflect.Value
RawValue() interface{}
Negate() Value
Not() Value
BitNot() Value
Deref() Value
Ref() Value
Dot(ident string) Value
LogicalOr(rhs Value) Value
LogicalAnd(rhs Value) Value
Equal(rhs Value) Value
NotEqual(rhs Value) Value
Lesser(rhs Value) Value
LesserEqual(rhs Value) Value
Greater(rhs Value) Value
GreaterEqual(rhs Value) Value
Add(rhs Value) Value
Sub(rhs Value) Value
Or(rhs Value) Value
Xor(rhs Value) Value
Mul(rhs Value) Value
Div(rhs Value) Value
Rem(rhs Value) Value
Lsh(rhs Value) Value
Rsh(rhs Value) Value
And(rhs Value) Value
AndNot(rhs Value) Value
Index(rhs Value) Value
Call(in []Value) Value
}
type val struct {
v reflect.Value
t Type
}
func promote(from Value, to Type) Value {
if TypeEqual(from.Type(), to) {
return from
}
ftype := from.Type()
switch ftype.Kind() {
case UntypedBool:
switch to.Kind() {
case Bool:
return val{from.Value(), to}
default:
panic(ConversionError{From: ftype, To: to})
}
case UntypedFloat:
switch to.Kind() {
case Float32:
return val{reflect.ValueOf(float32(reflect.ValueOf(from.Value).Float())), to}
case Float64:
return val{reflect.ValueOf(float64(reflect.ValueOf(from.Value).Float())), to}
default:
panic(ConversionError{From: ftype, To: to})
}
case UntypedInt:
ival, uval, fval := int64(0), uint64(0), float64(0)
switch n := from.RawValue().(type) {
case int64:
ival = int64(n)
uval = uint64(n)
fval = float64(n)
case uint64:
ival = int64(n)
uval = uint64(n)
fval = float64(n)
}
switch to.Kind() {
case Int:
return val{reflect.ValueOf(int(ival)), to}
case Int8:
return val{reflect.ValueOf(int8(ival)), to}
case Int16:
return val{reflect.ValueOf(int16(ival)), to}
case Int32:
return val{reflect.ValueOf(int32(ival)), to}
case Int64:
return val{reflect.ValueOf(int64(ival)), to}
case Uint:
return val{reflect.ValueOf(uint(uval)), to}
case Uint8:
return val{reflect.ValueOf(uint8(uval)), to}
case Uint16:
return val{reflect.ValueOf(uint16(uval)), to}
case Uint32:
return val{reflect.ValueOf(uint32(uval)), to}
case Uint64:
return val{reflect.ValueOf(uint64(uval)), to}
case Uintptr:
return val{reflect.ValueOf(uintptr(uval)), to}
case Float32:
return val{reflect.ValueOf(float32(fval)), to}
case Float64:
return val{reflect.ValueOf(float64(fval)), to}
default:
panic(ConversionError{From: ftype, To: to})
}
case UntypedNil:
return val{reflect.Zero(toreflecttype(to)), to}
default:
panic(ConversionError{From: ftype, To: to})
}
}
func coerce1(v Value) Value {
if v.Type().Kind() == UntypedInt {
switch n := v.RawValue().(type) {
case uint64:
return val{reflect.ValueOf(int(n)), NewPrimitiveType(Int)}
case int64:
return val{reflect.ValueOf(int(n)), NewPrimitiveType(Int)}
}
}
return v
}
func coerce(lhs Value, rhs Value) (Value, Value) {
if TypeEqual(lhs.Type(), rhs.Type()) {
return coerce1(lhs), coerce1(rhs)
} else if assignable(lhs.Type(), rhs.Type()) {
return promote(lhs, rhs.Type()), rhs
} else if assignable(rhs.Type(), lhs.Type()) {
return lhs, promote(rhs, lhs.Type())
}
panic(ConversionError{From: lhs.Type(), To: rhs.Type()})
}
func (v val) Type() Type {
return v.t
}
func (v val) Value() reflect.Value {
return v.v
}
func (v val) RawValue() interface{} {
return v.v.Interface()
}
func (v val) Negate() Value {
switch n := v.RawValue().(type) {
case int:
return val{reflect.ValueOf(-n), v.t}
case int8:
return val{reflect.ValueOf(-n), v.t}
case int16:
return val{reflect.ValueOf(-n), v.t}
case int32:
return val{reflect.ValueOf(-n), v.t}
case int64:
return val{reflect.ValueOf(-n), v.t}
case uint:
return val{reflect.ValueOf(-n), v.t}
case uint8:
return val{reflect.ValueOf(-n), v.t}
case uint16:
return val{reflect.ValueOf(-n), v.t}
case uint32:
return val{reflect.ValueOf(-n), v.t}
case uint64:
return val{reflect.ValueOf(-n), v.t}
case uintptr:
return val{reflect.ValueOf(-n), v.t}
case float32:
return val{reflect.ValueOf(-n), v.t}
case float64:
return val{reflect.ValueOf(-n), v.t}
default:
panic(InvalidOpError{Op: "-", V: v})
}
}
func (v val) Not() Value {
switch n := v.RawValue().(type) {
case bool:
return val{reflect.ValueOf(!n), v.t}
default:
panic(InvalidOpError{Op: "!", V: v})
}
}
func (v val) BitNot() Value {
switch n := v.RawValue().(type) {
case int:
return val{reflect.ValueOf(^n), v.t}
case int8:
return val{reflect.ValueOf(^n), v.t}
case int16:
return val{reflect.ValueOf(^n), v.t}
case int32:
return val{reflect.ValueOf(^n), v.t}
case int64:
return val{reflect.ValueOf(^n), v.t}
case uint:
return val{reflect.ValueOf(^n), v.t}
case uint8:
return val{reflect.ValueOf(^n), v.t}
case uint16:
return val{reflect.ValueOf(^n), v.t}
case uint32:
return val{reflect.ValueOf(^n), v.t}
case uint64:
return val{reflect.ValueOf(^n), v.t}
case uintptr:
return val{reflect.ValueOf(^n), v.t}
default:
panic(InvalidOpError{Op: "^", V: v})
}
}
func (v val) Deref() Value {
ptrtype, ok := v.t.(*PtrType)
if !ok {
panic(InvalidOpError{Op: "*", V: v})
}
return val{v.v.Elem(), ptrtype.Elem()}
}
func (v val) Ref() Value {
if !v.v.CanAddr() {
panic(ReferenceError{})
}
return val{v.v.Addr(), NewPtrType(v.t)}
}
func (v val) Dot(ident string) Value {
switch v.t.(type) {
case *PackageType:
if sv := v.RawValue().(Package).Symbol(ident); sv != nil {
return sv
}
case *StructType:
if sv := v.v.FieldByName(ident); sv.IsValid() {
return val{sv, TypeOf(sv.Interface())}
}
case *PtrType:
return v.Deref().Dot(ident)
}
panic(InvalidOpError{Op: ".", V: v})
}
func (v val) LogicalOr(rhs Value) Value {
lv, ok := v.RawValue().(bool)
if !ok {
panic(InvalidOpError{Op: "||", V: v})
}
rv, ok := rhs.RawValue().(bool)
if !ok {
panic(InvalidOpError{Op: "||", V: rhs})
}
return val{reflect.ValueOf(lv || rv), NewPrimitiveType(Bool)}
}
func (v val) LogicalAnd(rhs Value) Value {
lv, ok := v.RawValue().(bool)
if !ok {
panic(InvalidOpError{Op: "&&", V: v})
}
rv, ok := rhs.RawValue().(bool)
if !ok {
panic(InvalidOpError{Op: "&&", V: rhs})
}
return val{reflect.ValueOf(lv && rv), NewPrimitiveType(Bool)}
}
func (v val) Equal(rhs Value) Value {
l, r := coerce(v, rhs)
return val{reflect.ValueOf(l.RawValue() == r.RawValue()), NewPrimitiveType(Bool)}
}
func (v val) NotEqual(rhs Value) Value {
l, r := coerce(v, rhs)
return val{reflect.ValueOf(l.RawValue() != r.RawValue()), NewPrimitiveType(Bool)}
}
func (v val) Lesser(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv < r.RawValue().(int)), NewPrimitiveType(Bool)}
case int8:
return val{reflect.ValueOf(lv < r.RawValue().(int8)), NewPrimitiveType(Bool)}
case int16:
return val{reflect.ValueOf(lv < r.RawValue().(int16)), NewPrimitiveType(Bool)}
case int32:
return val{reflect.ValueOf(lv < r.RawValue().(int32)), NewPrimitiveType(Bool)}
case int64:
return val{reflect.ValueOf(lv < r.RawValue().(int64)), NewPrimitiveType(Bool)}
case uint:
return val{reflect.ValueOf(lv < r.RawValue().(uint)), NewPrimitiveType(Bool)}
case uint8:
return val{reflect.ValueOf(lv < r.RawValue().(uint8)), NewPrimitiveType(Bool)}
case uint16:
return val{reflect.ValueOf(lv < r.RawValue().(uint16)), NewPrimitiveType(Bool)}
case uint32:
return val{reflect.ValueOf(lv < r.RawValue().(uint32)), NewPrimitiveType(Bool)}
case uint64:
return val{reflect.ValueOf(lv < r.RawValue().(uint64)), NewPrimitiveType(Bool)}
case uintptr:
return val{reflect.ValueOf(lv < r.RawValue().(uintptr)), NewPrimitiveType(Bool)}
case float32:
return val{reflect.ValueOf(lv < r.RawValue().(float32)), NewPrimitiveType(Bool)}
case float64:
return val{reflect.ValueOf(lv < r.RawValue().(float64)), NewPrimitiveType(Bool)}
default:
panic(InvalidOpError{Op: "<", V: l})
}
}
func (v val) LesserEqual(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv <= r.RawValue().(int)), NewPrimitiveType(Bool)}
case int8:
return val{reflect.ValueOf(lv <= r.RawValue().(int8)), NewPrimitiveType(Bool)}
case int16:
return val{reflect.ValueOf(lv <= r.RawValue().(int16)), NewPrimitiveType(Bool)}
case int32:
return val{reflect.ValueOf(lv <= r.RawValue().(int32)), NewPrimitiveType(Bool)}
case int64:
return val{reflect.ValueOf(lv <= r.RawValue().(int64)), NewPrimitiveType(Bool)}
case uint:
return val{reflect.ValueOf(lv <= r.RawValue().(uint)), NewPrimitiveType(Bool)}
case uint8:
return val{reflect.ValueOf(lv <= r.RawValue().(uint8)), NewPrimitiveType(Bool)}
case uint16:
return val{reflect.ValueOf(lv <= r.RawValue().(uint16)), NewPrimitiveType(Bool)}
case uint32:
return val{reflect.ValueOf(lv <= r.RawValue().(uint32)), NewPrimitiveType(Bool)}
case uint64:
return val{reflect.ValueOf(lv <= r.RawValue().(uint64)), NewPrimitiveType(Bool)}
case uintptr:
return val{reflect.ValueOf(lv <= r.RawValue().(uintptr)), NewPrimitiveType(Bool)}
case float32:
return val{reflect.ValueOf(lv <= r.RawValue().(float32)), NewPrimitiveType(Bool)}
case float64:
return val{reflect.ValueOf(lv <= r.RawValue().(float64)), NewPrimitiveType(Bool)}
default:
panic(InvalidOpError{Op: "<=", V: l})
}
}
func (v val) Greater(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv > r.RawValue().(int)), NewPrimitiveType(Bool)}
case int8:
return val{reflect.ValueOf(lv > r.RawValue().(int8)), NewPrimitiveType(Bool)}
case int16:
return val{reflect.ValueOf(lv > r.RawValue().(int16)), NewPrimitiveType(Bool)}
case int32:
return val{reflect.ValueOf(lv > r.RawValue().(int32)), NewPrimitiveType(Bool)}
case int64:
return val{reflect.ValueOf(lv > r.RawValue().(int64)), NewPrimitiveType(Bool)}
case uint:
return val{reflect.ValueOf(lv > r.RawValue().(uint)), NewPrimitiveType(Bool)}
case uint8:
return val{reflect.ValueOf(lv > r.RawValue().(uint8)), NewPrimitiveType(Bool)}
case uint16:
return val{reflect.ValueOf(lv > r.RawValue().(uint16)), NewPrimitiveType(Bool)}
case uint32:
return val{reflect.ValueOf(lv > r.RawValue().(uint32)), NewPrimitiveType(Bool)}
case uint64:
return val{reflect.ValueOf(lv > r.RawValue().(uint64)), NewPrimitiveType(Bool)}
case uintptr:
return val{reflect.ValueOf(lv > r.RawValue().(uintptr)), NewPrimitiveType(Bool)}
case float32:
return val{reflect.ValueOf(lv > r.RawValue().(float32)), NewPrimitiveType(Bool)}
case float64:
return val{reflect.ValueOf(lv > r.RawValue().(float64)), NewPrimitiveType(Bool)}
default:
panic(InvalidOpError{Op: ">", V: l})
}
}
func (v val) GreaterEqual(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv >= r.RawValue().(int)), NewPrimitiveType(Bool)}
case int8:
return val{reflect.ValueOf(lv >= r.RawValue().(int8)), NewPrimitiveType(Bool)}
case int16:
return val{reflect.ValueOf(lv >= r.RawValue().(int16)), NewPrimitiveType(Bool)}
case int32:
return val{reflect.ValueOf(lv >= r.RawValue().(int32)), NewPrimitiveType(Bool)}
case int64:
return val{reflect.ValueOf(lv >= r.RawValue().(int64)), NewPrimitiveType(Bool)}
case uint:
return val{reflect.ValueOf(lv >= r.RawValue().(uint)), NewPrimitiveType(Bool)}
case uint8:
return val{reflect.ValueOf(lv >= r.RawValue().(uint8)), NewPrimitiveType(Bool)}
case uint16:
return val{reflect.ValueOf(lv >= r.RawValue().(uint16)), NewPrimitiveType(Bool)}
case uint32:
return val{reflect.ValueOf(lv >= r.RawValue().(uint32)), NewPrimitiveType(Bool)}
case uint64:
return val{reflect.ValueOf(lv >= r.RawValue().(uint64)), NewPrimitiveType(Bool)}
case uintptr:
return val{reflect.ValueOf(lv >= r.RawValue().(uintptr)), NewPrimitiveType(Bool)}
case float32:
return val{reflect.ValueOf(lv >= r.RawValue().(float32)), NewPrimitiveType(Bool)}
case float64:
return val{reflect.ValueOf(lv >= r.RawValue().(float64)), NewPrimitiveType(Bool)}
default:
panic(InvalidOpError{Op: ">=", V: l})
}
}
func (v val) Add(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv + r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv + r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv + r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv + r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv + r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv + r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv + r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv + r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv + r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv + r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv + r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
case float32:
return val{reflect.ValueOf(lv + r.RawValue().(float32)), NewPrimitiveType(Float32)}
case float64:
return val{reflect.ValueOf(lv + r.RawValue().(float64)), NewPrimitiveType(Float64)}
case string:
return val{reflect.ValueOf(lv + r.RawValue().(string)), NewPrimitiveType(String)}
default:
panic(InvalidOpError{Op: "+", V: l})
}
}
func (v val) Sub(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv - r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv - r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv - r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv - r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv - r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv - r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv - r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv - r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv - r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv - r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv - r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
case float32:
return val{reflect.ValueOf(lv - r.RawValue().(float32)), NewPrimitiveType(Float32)}
case float64:
return val{reflect.ValueOf(lv - r.RawValue().(float64)), NewPrimitiveType(Float64)}
default:
panic(InvalidOpError{Op: "-", V: l})
}
}
func (v val) Or(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv | r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv | r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv | r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv | r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv | r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv | r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv | r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv | r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv | r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv | r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv | r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
default:
panic(InvalidOpError{Op: "|", V: l})
}
}
func (v val) Xor(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv ^ r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv ^ r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv ^ r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv ^ r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv ^ r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv ^ r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv ^ r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv ^ r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv ^ r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv ^ r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv ^ r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
default:
panic(InvalidOpError{Op: "^", V: l})
}
}
func (v val) Mul(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv * r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv * r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv * r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv * r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv * r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv * r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv * r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv * r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv * r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv * r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv * r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
case float32:
return val{reflect.ValueOf(lv * r.RawValue().(float32)), NewPrimitiveType(Float32)}
case float64:
return val{reflect.ValueOf(lv * r.RawValue().(float64)), NewPrimitiveType(Float64)}
default:
panic(InvalidOpError{Op: "*", V: l})
}
}
func (v val) Div(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv / r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv / r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv / r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv / r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv / r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv / r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv / r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv / r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv / r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv / r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv / r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
case float32:
return val{reflect.ValueOf(lv / r.RawValue().(float32)), NewPrimitiveType(Float32)}
case float64:
return val{reflect.ValueOf(lv / r.RawValue().(float64)), NewPrimitiveType(Float64)}
default:
panic(InvalidOpError{Op: "/", V: l})
}
}
func (v val) Rem(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv % r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv % r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv % r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv % r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv % r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv % r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv % r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv % r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv % r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv % r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv % r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
default:
panic(InvalidOpError{Op: "%", V: l})
}
}
func (v val) Lsh(rhs Value) Value {
l := coerce1(v)
shift := uint64(0)
switch rv := rhs.RawValue().(type) {
case uint:
shift = uint64(rv)
case uint8:
shift = uint64(rv)
case uint16:
shift = uint64(rv)
case uint32:
shift = uint64(rv)
case uint64:
shift = uint64(rv)
case uintptr:
shift = uint64(rv)
default:
panic(InvalidOpError{Op: "<<", V: rhs})
}
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv << shift), NewPrimitiveType(Uintptr)}
default:
panic(InvalidOpError{Op: "<<", V: l})
}
}
func (v val) Rsh(rhs Value) Value {
l := coerce1(v)
shift := uint64(0)
switch rv := rhs.RawValue().(type) {
case uint:
shift = uint64(rv)
case uint8:
shift = uint64(rv)
case uint16:
shift = uint64(rv)
case uint32:
shift = uint64(rv)
case uint64:
shift = uint64(rv)
case uintptr:
shift = uint64(rv)
default:
panic(InvalidOpError{Op: ">>", V: rhs})
}
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv >> shift), NewPrimitiveType(Uintptr)}
default:
panic(InvalidOpError{Op: ">>", V: l})
}
}
func (v val) And(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv & r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv & r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv & r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv & r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv & r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv & r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv & r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv & r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv & r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv & r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv & r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
default:
panic(InvalidOpError{Op: "&", V: l})
}
}
func (v val) AndNot(rhs Value) Value {
l, r := coerce(v, rhs)
switch lv := l.RawValue().(type) {
case int:
return val{reflect.ValueOf(lv &^ r.RawValue().(int)), NewPrimitiveType(Int)}
case int8:
return val{reflect.ValueOf(lv &^ r.RawValue().(int8)), NewPrimitiveType(Int8)}
case int16:
return val{reflect.ValueOf(lv &^ r.RawValue().(int16)), NewPrimitiveType(Int16)}
case int32:
return val{reflect.ValueOf(lv &^ r.RawValue().(int32)), NewPrimitiveType(Int32)}
case int64:
return val{reflect.ValueOf(lv &^ r.RawValue().(int64)), NewPrimitiveType(Int64)}
case uint:
return val{reflect.ValueOf(lv &^ r.RawValue().(uint)), NewPrimitiveType(Uint)}
case uint8:
return val{reflect.ValueOf(lv &^ r.RawValue().(uint8)), NewPrimitiveType(Uint8)}
case uint16:
return val{reflect.ValueOf(lv &^ r.RawValue().(uint16)), NewPrimitiveType(Uint16)}
case uint32:
return val{reflect.ValueOf(lv &^ r.RawValue().(uint32)), NewPrimitiveType(Uint32)}
case uint64:
return val{reflect.ValueOf(lv &^ r.RawValue().(uint64)), NewPrimitiveType(Uint64)}
case uintptr:
return val{reflect.ValueOf(lv &^ r.RawValue().(uintptr)), NewPrimitiveType(Uintptr)}
default:
panic(InvalidOpError{Op: "&^", V: l})
}
}
func (v val) Index(rhs Value) Value {
if v.t.Kind() == String {
index := promote(rhs, NewPrimitiveType(Int)).RawValue().(int)
return val{reflect.ValueOf(v.RawValue().(string)[index]), NewPrimitiveType(Uint8)}
}
switch t := v.t.(type) {
case *ArrayType:
return val{v.v.Index(promote(rhs, NewPrimitiveType(Int)).RawValue().(int)), t.Elem()}
case *SliceType:
return val{v.v.Index(promote(rhs, NewPrimitiveType(Int)).RawValue().(int)), t.Elem()}
case *MapType:
return val{v.v.MapIndex(promote(rhs, t.Key()).Value()), t.Value()}
default:
panic(InvalidOpError{Op: "[]", V: v})
}
}
func (v val) Call(in []Value) Value {
ft, ok := v.t.(*FuncType)
if !ok {
panic("Call invoked on non-function")
}
if len(in) != ft.NumIn() {
panic("invalid number of arguments to function")
}
inconv := []reflect.Value{}
for i, n := range in {
inconv = append(inconv, promote(n, ft.In(i)).Value())
}
out := v.v.Call(inconv)
if len(out) != 1 {
panic("only functions returning 1 value are supported")
}
return val{out[0], ft.Out(0)}
}
// ValueOf returns a Value for the given runtime value.
func ValueOf(i interface{}) Value {
return val{reflect.ValueOf(i), TypeOf(i)}
}
func literalboolval(v bool) Value {
return val{reflect.ValueOf(v), NewLiteralType(UntypedBool)}
}
func literalstrval(v string) Value {
return val{reflect.ValueOf(v), NewPrimitiveType(String)}
}
func literalintval(v int64) Value {
return val{reflect.ValueOf(v), NewLiteralType(UntypedInt)}
}
func literaluintval(v uint64) Value {
return val{reflect.ValueOf(v), NewLiteralType(UntypedInt)}
}
func literalfloatval(v float64) Value {
return val{reflect.ValueOf(v), NewLiteralType(UntypedFloat)}
}
func literalnilval() Value {
return val{reflect.ValueOf(interface{}(nil)), NewLiteralType(UntypedNil)}
} | sgx-tools/vendor/github.com/go-restruct/restruct/expr/value.go | 0.744285 | 0.422654 | value.go | starcoder |
package qrencode
import (
"bytes"
"image"
"image/color"
"io"
)
// The test benchmark shows that encoding with boolBitVector/boolBitGrid is
// twice as fast as byteBitVector/byteBitGrid and uin32BitVector/uint32BitGrid.
type BitVector struct {
boolBitVector
}
type BitGrid struct {
boolBitGrid
}
func (v *BitVector) AppendBits(b BitVector) {
v.boolBitVector.AppendBits(b.boolBitVector)
}
func NewBitGrid(width, height int) *BitGrid {
return &BitGrid{newBoolBitGrid(width, height)}
}
/*
type BitVector struct {
byteBitVector
}
type BitGrid struct {
byteBitGrid
}
func (v *BitVector) AppendBits(b BitVector) {
v.byteBitVector.AppendBits(b.byteBitVector)
}
func NewBitGrid(width, height int) *BitGrid {
return &BitGrid{newByteBitGrid(width, height)}
}
*/
/*
type BitVector struct {
uint32BitVector
}
type BitGrid struct {
uint32BitGrid
}
func (v *BitVector) AppendBits(b BitVector) {
v.uint32BitVector.AppendBits(b.uint32BitVector)
}
func NewBitGrid(width, height int) *BitGrid {
return &BitGrid{newUint32BitGrid(width, height)}
}
*/
func (v *BitVector) String() string {
b := bytes.Buffer{}
for i, l := 0, v.Length(); i < l; i++ {
if v.Get(i) {
b.WriteString("1")
} else {
b.WriteString("0")
}
}
return b.String()
}
func (g *BitGrid) String() string {
b := bytes.Buffer{}
for y, w, h := 0, g.Width(), g.Height(); y < h; y++ {
for x := 0; x < w; x++ {
if g.Empty(x, y) {
b.WriteString(" ")
} else if g.Get(x, y) {
b.WriteString("#")
} else {
b.WriteString("_")
}
}
b.WriteString("\n")
}
return b.String()
}
// Encode the Grid in ANSI escape sequences and set the background according
// to the values in the BitGrid surrounded by a white frame
func (g *BitGrid) TerminalOutput(w io.Writer) {
white := "\033[47m \033[0m"
black := "\033[40m \033[0m"
newline := "\n"
w.Write([]byte(white))
for i := 0; i <= g.Width(); i++ {
w.Write([]byte(white))
}
w.Write([]byte(newline))
for i := 0; i < g.Height(); i++ {
w.Write([]byte(white))
for j := 0; j < g.Width(); j++ {
if g.Get(j, i) {
w.Write([]byte(black))
} else {
w.Write([]byte(white))
}
}
w.Write([]byte(white))
w.Write([]byte(newline))
}
w.Write([]byte(white))
for i := 0; i <= g.Width(); i++ {
w.Write([]byte(white))
}
w.Write([]byte(newline))
}
// Return an image of the grid, with black blocks for true items and
// white blocks for false items, with the given block size and a
// default margin.
func (g *BitGrid) Image(blockSize int) image.Image {
return g.ImageWithMargin(blockSize, 4)
}
// Return an image of the grid, with black blocks for true items and
// white blocks for false items, with the given block size and margin.
func (g *BitGrid) ImageWithMargin(blockSize, margin int) image.Image {
width := blockSize * (2*margin + g.Width())
height := blockSize * (2*margin + g.Height())
i := image.NewGray16(image.Rect(0, 0, width, height))
for y := 0; y < blockSize*margin; y++ {
for x := 0; x < width; x++ {
i.Set(x, y, color.White)
i.Set(x, height-1-y, color.White)
}
}
for y := blockSize * margin; y < height-blockSize*margin; y++ {
for x := 0; x < blockSize*margin; x++ {
i.Set(x, y, color.White)
i.Set(width-1-x, y, color.White)
}
}
for y, w, h := 0, g.Width(), g.Height(); y < h; y++ {
for x := 0; x < w; x++ {
x0 := blockSize * (x + margin)
y0 := blockSize * (y + margin)
c := color.White
if g.Get(x, y) {
c = color.Black
}
for dy := 0; dy < blockSize; dy++ {
for dx := 0; dx < blockSize; dx++ {
i.Set(x0+dx, y0+dy, c)
}
}
}
}
return i
} | vendor/github.com/qpliu/qrencode-go/qrencode/bits.go | 0.671147 | 0.620593 | bits.go | starcoder |
package zounds
import (
"sort"
"time"
"github.com/cabify/timex"
)
// StaticNode is an interface for static node.
// StaticNode can be only drawn.
// StaticNode cannot be updated by the World.
type StaticNode interface {
Bounds() Rectangle
Draw()
}
// DynamicNode is an interface for dynamic node.
// It behaves like StaticNode but her state can be updated.
// E.g. node with animation can update draw state.
// The delta value in Update method is a time duration since last Update.
type DynamicNode interface {
StaticNode
Update(delta time.Duration)
}
// MovableNode is an interface for movable node.
// It should update her state in Update method from DynamicNode interface
// and returns velocity vector from Velocity method.
// The world make desicion how to update node position
// and pass new Min.X, Min.Y by UpdatePosition.
type MovableNode interface {
DynamicNode
Velocity() Point
UpdatePosition(Point)
}
// World represents world base struct.
// It used to create and manipulate all game objects.
type World struct {
backgroundNode StaticNode
nodes []StaticNode
dynamicNodes []DynamicNode
movableNodes []MovableNode
lastUpdateTime time.Time
}
// NewWorld creates new World instance.
func NewWorld() *World {
return &World{}
}
// SetBackground sets static background image.
func (w *World) SetBackground(node StaticNode) {
w.backgroundNode = node
}
// AddStaticNode adds a static node to the World.
func (w *World) AddStaticNode(node StaticNode) {
nodeBounds := node.Bounds()
i := w.searchInsertNodePosition(nodeBounds)
if i == len(w.nodes) {
w.nodes = append(w.nodes, node)
} else {
w.nodes = append(w.nodes, nil)
copy(w.nodes[i+1:], w.nodes[i:])
w.nodes[i] = node
}
}
// AddDynamicNode adds a dynamic node to the World.
func (w *World) AddDynamicNode(node DynamicNode) {
w.AddStaticNode(node)
w.dynamicNodes = append(w.dynamicNodes, node)
}
// AddMovableNode adds a movable node to the World.
func (w *World) AddMovableNode(node MovableNode) {
w.AddDynamicNode(node)
w.movableNodes = append(w.movableNodes, node)
}
// Draw draws the World and all visible nodes on screen.
func (w *World) Draw() {
if w.backgroundNode != nil {
w.backgroundNode.Draw()
}
for _, node := range w.nodes {
node.Draw()
}
}
// Update updates the World and all visible nodes on screen.
func (w *World) Update() {
var delta time.Duration
if !w.lastUpdateTime.IsZero() {
delta = timex.Since(w.lastUpdateTime)
}
w.lastUpdateTime = timex.Now()
for _, node := range w.dynamicNodes {
node.Update(delta)
}
for _, node := range w.movableNodes {
v := node.Velocity()
if v.X == 0 && v.Y == 0 {
continue
}
oldIndex := w.searchInsertNodePosition(node.Bounds()) - 1
newBounds := node.Bounds().Add(v)
newIndex := w.searchInsertNodePosition(newBounds)
node.UpdatePosition(node.Bounds().Min.Add(v))
if oldIndex == newIndex || oldIndex+1 == newIndex {
continue
}
if oldIndex < newIndex {
copy(w.nodes[oldIndex:newIndex-1], w.nodes[oldIndex+1:newIndex])
w.nodes[newIndex-1] = node
} else {
copy(w.nodes[newIndex+1:oldIndex+1], w.nodes[newIndex:oldIndex])
w.nodes[newIndex] = node
}
}
}
func (w *World) searchInsertNodePosition(nodeBounds Rectangle) int {
return sort.Search(len(w.nodes), func(i int) bool {
return (nodeBounds.Max.Y < w.nodes[i].Bounds().Max.Y) ||
(nodeBounds.Max.Y == w.nodes[i].Bounds().Max.Y && nodeBounds.Max.X < w.nodes[i].Bounds().Max.X)
})
} | world.go | 0.688049 | 0.51562 | world.go | starcoder |
package nn
import (
"bytes"
mat "github.com/nlpodyssey/spago/pkg/mat32"
"github.com/nlpodyssey/spago/pkg/ml/ag"
"github.com/nlpodyssey/spago/pkg/utils/kvdb"
"log"
"sync"
)
// Param is the interface for a Model parameter.
type Param interface {
ag.Node // it implies fn.Operand and ag.GradValue too
// Name returns the params name (can be empty string).
Name() string
// SetName set the params name (can be empty string).
SetName(name string)
// Type returns the params type (weights, biases, undefined).
Type() ParamsType
// SetType set the params type (weights, biases, undefined).
SetType(pType ParamsType)
// SetRequiresGrad set whether the param requires gradient, or not.
SetRequiresGrad(value bool)
// ReplaceValue replaces the value of the parameter and clears the support structure.
ReplaceValue(value mat.Matrix)
// ApplyDelta updates the value of the underlying storage applying the delta.
ApplyDelta(delta mat.Matrix)
// Payload returns the optimizer support structure (can be nil).
Payload() *Payload
// SetPayload is a thread safe operation to set the given Payload on the
// receiver Param.
SetPayload(payload *Payload)
// ClearPayload clears the support structure.
ClearPayload()
}
// Params extends a slice of Param with Nodes() method.
type Params []Param
// Nodes converts the slice of Param into a slice of ag.Node.
func (ps Params) Nodes() []ag.Node {
ns := make([]ag.Node, len(ps))
for i, p := range ps {
ns[i] = p
}
return ns
}
var _ Param = ¶m{}
type param struct {
name string
pType ParamsType // lazy initialization
mu sync.Mutex // to avoid data race
value mat.Matrix // store the results of a forward evaluation.
grad mat.Matrix // TODO: support of sparse gradients
payload *Payload // additional data used for example by gradient-descend optimization methods
hasGrad bool
requiresGrad bool
storage *kvdb.KeyValueDB // default nil
}
// ParamOption allows to configure a new Param with your specific needs.
type ParamOption func(*param)
// RequiresGrad is an option to specify whether a Param should be trained or not.
func RequiresGrad(value bool) ParamOption {
return func(p *param) {
p.requiresGrad = value
}
}
// SetStorage is an option to specify a kvdb.KeyValueDB storage.
// This is useful, for example, for a memory-efficient embeddings
// Param implementation.
func SetStorage(storage *kvdb.KeyValueDB) ParamOption {
return func(p *param) {
p.storage = storage
}
}
// NewParam returns a new param.
func NewParam(value mat.Matrix, opts ...ParamOption) Param {
p := ¶m{
name: "", // lazy initialization
pType: Undefined, // lazy initialization
value: value,
grad: nil, // lazy initialization
hasGrad: false,
requiresGrad: true, // true by default, can be modified with the options
payload: nil, // lazy initialization
storage: nil,
}
for _, opt := range opts {
opt(p)
}
return p
}
// SetName set the params name (can be empty string).
func (r *param) SetName(name string) {
r.name = name
}
// SetType set the params type (weights, biases, undefined).
func (r *param) SetType(pType ParamsType) {
r.pType = pType
}
// Name returns the params name (can be empty string).
func (r *param) Name() string {
return r.name
}
// Type returns the params type (weights, biases, undefined).
func (r *param) Type() ParamsType {
return r.pType
}
// Value returns the value of the delegate itself.
func (r *param) Value() mat.Matrix {
return r.value
}
// ReplaceValue replaces the value of the parameter and clears the support structure.
func (r *param) ReplaceValue(value mat.Matrix) {
r.mu.Lock()
defer r.mu.Unlock()
r.value = value
r.payload = nil
if r.storage != nil {
r.updateStorage()
}
}
// ScalarValue returns the the scalar value of the node.
// It panics if the value is not a scalar.
// Note that it is not possible to start the backward step from a scalar value.
func (r *param) ScalarValue() mat.Float {
return r.value.Scalar()
}
// Grad returns the gradients accumulated during the backward pass.
func (r *param) Grad() mat.Matrix {
return r.grad
}
// PropagateGrad accumulate the gradients
func (r *param) PropagateGrad(grad mat.Matrix) {
if !r.requiresGrad {
return
}
r.mu.Lock()
defer r.mu.Unlock()
if r.grad == nil {
r.grad = mat.GetEmptyDenseWorkspace(r.value.Dims()) // this could reduce the number of allocations
}
r.grad.AddInPlace(grad)
r.hasGrad = true
}
// HasGrad returns true if there are accumulated gradients.
func (r *param) HasGrad() bool {
return r.hasGrad
}
// RequiresGrad returns true if the param requires gradients.
func (r *param) RequiresGrad() bool {
return r.requiresGrad
}
// RequiresGrad is an option to specify whether a Param should be trained or not.
func (r *param) SetRequiresGrad(value bool) {
r.requiresGrad = value
}
// ZeroGrad clears the gradients.
func (r *param) ZeroGrad() {
if r.grad == nil {
return
}
r.mu.Lock()
defer r.mu.Unlock()
defer mat.ReleaseMatrix(r.grad) // release memory
r.grad = nil
r.hasGrad = false
}
// ApplyDelta updates the value of the underlying storage applying the delta.
func (r *param) ApplyDelta(delta mat.Matrix) {
r.mu.Lock()
defer r.mu.Unlock()
r.Value().SubInPlace(delta)
if r.storage != nil {
r.updateStorage()
}
}
// Payload returns the optimizer support structure (can be nil).
func (r *param) Payload() *Payload {
r.mu.Lock()
defer r.mu.Unlock()
return r.payload
}
// SetPayload is a thread safe operation to set the given Payload on the
// receiver Param.
func (r *param) SetPayload(payload *Payload) {
r.mu.Lock()
defer r.mu.Unlock()
r.payload = payload
if r.storage != nil {
r.updateStorage()
}
}
// ClearPayload clears the support structure.
func (r *param) ClearPayload() {
r.mu.Lock()
defer r.mu.Unlock()
r.payload = nil
if r.storage != nil {
r.updateStorage()
}
}
func (r *param) updateStorage() {
if r.storage == nil {
return
}
buf := new(bytes.Buffer)
err := MarshalBinaryParam(r, buf)
if err != nil {
log.Fatal(err)
}
err = r.storage.Put([]byte(r.name), buf.Bytes())
if err != nil {
log.Fatal(err)
}
}
// Graph returns always nil since the "pure" parameter is not associated with any graph.
func (r *param) Graph() *ag.Graph {
return nil
}
// ID returns always -1 since the "pure" parameter is not associated with any graph.
func (r *param) ID() int {
return -1
}
// TimeStep returns always 0 since the "pure" parameter is not associated with any graph.
func (r *param) TimeStep() int {
return 0
}
// wrappedParam returns a new wrappedParam from the param itself.
func (r *param) wrappedParam(g *ag.Graph) *wrappedParam {
if r.requiresGrad {
return &wrappedParam{param: r, Node: g.NewWrap(r)}
}
return &wrappedParam{param: r, Node: g.NewWrapNoGrad(r)}
}
var _ Param = &wrappedParam{}
// wrappedParam enriches a Param with a Node.
type wrappedParam struct {
*param
Node ag.Node
}
// ID dispatches the call to the Node.
func (r *wrappedParam) ID() int {
return r.Node.ID()
}
// Graph dispatches the call to the Node.
func (r *wrappedParam) Graph() *ag.Graph {
return r.Node.Graph()
}
// Grad dispatches the call to the Node.
func (r *wrappedParam) Grad() mat.Matrix {
return r.Node.Grad()
}
// PropagateGrad dispatches the call to the Node.
func (r *wrappedParam) PropagateGrad(gx mat.Matrix) {
r.Node.PropagateGrad(gx)
}
// HasGrad dispatches the call to the Node.
func (r *wrappedParam) HasGrad() bool {
return r.Node.HasGrad()
}
// RequiresGrad dispatches the call to the Node.
func (r *wrappedParam) RequiresGrad() bool {
return r.Node.RequiresGrad()
}
// ZeroGrad dispatches the call to the Node.
func (r *wrappedParam) ZeroGrad() {
r.Node.ZeroGrad()
} | pkg/ml/nn/param.go | 0.715623 | 0.414129 | param.go | starcoder |
package kata
/**
link: https://www.codewars.com/kata/58c5577d61aefcf3ff000081
*/
/** SITUATION:
Create two functions to encode and then decode a string using the Rail Fence Cipher. This cipher is
used to encode a string by placing each character successively in a diagonal along a set of "rails".
First start off moving diagonally and down. When you reach the bottom, reverse direction and move
diagonally and up until you reach the top rail. Continue until you reach the end of the string. Each
"rail" is then read left to right to derive the encoded string.
For example, the string "WEAREDISCOVEREDFLEEATONCE" could be represented in a three rail system as follows:
W E C R L T E
E R D S O E E F E A O C
A I V D E N
The encoded string would be:
WECRLTEERDSOEEFEAOCAIVDEN
Write a function/method that takes 2 arguments, a string and the number of rails, and returns the ENCODED string.
Write a second function/method that takes 2 arguments, an encoded string and the number of rails, and returns the
DECODED string.
For both encoding and decoding, assume number of rails >= 2 and that passing an empty string will return an empty string.
Note that the example above excludes the punctuation and spaces just for simplicity. There are, however, tests that
include punctuation. Don't filter out punctuation as they are a part of the string.
*/
import "strings"
func Encode(s string, n int) string {
text := make([]string, len(s))
for start, end := range cipher(len(s), n) {
text[start] = string(s[end])
}
return strings.Join(text, "")
}
func Decode(s string, n int) string {
text := make([]string, len(s))
for start, end := range cipher(len(s), n) {
text[end] = string(s[start])
}
return strings.Join(text, "")
}
func cipher(itms int, n int) []int {
var rails [][]int
rail, dRail := 0, 1
for i := 0; i < itms; i++ {
if rail <= n {
rails = append(rails, []int{})
}
rails[rail] = append(rails[rail], i)
if (rail+dRail) < 0 || n <= (rail+dRail) {
dRail *= -1
}
rail += dRail
}
result := []int{}
for _, slice := range rails {
result = append(result, slice...)
}
return result
} | golang/3kyu/rail_fence_cipher_encoding.go | 0.860999 | 0.720368 | rail_fence_cipher_encoding.go | starcoder |
package Movie
import (
flatbuffers "github.com/google/flatbuffers/go"
)
// MovieT native go object
type MovieT struct {
Single *CharacterT
Multiple []*CharacterT
}
// MovieT object pack function
func (t *MovieT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
if t == nil {
return 0
}
singleOffset := t.Single.Pack(builder)
// vector of unions
multipleOffset := flatbuffers.UOffsetT(0)
multipleTypeOffset := flatbuffers.UOffsetT(0)
if t.Multiple != nil {
multipleLength := len(t.Multiple)
MovieStartMultipleTypeVector(builder, multipleLength)
for j := multipleLength - 1; j >= 0; j-- {
builder.PrependByte(byte(t.Multiple[j].Type))
}
multipleTypeOffset = MovieEndMultipleTypeVector(builder, multipleLength)
// vector array
multipleOffsets := make([]flatbuffers.UOffsetT, multipleLength)
for j := multipleLength - 1; j >= 0; j-- {
multipleOffsets[j] = t.Multiple[j].Pack(builder)
}
MovieStartMultipleVector(builder, multipleLength)
for j := multipleLength - 1; j >= 0; j-- {
builder.PrependUOffsetT(multipleOffsets[j])
}
multipleOffset = MovieEndMultipleVector(builder, multipleLength)
}
MovieStart(builder)
if t.Single != nil {
MovieAddSingleType(builder, t.Single.Type)
}
MovieAddSingle(builder, singleOffset)
MovieAddMultipleType(builder, multipleTypeOffset)
MovieAddMultiple(builder, multipleOffset)
return MovieEnd(builder)
}
// MovieT object unpack function
func (rcv *Movie) UnPackTo(t *MovieT) {
singleTable := flatbuffers.Table{}
if rcv.Single(&singleTable) {
t.Single = rcv.SingleType().UnPack(singleTable)
}
multipleLength := rcv.MultipleLength()
t.Multiple = make([]*CharacterT, multipleLength)
for j := 0; j < multipleLength; j++ {
MultipleType := rcv.MultipleType(j)
MultipleTable := flatbuffers.Table{}
if rcv.Multiple(j, &MultipleTable) {
t.Multiple[j] = MultipleType.UnPackVector(MultipleTable)
}
}
}
func (rcv *Movie) UnPack() *MovieT {
if rcv == nil {
return nil
}
t := &MovieT{}
rcv.UnPackTo(t)
return t
}
type Movie struct {
_tab flatbuffers.Table
}
// GetRootAsMovie shortcut to access root table
func GetRootAsMovie(buf []byte, offset flatbuffers.UOffsetT) *Movie {
n := flatbuffers.GetUOffsetT(buf[offset:])
x := &Movie{}
x.Init(buf, n+offset)
return x
}
// GetTableVectorAsMovie shortcut to access table in vector of unions
func GetTableVectorAsMovie(table *flatbuffers.Table) *Movie {
n := flatbuffers.GetUOffsetT(table.Bytes[table.Pos:])
x := &Movie{}
x.Init(table.Bytes, n+table.Pos)
return x
}
// GetTableAsMovie shortcut to access table in single union field
func GetTableAsMovie(table *flatbuffers.Table) *Movie {
x := &Movie{}
x.Init(table.Bytes, table.Pos)
return x
}
func (rcv *Movie) Init(buf []byte, i flatbuffers.UOffsetT) {
rcv._tab.Bytes = buf
rcv._tab.Pos = i
}
func (rcv *Movie) Table() flatbuffers.Table {
return rcv._tab
}
func (rcv *Movie) SingleType() Character {
o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
if o != 0 {
return Character(rcv._tab.GetByte(o + rcv._tab.Pos))
}
return 0
}
func (rcv *Movie) MutateSingleType(n Character) bool {
return rcv._tab.MutateByteSlot(4, byte(n))
}
func (rcv *Movie) Single(obj *flatbuffers.Table) bool {
o := flatbuffers.UOffsetT(rcv._tab.Offset(6))
if o != 0 {
rcv._tab.Union(obj, o)
return true
}
return false
}
func (rcv *Movie) MultipleTypeLength() int {
o := flatbuffers.UOffsetT(rcv._tab.Offset(8))
if o != 0 {
return rcv._tab.VectorLen(o)
}
return 0
}
func (rcv *Movie) MultipleType(j int) Character {
o := flatbuffers.UOffsetT(rcv._tab.Offset(8))
if o != 0 {
a := rcv._tab.Vector(o)
return Character(rcv._tab.GetByte(a + flatbuffers.UOffsetT(j*1)))
}
return 0
}
func (rcv *Movie) MutateMultipleType(j int, n Character) bool {
o := flatbuffers.UOffsetT(rcv._tab.Offset(8))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.MutateByte(a+flatbuffers.UOffsetT(j*1), byte(n))
}
return false
}
func (rcv *Movie) MultipleLength() int {
o := flatbuffers.UOffsetT(rcv._tab.Offset(10))
if o != 0 {
return rcv._tab.VectorLen(o)
}
return 0
}
func (rcv *Movie) Multiple(j int, obj *flatbuffers.Table) bool {
o := flatbuffers.UOffsetT(rcv._tab.Offset(10))
if o != 0 {
a := rcv._tab.Vector(o)
obj.Pos = a + flatbuffers.UOffsetT(j*4)
obj.Bytes = rcv._tab.Bytes
return true
}
return false
}
func MovieStart(builder *flatbuffers.Builder) {
builder.StartObject(4)
}
func MovieAddSingleType(builder *flatbuffers.Builder, singleType Character) {
builder.PrependByteSlot(0, byte(singleType), 0)
}
func MovieAddSingle(builder *flatbuffers.Builder, single flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(1, flatbuffers.UOffsetT(single), 0)
}
func MovieStartMultipleTypeVector(builder *flatbuffers.Builder, numElems int) {
builder.StartVector(1, numElems, 1)
}
func MovieEndMultipleTypeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
return builder.EndVector(numElems)
}
func MovieAddMultipleType(builder *flatbuffers.Builder, multipleType flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(2, flatbuffers.UOffsetT(multipleType), 0)
}
func MovieStartMultipleVector(builder *flatbuffers.Builder, numElems int) {
builder.StartVector(4, numElems, 4)
}
func MovieEndMultipleVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
return builder.EndVector(numElems)
}
func MovieAddMultiple(builder *flatbuffers.Builder, multiple flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(3, flatbuffers.UOffsetT(multiple), 0)
}
func MovieEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
return builder.EndObject()
} | union-vector/Movie/Movie.go | 0.739234 | 0.429788 | Movie.go | starcoder |
package sumcheck
import (
"fmt"
"gkr-mimc/snark/hash"
"gkr-mimc/snark/polynomial"
"gkr-mimc/sumcheck"
"github.com/consensys/gnark/frontend"
)
// Proof contains the circuit data of a sumcheck run EXCEPT WHAT IS REQUIRED FOR THE FINAL CHECK.
type Proof struct {
// bN int
// bG int
// InitialClaim frontend.Variable
HPolys []polynomial.Univariate
}
// AllocateProof allocates an empty sumcheck verifier
func AllocateProof(bN, bG, degHL, degHR, degHPrime int) Proof {
hPolys := make([]polynomial.Univariate, bN+2*bG)
for i := 0; i < bG; i++ {
hPolys[i] = polynomial.AllocateUnivariate(degHL)
}
for i := bG; i < 2*bG; i++ {
hPolys[i] = polynomial.AllocateUnivariate(degHR)
}
for i := 2 * bG; i < 2*bG+bN; i++ {
hPolys[i] = polynomial.AllocateUnivariate(degHPrime)
}
return Proof{
HPolys: hPolys,
}
}
// Assign values for the sumcheck verifier
func (p *Proof) Assign(proof sumcheck.Proof) {
if len(proof.PolyCoeffs) != len(p.HPolys) {
panic(
fmt.Sprintf("Inconsistent assignment lenght: expected %v, but got %v", len(p.HPolys), len(proof.PolyCoeffs)),
)
}
for i, poly := range proof.PolyCoeffs {
p.HPolys[i].Assign(poly)
}
}
// AssertValid verifies a sumcheck instance EXCEPT FOR THE FINAL VERIFICATION.
func (p *Proof) AssertValid(cs *frontend.ConstraintSystem, initialClaim frontend.Variable, bG int) (
hL, hR, hPrime []frontend.Variable,
lastClaim frontend.Variable,
) {
// initialize current claim:
claimCurr := initialClaim
hs := make([]frontend.Variable, len(p.HPolys))
for i, poly := range p.HPolys {
zeroAndOne := poly.ZeroAndOne(cs)
cs.AssertIsEqual(zeroAndOne, claimCurr)
hs[i] = hash.MimcHash(cs, poly.Coefficients...) // Hash the polynomial
claimCurr = poly.Eval(cs, hs[i]) // Get new current claim
}
// A deep-copy to avoid reusing the same underlying slice for all writes
hL = append([]frontend.Variable{}, hs[:bG]...)
hR = append([]frontend.Variable{}, hs[bG:2*bG]...)
hPrime = append([]frontend.Variable{}, hs[2*bG:]...)
return hL, hR, hPrime, claimCurr
} | snark/sumcheck/sumcheck.go | 0.651466 | 0.407952 | sumcheck.go | starcoder |
package la
import (
"fmt"
"strings"
"github.com/xoba/goutil/gmath/blas"
)
// vector
type Vector struct {
Size int
Stride int
Elements []float64
}
func NewVector(m int) *Vector {
return &Vector{Size: m, Stride: 1, Elements: make([]float64, m)}
}
func (m *Vector) Set(i int, v float64) {
m.Elements[i*m.Stride] = v
}
func (m *Vector) Get(i int) float64 {
return m.Elements[i*m.Stride]
}
func (m *Vector) AsColumnVector() *Matrix {
return &Matrix{
Rows: m.Size,
Cols: 1,
ColumnStride: m.Size,
Elements: m.Elements,
}
}
// a column-major matrix
type Matrix struct {
Rows, Cols int
ColumnStride int // increment index by this, to move to next column in same row
Elements []float64
}
func NewMatrix(m, n int) *Matrix {
return &Matrix{Rows: m, Cols: n, ColumnStride: m, Elements: make([]float64, m*n)}
}
func NewMatrixWithElements(m, n int, elements []float64) *Matrix {
return &Matrix{Rows: m, Cols: n, ColumnStride: m, Elements: elements}
}
func (m *Matrix) Copy() *Matrix {
c := make([]float64, len(m.Elements))
if n := copy(c, m.Elements); n != len(m.Elements) {
panic("can't copy")
}
return NewMatrixWithElements(m.Rows, m.Cols, c)
}
func (m *Matrix) Index(i, j int) int {
return j*m.ColumnStride + i
}
func (m *Matrix) Set(i, j int, v float64) {
m.Elements[m.Index(i, j)] = v
}
func (m *Matrix) Inc(i, j int, v float64) {
m.Elements[m.Index(i, j)] += v
}
func (m *Matrix) Get(i, j int) float64 {
return m.Elements[m.Index(i, j)]
}
func (m *Matrix) String() string {
var out []string
out = append(out, fmt.Sprintf("%d x %d float64 matrix", m.Rows, m.Cols))
if m.Rows*m.Cols < 2000 {
out = append(out, ":")
out = append(out, "\n")
out = append(out, "\t[")
for i := 0; i < m.Rows; i++ {
if i > 0 {
out = append(out, " ")
}
out = append(out, "[")
var row []string
for j := 0; j < m.Cols; j++ {
v := m.Elements[m.Index(i, j)]
row = append(row, fmt.Sprintf("%9.2e", v))
}
out = append(out, strings.Join(row, ", "))
out = append(out, "]")
if i < m.Rows-1 {
out = append(out, "\n\t")
}
}
out = append(out, "]")
}
return strings.Join(out, "")
}
func Multiply(m ...*Matrix) *Matrix {
switch len(m) {
case 0:
return nil
case 1:
return m[0]
default:
var left = m[0]
for i := 1; i < len(m); i++ {
left = MultiplyPair(left, m[i])
}
return left
}
}
func MultiplyPair(a, b *Matrix) *Matrix {
c := NewMatrix(a.Rows, b.Cols)
blas.Dgemm("N", "N", a.Rows, b.Cols, a.Cols, 1.0, a.Elements, a.ColumnStride, b.Elements, b.ColumnStride, 0.0, c.Elements, c.ColumnStride)
return c
} | gmath/la/mat.go | 0.695958 | 0.536616 | mat.go | starcoder |
package quad
import (
"math"
)
// Implements Integral
type simpsonIntegral trapezoidalIntegral
// Create a new Integral, based on Simpson's rule.
// This will evaluate the integral concurrently.
// The argument specifies how many workers will be used
// to evaluate the function. Passing workers < 1 is
// the same as passing workers = 1.
// If more than one worker is used, integrand functions
// must be thread safe.
func NewSimpsonIntegral(workers int) Integral {
if workers < 1 {
workers = 1
}
return &simpsonIntegral{
accuracy: defaultAccuracy,
steps: defaultMaxStep,
workers: workers,
}
}
// Accuracy implements Integral
func (simp *simpsonIntegral) Accuracy(acc *float64) float64 {
return (*trapezoidalIntegral)(simp).Accuracy(acc)
}
// Steps implements Integral. Note that at least 3 steps
// are always evaluated, no matter what is set here.
func (simp *simpsonIntegral) Steps(stp *int) int {
return (*trapezoidalIntegral)(simp).Steps(stp)
}
// Function implements Integral
func (simp *simpsonIntegral) Function(fn func(float64) float64) error {
return (*trapezoidalIntegral)(simp).Function(fn)
}
func (simp *simpsonIntegral) Stats() *Stats {
return simp.stats
}
// Integrate implements Integral
func (simp *simpsonIntegral) Integrate(a, b float64) (float64, error) {
// We don't want people messing with the function / accuracy while we are
// working hard for them!
simp.lock.RLock()
defer simp.lock.RUnlock()
if simp.steps < 3 && simp.steps >= 0 {
simp.stats = &Stats{0, 0, ErrorMinSteps}
return 0, ErrorMinSteps
}
out := make(chan float64)
next := make(chan bool)
defer close(next)
go trap_stepper(simp.workers, simp.function, a, b, out, next)
steps := 3
prevTrap := <-out
next <- true
trap := <-out
integral := trap*4/3 - prevTrap/3
var prevInt float64
var n int
for n = 2; steps+n < simp.steps || simp.steps < 0; n *= 2 {
steps += n
prevInt = integral
prevTrap = trap
next <- true // Request next step
trap = <-out
integral = trap*4/3 - prevTrap/3
// Check for convergence, after the first trapezoidal 5 steps
if n > 1<<5 && math.Abs(integral-prevInt) < simp.accuracy {
break
}
}
// Record statistics
simp.stats = &Stats{steps, math.Abs(integral - prevInt), nil}
if n <= 1<<5 {
// We are not confident in the result, unless we take 5 refining steps
// This number is based on experience and comes from Numerical Recipes
simp.stats.Error = ErrorInsufficientSteps
} else if simp.stats.Accuracy > simp.accuracy {
simp.stats.Error = ErrorConverge
}
return integral, simp.stats.Error
} | pkg/quad/simp.go | 0.790288 | 0.537284 | simp.go | starcoder |
package asm
import (
"assert"
"backends/lapc/ir"
"dt"
)
type yUnit *ir.Instr
type converterY struct {
st *dt.DataStack
labels map[int32]labelInfo
gotos []branchInfo
lambdaRets []branchInfo
scopes *dt.ScopeStack
lambdaDepths *dt.ScopeStack
}
type branchInfo struct {
ins *ir.Instr
depth int
}
type labelInfo struct {
depth int
}
func makeY(params []string, u xUnit) (yUnit, int) {
conv := converterY{
st: dt.NewDataStack(params),
scopes: &dt.ScopeStack{},
lambdaDepths: &dt.ScopeStack{},
labels: make(map[int32]labelInfo),
}
return conv.Convert(u)
}
func (cy *converterY) Convert(u xUnit) (yUnit, int) {
cy.convert(u)
cy.fixBranches()
return yUnit(u), cy.st.MaxLen()
}
func (cy *converterY) convert(u xUnit) {
for ins := u; ins != nil; ins = ins.Next {
cy.convertInstr(ins)
cy.simulateInstr(ins)
}
}
func (cy *converterY) convertInstr(ins *ir.Instr) {
switch ins.Kind {
case ir.XscopeEnter:
cy.scopes.PushScope()
cy.scopes.SetScopeDepth(cy.st.Len())
ins.Remove()
case ir.XscopeLeave:
depth := cy.scopes.PopScope()
scopeSize := cy.st.Len() - depth
ins.Kind, ins.Data = ir.Discard, int32(scopeSize)
case ir.XlambdaEnter:
cy.lambdaDepths.PushScope()
cy.lambdaDepths.SetScopeDepth(cy.st.Len())
ins.Remove()
case ir.XlambdaRetLabel:
depth := cy.lambdaDepths.PopScope()
cy.labels[ins.Data] = labelInfo{depth: depth}
ins.Kind = ir.Label
cy.st.Discard(uint16(cy.st.Len() - depth - 1))
case ir.XlambdaRet:
info := branchInfo{ins: ins, depth: cy.st.Len()}
cy.lambdaRets = append(cy.lambdaRets, info)
ins.Kind = ir.Jmp
case ir.Xgoto:
info := branchInfo{ins: ins, depth: cy.st.Len()}
cy.gotos = append(cy.gotos, info)
ins.Kind = ir.Jmp
case ir.XlocalRef:
stIndex := cy.st.Lookup(ins.Meta)
ins.Kind, ins.Data = ir.StackRef, int32(stIndex)
case ir.XlocalSet:
stIndex := cy.st.Lookup(ins.Meta)
ins.Kind, ins.Data = ir.StackSet, int32(stIndex)
case ir.XvarRef:
cy.st.Push()
cy.st.Bind(ins.Meta)
case ir.XvarSet:
cy.st.Discard(1)
case ir.Xbind:
cy.st.Bind(ins.Meta)
ins.Remove()
case ir.Label:
cy.labels[ins.Data] = labelInfo{depth: cy.st.Len()}
}
}
func (cy *converterY) fixBranches() {
for _, br := range cy.gotos {
label := cy.labels[br.ins.Data]
assert.True(br.depth >= label.depth)
if br.depth == label.depth {
continue
}
br.ins.InsertPrev(&ir.Instr{
Kind: ir.Discard,
Data: int32(br.depth - label.depth),
})
}
for _, br := range cy.lambdaRets {
label := cy.labels[br.ins.Data]
diff := int32(br.depth - label.depth)
assert.True(diff > 0)
switch diff {
case 1:
// Do nothing
case 2:
br.ins.InsertPrev(&ir.Instr{Kind: ir.StackSet, Data: diff - 1})
default:
br.ins.InsertLeft([]*ir.Instr{
&ir.Instr{Kind: ir.StackSet, Data: diff - 1},
&ir.Instr{Kind: ir.Discard, Data: diff - 2},
})
}
}
}
func (cy *converterY) simulateInstr(ins *ir.Instr) {
st := cy.st
enc := ir.EncodingOf(ins.Kind)
switch enc.Input {
case ir.AttrTakeNothing:
// Do nothing
case ir.AttrTake1:
st.Discard(1)
case ir.AttrTake2:
st.Discard(2)
case ir.AttrTake3:
st.Discard(3)
case ir.AttrTakeN:
st.Discard(uint16(ins.Data))
case ir.AttrTakeNplus1:
st.Discard(uint16(ins.Data + 1))
case ir.AttrReplaceNth:
st.Replace(uint16(ins.Data))
}
switch enc.Output {
case ir.AttrPushNothing:
// Do nothing
case ir.AttrDupNth:
st.Dup(uint16(ins.Data))
case ir.AttrPushTmp:
st.Push()
case ir.AttrPushConst:
st.PushConst(uint16(ins.Data))
case ir.AttrPushAndDiscard:
st.Push()
ins.InsertNext(&ir.Instr{Kind: ir.Discard, Data: 1})
}
} | src/backends/lapc/asm/y_make.go | 0.541894 | 0.425009 | y_make.go | starcoder |
package fp
func (l BoolList) Cons(e bool) BoolList { return BoolList { &e, &l } }
func (l StringList) Cons(e string) StringList { return StringList { &e, &l } }
func (l IntList) Cons(e int) IntList { return IntList { &e, &l } }
func (l Int64List) Cons(e int64) Int64List { return Int64List { &e, &l } }
func (l ByteList) Cons(e byte) ByteList { return ByteList { &e, &l } }
func (l RuneList) Cons(e rune) RuneList { return RuneList { &e, &l } }
func (l Float32List) Cons(e float32) Float32List { return Float32List { &e, &l } }
func (l Float64List) Cons(e float64) Float64List { return Float64List { &e, &l } }
func (l AnyList) Cons(e Any) AnyList { return AnyList { &e, &l } }
func (l Tuple2List) Cons(e Tuple2) Tuple2List { return Tuple2List { &e, &l } }
func (l BoolArrayList) Cons(e []bool) BoolArrayList { return BoolArrayList { &e, &l } }
func (l StringArrayList) Cons(e []string) StringArrayList { return StringArrayList { &e, &l } }
func (l IntArrayList) Cons(e []int) IntArrayList { return IntArrayList { &e, &l } }
func (l Int64ArrayList) Cons(e []int64) Int64ArrayList { return Int64ArrayList { &e, &l } }
func (l ByteArrayList) Cons(e []byte) ByteArrayList { return ByteArrayList { &e, &l } }
func (l RuneArrayList) Cons(e []rune) RuneArrayList { return RuneArrayList { &e, &l } }
func (l Float32ArrayList) Cons(e []float32) Float32ArrayList { return Float32ArrayList { &e, &l } }
func (l Float64ArrayList) Cons(e []float64) Float64ArrayList { return Float64ArrayList { &e, &l } }
func (l AnyArrayList) Cons(e []Any) AnyArrayList { return AnyArrayList { &e, &l } }
func (l Tuple2ArrayList) Cons(e []Tuple2) Tuple2ArrayList { return Tuple2ArrayList { &e, &l } }
func (l BoolOptionList) Cons(e BoolOption) BoolOptionList { return BoolOptionList { &e, &l } }
func (l StringOptionList) Cons(e StringOption) StringOptionList { return StringOptionList { &e, &l } }
func (l IntOptionList) Cons(e IntOption) IntOptionList { return IntOptionList { &e, &l } }
func (l Int64OptionList) Cons(e Int64Option) Int64OptionList { return Int64OptionList { &e, &l } }
func (l ByteOptionList) Cons(e ByteOption) ByteOptionList { return ByteOptionList { &e, &l } }
func (l RuneOptionList) Cons(e RuneOption) RuneOptionList { return RuneOptionList { &e, &l } }
func (l Float32OptionList) Cons(e Float32Option) Float32OptionList { return Float32OptionList { &e, &l } }
func (l Float64OptionList) Cons(e Float64Option) Float64OptionList { return Float64OptionList { &e, &l } }
func (l AnyOptionList) Cons(e AnyOption) AnyOptionList { return AnyOptionList { &e, &l } }
func (l Tuple2OptionList) Cons(e Tuple2Option) Tuple2OptionList { return Tuple2OptionList { &e, &l } }
func (l BoolListList) Cons(e BoolList) BoolListList { return BoolListList { &e, &l } }
func (l StringListList) Cons(e StringList) StringListList { return StringListList { &e, &l } }
func (l IntListList) Cons(e IntList) IntListList { return IntListList { &e, &l } }
func (l Int64ListList) Cons(e Int64List) Int64ListList { return Int64ListList { &e, &l } }
func (l ByteListList) Cons(e ByteList) ByteListList { return ByteListList { &e, &l } }
func (l RuneListList) Cons(e RuneList) RuneListList { return RuneListList { &e, &l } }
func (l Float32ListList) Cons(e Float32List) Float32ListList { return Float32ListList { &e, &l } }
func (l Float64ListList) Cons(e Float64List) Float64ListList { return Float64ListList { &e, &l } }
func (l AnyListList) Cons(e AnyList) AnyListList { return AnyListList { &e, &l } }
func (l Tuple2ListList) Cons(e Tuple2List) Tuple2ListList { return Tuple2ListList { &e, &l } } | fp/bootstrap_list_prepend.go | 0.688783 | 0.656645 | bootstrap_list_prepend.go | starcoder |
package support
import (
"fmt"
"sort"
"github.com/sineatos/deag/base"
)
// HallOfFame contains the best individual that ever lived in the population during the evolution.
// It is lexicographically sorted at all time so that the first element of the hall of fame is the individual that has the best first fitness value ever seen,
// according to the weights provided to the fitness at creation time.
type HallOfFame interface {
// Update the hall of fame with the individuals by replacing the worst individuals in it by the best individuals present in individuals (if they are better).
Update(individuals base.Individuals)
// Insert inserts a new individual in the hall of fame using the function.
Insert(ind base.Individual)
// Remove removes the specified index from the hall of fame.
Remove(index int)
// Clear clears the hall of fame.
Clear()
// Len returns the size of items
Len() int
// Get returns the Individual of index
Get(index int) base.Individual
// Reversed returns a copy of reversed HallOfFame
Reversed() base.Individuals
// String returns string of HallOfFame
String() string
}
// DefaultHallOfFame is a default HallOfFame implement
type DefaultHallOfFame struct {
maxsize int
size int
items base.Individuals // sorted items using Fitness from best to worse
similar func(base.Individual, base.Individual) bool
}
// NewDefaultHallOfFame returns a DefaultHallOfFame setting with maxsize and similar.
// If similar is nil, sets the similar as
// func(x, y base.Individual) bool { x.IsEqual(y) }
func NewDefaultHallOfFame(maxsize int, similar func(base.Individual, base.Individual) bool) *DefaultHallOfFame {
if similar == nil {
similar = func(x, y base.Individual) bool {
return x.IsEqual(y)
}
}
items := make([]base.Individual, maxsize)
return &DefaultHallOfFame{maxsize: maxsize, size: 0, items: items, similar: similar}
}
// Update the hall of fame with the individuals by replacing the worst individuals in it by the best individuals present in individuals (if they are better).
// The size of the hall of fame is kept constant.
func (hof *DefaultHallOfFame) Update(individuals base.Individuals) {
if hof.size == 0 && hof.maxsize != 0 && individuals.Len() > 0 {
hof.Insert(individuals[0])
}
for _, ind := range individuals {
if ind.GetFitness().Greater(hof.items[hof.size-1].GetFitness()) || hof.size < hof.maxsize {
flag := true
for _, hofer := range hof.items {
if hof.similar(ind, hofer) {
flag = false
break
}
}
if flag {
// The individual is unique and strictly better than the worst
if hof.size >= hof.maxsize {
hof.Remove(hof.maxsize)
}
hof.Insert(ind)
}
}
}
}
// Insert inserts a new individual in the hall of fame using the function.
// The inserted individual is inserted on the right side of an equal individual.
// Inserting a new individual in the hall of fame also preserve the hall of fame's order.
// This method does not check for the size of the hall of fame, in a way that inserting a new individual in a full hall of fame will not remove the worst individual to maintain a constant size.
func (hof *DefaultHallOfFame) Insert(ind base.Individual) {
ind = ind.Clone().(base.Individual)
indFitness := ind.GetFitness()
index := sort.Search(hof.size, func(i int) bool {
return hof.items[i].GetFitness().Less(indFitness)
})
if hof.size < hof.maxsize {
hof.size++
}
for i := hof.size - 1; i > index; i-- {
hof.items[i] = hof.items[i-1]
}
hof.items[index] = ind
}
// Remove removes the specified index from the hall of fame.
func (hof *DefaultHallOfFame) Remove(index int) {
if hof.size != 0 {
hof.size--
for i := index; i < hof.size; i++ {
hof.items[i] = hof.items[i+1]
}
}
}
// Clear clears the hall of fame.
func (hof *DefaultHallOfFame) Clear() {
hof.size = 0
}
// Len returns the size of items
func (hof *DefaultHallOfFame) Len() int {
return hof.size
}
// Get returns the Individual of index
func (hof *DefaultHallOfFame) Get(index int) base.Individual {
return hof.items[index]
}
// Reversed returns a copy of reversed HallOfFame
func (hof *DefaultHallOfFame) Reversed() base.Individuals {
ans := make(base.Individuals, hof.size)
for i, j := hof.size-1, 0; i >= 0; i-- {
ans[j] = hof.items[i]
j++
}
return ans
}
// String returns string of HallOfFame
func (hof *DefaultHallOfFame) String() string {
return fmt.Sprintf("%v", hof.items[:hof.size])
} | tools/support/halloffame.go | 0.622345 | 0.545346 | halloffame.go | starcoder |
// Package camera contains common camera types used for rendering 3D scenes.
package camera
import (
"github.com/thommil/tge-g3n/core"
"github.com/thommil/tge-g3n/math32"
)
// ICamera is interface for all camera types.
type ICamera interface {
GetCamera() *Camera
SetAspect(float32)
ViewMatrix(*math32.Matrix4)
ProjMatrix(*math32.Matrix4)
Project(*math32.Vector3) (*math32.Vector3, error)
Unproject(*math32.Vector3) (*math32.Vector3, error)
SetRaycaster(rc *core.Raycaster, x, y float32) error
}
// Camera is the base camera which is normally embedded in other camera types.
type Camera struct {
core.Node // Embedded Node
target math32.Vector3 // Camera target in world coordinates
up math32.Vector3 // Camera Up vector
viewMatrix math32.Matrix4 // Last calculated view matrix
}
// Initialize initializes the base camera.
// Normally used by other camera types which embed this base camera.
func (cam *Camera) Initialize() {
cam.Node.Init()
cam.target.Set(0, 0, 0)
cam.up.Set(0, 1, 0)
cam.SetDirection(0, 0, -1)
}
// LookAt rotates the camera to look at the specified target position.
// This method does not support objects with rotated and/or translated parent(s).
// TODO: maybe move method to Node, or create similar in Node.
func (cam *Camera) LookAt(target *math32.Vector3) {
cam.target = *target
var rotMat math32.Matrix4
pos := cam.Position()
rotMat.LookAt(&pos, &cam.target, &cam.up)
var q math32.Quaternion
q.SetFromRotationMatrix(&rotMat)
cam.SetQuaternionQuat(&q)
}
// GetCamera satisfies the ICamera interface.
func (cam *Camera) GetCamera() *Camera {
return cam
}
// Target get the current target position.
func (cam *Camera) Target() math32.Vector3 {
return cam.target
}
// Up get the current camera up vector.
func (cam *Camera) Up() math32.Vector3 {
return cam.up
}
// SetUp sets the camera up vector.
func (cam *Camera) SetUp(up *math32.Vector3) {
cam.up = *up
cam.LookAt(&cam.target) // TODO Maybe remove and let user call LookAt explicitly
}
// ViewMatrix returns the current view matrix of this camera.
func (cam *Camera) ViewMatrix(m *math32.Matrix4) {
cam.UpdateMatrixWorld()
matrixWorld := cam.MatrixWorld()
err := m.GetInverse(&matrixWorld)
if err != nil {
panic("Camera.ViewMatrix: Couldn't invert matrix")
}
} | camera/camera.go | 0.723114 | 0.585753 | camera.go | starcoder |
package main
import (
"cartog/tile"
"context"
"errors"
"log"
"sync"
)
const (
MAX_ZOOM = 16
MIN_ZOOM = 2
)
type Coord struct {
X float32
Y float32
Z float32
}
type TileGrid struct {
location Coord
tileWidth float32
tileHeight float32
halfTileWidth float32
halfTileHeight float32
cache sync.Map
loading sync.Map
viewWidth float32
viewHeight float32
ViewTileWidth uint32
ViewTileHeight uint32
TilesToLoad chan tile.TileCoord
TilesToExpire chan tile.TileCoord
TilesInFlight chan func()
}
func (c *Coord) Add(a Coord) {
c.X += a.X
c.Y += a.Y
if a.Z < 0 {
c.X /= 2.0
c.Y /= 2.0
c.Z += a.Z
} else if a.Z > 0 {
c.X *= 2.0
c.Y *= 2.0
c.Z += a.Z
}
if c.Z > MAX_ZOOM {
c.Z = MAX_ZOOM
} else if c.Z < MIN_ZOOM {
c.Z = MIN_ZOOM
}
}
func NewTileGrid(origin Coord, tileWidth, tileHeight, viewWidth, viewHeight uint32) (*TileGrid, error) {
if tileWidth == 0 || tileHeight == 0 {
return nil, errors.New("tile width and height must be positive")
}
grid := &TileGrid{
location: origin,
cache: sync.Map{},
loading: sync.Map{},
TilesToLoad: make(chan tile.TileCoord),
TilesToExpire: make(chan tile.TileCoord),
TilesInFlight: make(chan func()),
tileWidth: float32(tileWidth),
tileHeight: float32(tileHeight),
halfTileWidth: float32(tileWidth) / 2.0,
halfTileHeight: float32(tileHeight) / 2.0,
}
grid.Resize(viewWidth, viewHeight)
grid.SetLocation(origin)
return grid, nil
}
func (t *TileGrid) Resize(width, height uint32) {
t.viewWidth = float32(width)
t.viewHeight = float32(height)
t.ViewTileWidth = width / uint32(t.tileWidth)
t.ViewTileHeight = height / uint32(t.tileHeight)
}
func (t *TileGrid) forEachVisibleTile(f func(tile.TileCoord)) {
x1 := t.location.X - t.tileWidth
x2 := t.location.X + t.halfTileWidth + t.viewWidth
y1 := t.location.Y - t.tileHeight
y2 := t.location.Y + t.halfTileHeight + t.viewHeight
for x := x1; x < x2; x += t.tileWidth {
for y := y1; y < y2; y += t.tileHeight {
tX := x / t.tileWidth
tY := y / t.tileHeight
if tX < 0 {
tX = 0.0
}
if tY < 0 {
tY = 0
}
tileCoord := tile.TileCoord{
X: uint32(tX),
Y: uint32(tY),
Z: uint32(t.location.Z),
}
f(tileCoord)
}
}
}
func (t *TileGrid) CancelLoadingTiles() {
// Drain all loading tiles
for {
select {
case l := <-t.TilesToLoad:
log.Printf("De-queued loading tile: %v", l)
t.loading.Delete(l)
t.cache.Delete(l)
case cancel := <-t.TilesInFlight:
log.Printf("Canceling fetch context")
cancel()
default:
goto drained
}
}
drained:
t.loading.Range(func(key interface{}, _ interface{}) bool {
t.loading.Delete(key)
return true
})
}
func (t *TileGrid) Move(delta Coord) {
t.location.Add(delta)
// Cancel any inflight requests before loading a new set of tiles
if delta.Z != 0 {
t.CancelLoadingTiles()
// De/Inc-rement map further to center on center screen
if delta.Z < 0 {
t.location.Add(Coord{
X: -float32(t.ViewTileWidth) / 4.0 * t.tileWidth,
Y: -float32(t.ViewTileHeight) / 4.0 * t.tileHeight,
})
} else {
t.location.Add(Coord{
X: float32(t.ViewTileWidth) / 2.0 * t.tileWidth,
Y: float32(t.ViewTileHeight) / 2.0 * t.tileHeight,
})
}
}
t.SetLocation(t.location)
}
func (t *TileGrid) SetTile(coord tile.TileCoord, tile tile.PngTile) {
t.loading.Delete(coord)
t.cache.Store(coord, tile)
}
func (t *TileGrid) SetLocation(location Coord) {
t.location = location
// ensure all tiles in screen space are loaded / visible
t.forEachVisibleTile(func(tileCoord tile.TileCoord) {
go func() {
_, exists := t.loading.Load(tileCoord)
if exists {
return
}
_, exists = t.cache.Load(tileCoord)
if exists {
return
}
log.Printf("Adding tile to load %v", tileCoord)
t.loading.Store(tileCoord, true)
t.TilesToLoad <- tileCoord
}()
})
}
func (t *TileGrid) GetLocation() *Coord {
return &t.location
}
func (t *TileGrid) Drawable() []*tile.PngTile {
c := uint32(t.viewWidth/t.tileWidth+t.viewHeight/t.tileHeight) + 1
tiles := make([]*tile.PngTile, 0, c)
i := 0
t.forEachVisibleTile(func(tileCoord tile.TileCoord) {
itile, exists := t.cache.Load(tileCoord)
if exists {
pngTile := itile.(tile.PngTile)
tiles = append(tiles, &pngTile)
i++
}
})
return tiles
}
func (t *TileGrid) All() []*tile.PngTile {
tiles := []*tile.PngTile{}
t.cache.Range(func(_, cachedTile interface{}) bool {
pngTile := cachedTile.(tile.PngTile)
tiles = append(tiles, &pngTile)
return true
})
return tiles
}
func (grid *TileGrid) Close() {
log.Printf("grid closing...")
close(grid.TilesToLoad)
close(grid.TilesToExpire)
close(grid.TilesInFlight)
}
func (grid *TileGrid) FetchTile(x uint32, y uint32, z uint32, cancel chan func()) (*tile.PngTile, error) {
log.Printf("fetching tile (%d, %d, %d)", x, y, z)
ctx, cancelCtx := context.WithCancel(context.Background())
go func() {
cancel <- cancelCtx
}()
t, err := tile.Tile(ctx, x, y, z)
if err != nil {
// Cancelled, return empty on both counts
if ctx.Err() == context.Canceled {
return nil, nil
}
return nil, err
}
return t, nil
}
func (grid *TileGrid) ViewSize() (width float32, height float32) {
width = grid.viewWidth
height = grid.viewHeight
return width, height
} | grid.go | 0.536556 | 0.496704 | grid.go | starcoder |
package s2
import "github.com/golang/geo/s1"
// roundAngle returns the value rounded to nearest as an int32.
// This does not match C++ exactly for the case of x.5.
func roundAngle(val s1.Angle) int32 {
if val < 0 {
return int32(val - 0.5)
}
return int32(val + 0.5)
}
// minAngle returns the smallest of the given values.
func minAngle(x s1.Angle, others ...s1.Angle) s1.Angle {
min := x
for _, y := range others {
if y < min {
min = y
}
}
return min
}
// maxAngle returns the largest of the given values.
func maxAngle(x s1.Angle, others ...s1.Angle) s1.Angle {
max := x
for _, y := range others {
if y > max {
max = y
}
}
return max
}
// minChordAngle returns the smallest of the given values.
func minChordAngle(x s1.ChordAngle, others ...s1.ChordAngle) s1.ChordAngle {
min := x
for _, y := range others {
if y < min {
min = y
}
}
return min
}
// maxChordAngle returns the largest of the given values.
func maxChordAngle(x s1.ChordAngle, others ...s1.ChordAngle) s1.ChordAngle {
max := x
for _, y := range others {
if y > max {
max = y
}
}
return max
}
// minFloat64 returns the smallest of the given values.
func minFloat64(x float64, others ...float64) float64 {
min := x
for _, y := range others {
if y < min {
min = y
}
}
return min
}
// maxFloat64 returns the largest of the given values.
func maxFloat64(x float64, others ...float64) float64 {
max := x
for _, y := range others {
if y > max {
max = y
}
}
return max
}
// minInt returns the smallest of the given values.
func minInt(x int, others ...int) int {
min := x
for _, y := range others {
if y < min {
min = y
}
}
return min
}
// maxInt returns the largest of the given values.
func maxInt(x int, others ...int) int {
max := x
for _, y := range others {
if y > max {
max = y
}
}
return max
}
// clampInt returns the number closest to x within the range min..max.
func clampInt(x, min, max int) int {
if x < min {
return min
}
if x > max {
return max
}
return x
} | vendor/github.com/golang/geo/s2/util.go | 0.841565 | 0.482612 | util.go | starcoder |
package sim
import (
"fmt"
"regexp"
"strconv"
"strings"
)
//ParseOptions contains details about how to parse data from the incoming file
//Identifier provides the index of the column to use as an Agnent Identifier
//Parent provides the index of the column to use as the Identifier of a Parent Agent
//Regex provides the regular expressions to use to extract data from the columns.
//It is in the form of a map, the key being the index of the column, the value being
//the regex to apply.
//When a Regex is supplied for the parent or identifier columns it will be used to
//extract the value to use as the Identifier. If it is applied to another column then
//the row will be skipped where the regex does not match the contents in that column.
//Any regex supplied for a column that doesn't exist within a row will result in that
//row being skipped.
//If no regex is supplied for the parent and identifier columns then a default is applied
//which will strip leading and trailing whitespace.
//Delimiter is the delimiter to use when slicing rows into columns
type ParseOptions struct {
Identifier int `json:"identifier"`
Parent int `json:"parent"`
Regex map[string]string `json:"regex"`
Delimiter string `json:"delimiter"`
}
//IdentifierRegex returns the Regexp that must be applied to the Identifier column
func (po *ParseOptions) IdentifierRegex() *regexp.Regexp {
regex, _ := po.GetColRegex(po.Identifier)
return regex
}
//ParentRegex returns the Regexp that must be applied to the Parent column
func (po *ParseOptions) ParentRegex() *regexp.Regexp {
regex, _ := po.GetColRegex(po.Parent)
return regex
}
//GetColRegex returns the Regexp that must be applied to the indicated column
func (po *ParseOptions) GetColRegex(col int) (*regexp.Regexp, bool) {
regex, exists := po.Regex[strconv.Itoa(col)]
if !exists || whitespace().MatchString(regex) {
regex = `^\s*(\S.*\S)\s*$`
}
return regexp.MustCompile(regex), exists
}
//GetOtherRegex returns the compiled regular expressions for columns other
//than the parent and identifier columns
func (po *ParseOptions) GetOtherRegex() map[int]*regexp.Regexp {
ret := make(map[int]*regexp.Regexp, len(po.Regex))
for index, regex := range po.Regex {
i, err := strconv.Atoi(index)
if err != nil || i == po.Identifier || i == po.Parent {
continue
}
ret[i] = regexp.MustCompile(regex)
}
return ret
}
//Returns a Regex that matches a string that only contains whitespace or is empty
func whitespace() *regexp.Regexp {
return regexp.MustCompile(`^\s*$`)
}
//ParseDelim takes a hierarchy expressed in a comma separated file and generates a Network out of it
//po are the ParseOptions that control how the parse will operate.
//returns a RelationshipMgr containing all the Agents with links to parent Agents as described in the input
//data. If the same Id is listed in multiple rows as specified after any regular expressions is applied the
//first row is used and subsequent rows are ignored.
func (po *ParseOptions) ParseDelim(data []string) (RelationshipMgr, error) {
ws := whitespace()
idre := po.IdentifierRegex()
pre := po.ParentRegex()
n := Network{}
//Using a map of maps here because the links can be duplicated in the source data
//and this will allow me to ignore the duplicates
links := map[string]map[string]struct{}{}
agents := map[string]Agent{}
for i := 1; i < len(data); i++ {
cols := strings.Split(data[i], po.Delimiter)
if po.Identifier < 0 || po.Identifier >= len(cols) {
continue
}
skip := false
for index, re := range po.GetOtherRegex() {
if index < 0 || index >= len(cols) || !re.MatchString(cols[index]) {
skip = true
break
}
}
if skip {
continue
}
id := idre.ReplaceAllString(cols[po.Identifier], "$1")
idParent := ""
if po.Parent > 0 && po.Parent < len(cols) {
idParent = pre.ReplaceAllString(cols[po.Parent], "$1")
}
if ws.MatchString(id) {
continue
}
_, exists := agents[id]
if exists {
continue
}
a := GenerateRandomAgent(id, []Color{}, false)
n.AddAgent(a)
agents[id] = a
if !ws.MatchString(idParent) {
if id != idParent {
id1entry, exists := links[idParent]
if exists {
_, exists := id1entry[id]
if !exists {
id1entry[id] = struct{}{}
}
} else {
links[idParent] = map[string]struct{}{id: {}}
}
}
}
}
for id1, id1Entries := range links {
for id2 := range id1Entries {
agent1, agent2, err := getAgents(agents, id1, id2)
if err != nil {
return nil, err
}
n.AddLink(agent1, agent2)
}
}
err := n.PopulateMaps()
return &n, err
}
//Convenience method to get Agents and check they exist
func getAgents(agents map[string]Agent, id1 string, id2 string) (Agent, Agent, error) {
agent1, exists := agents[id1]
if !exists {
return nil, nil, fmt.Errorf("Agent id1 '%s' not found when adding link. Agent id2 is '%s'", id1, id2)
}
agent2, exists := agents[id2]
if !exists {
return agent1, nil, fmt.Errorf("Agent id2 '%s' not found when adding link. Agent id1 is '%s'", id2, id1)
}
return agent1, agent2, nil
} | sim/networkparser.go | 0.617743 | 0.661554 | networkparser.go | starcoder |
package slices
import (
"errors"
"reflect"
"github.com/golodash/godash/internal"
)
// This method is like IndexOf except that it performs a binary search on a sorted slice.
func SortedIndexOf(slice interface{}, value interface{}) (int, error) {
if err := internal.SliceCheck(slice); err != nil {
return -1, err
}
if res := internal.IsNumber(value); !res {
return -1, errors.New("`value` is not a number")
}
val := reflect.ValueOf(value)
sType := reflect.TypeOf(slice)
if !sType.Elem().ConvertibleTo(val.Type()) {
return -1, errors.New("`value` is not comparable with `slice`")
}
return sortedIndexOf(slice, value, compareLowerEqual, compareIsEqual)
}
// Compare function for SortedIndex function
func compareIsEqual(midValue, value interface{}) bool {
mid := reflect.ValueOf(midValue)
v := reflect.ValueOf(value)
switch v.Kind() {
case reflect.Float64:
return v.Interface().(float64) == mid.Interface().(float64)
case reflect.Float32:
return v.Interface().(float32) == mid.Interface().(float32)
case reflect.Int:
return v.Interface().(int) == mid.Interface().(int)
case reflect.Int8:
return v.Interface().(int8) == mid.Interface().(int8)
case reflect.Int16:
return v.Interface().(int16) == mid.Interface().(int16)
case reflect.Int32:
return v.Interface().(int32) == mid.Interface().(int32)
case reflect.Int64:
return v.Interface().(int64) == mid.Interface().(int64)
case reflect.Uint:
return v.Interface().(uint) == mid.Interface().(uint)
case reflect.Uint8:
return v.Interface().(uint8) == mid.Interface().(uint8)
case reflect.Uint16:
return v.Interface().(uint16) == mid.Interface().(uint16)
case reflect.Uint32:
return v.Interface().(uint32) == mid.Interface().(uint32)
case reflect.Uint64:
return v.Interface().(uint64) == mid.Interface().(uint64)
case reflect.Uintptr:
return v.Interface().(uintptr) == mid.Interface().(uintptr)
}
return false
}
func sortedIndexOf(slice, value, isLowerEqualFunction, isEqualFunction interface{}) (int, error) {
sliceValue := reflect.ValueOf(slice)
len := sliceValue.Len()
if len == 0 {
return -1, errors.New("item not found")
} else if len == 1 {
item := sliceValue.Index(0)
if res := reflect.ValueOf(isEqualFunction).Call([]reflect.Value{item, reflect.ValueOf(value)}); res[0].Bool() {
return 0, nil
} else {
return -1, errors.New("item not found")
}
} else if len == 2 {
item0 := sliceValue.Index(0)
item1 := sliceValue.Index(1)
if res := reflect.ValueOf(isEqualFunction).Call([]reflect.Value{item0, reflect.ValueOf(value)}); res[0].Bool() {
return 0, nil
} else if res := reflect.ValueOf(isEqualFunction).Call([]reflect.Value{item1, reflect.ValueOf(value)}); res[0].Bool() {
return 1, nil
} else {
return -1, errors.New("item not found")
}
}
item := sliceValue.Index(len / 2).Interface()
var err error = nil
if err = internal.AreComparable(item, value); err != nil {
return -1, errors.New("couldn't compare `value` with all items in passed slice")
}
var result int
if res := reflect.ValueOf(isLowerEqualFunction).Call([]reflect.Value{reflect.ValueOf(item), reflect.ValueOf(value)}); res[0].Bool() {
if result, err = sortedIndexOf(sliceValue.Slice(0, (len/2)+1).Interface(), value, isLowerEqualFunction, isEqualFunction); err != nil {
return -1, err
}
return result, nil
} else {
if result, err = sortedIndexOf(sliceValue.Slice(len/2, len).Interface(), value, isLowerEqualFunction, isEqualFunction); err != nil {
return -1, err
}
return result + (len / 2), nil
}
} | slices/sorted_index_of.go | 0.824497 | 0.492737 | sorted_index_of.go | starcoder |
package graph
import (
"sort"
"strconv"
)
// Iterator is a non-weighted graph; an Iterator can be used
// to describe both ordinary graphs and multigraphs
type Iterator interface {
Order() int
Visit(v int, do func(w int, c int64) (skip bool)) (aborted bool)
VisitBoth(v int, doIn func(w int, c int64) (skip bool), doOut func(w int, c int64) (skip bool)) (aborted bool)
}
// Stats holds basic data about an Iterator.
type Stats struct {
Size int // Number of unique edges.
Multi int // Number of duplicate edges.
Weighted int // Number of edges with non-zero cost.
Loops int // Number of self-loops.
Isolated int // Number of vertices with outdegree zero.
}
// Check collects data about an Iterator.
func Check(g Iterator) Stats {
_, mutable := g.(*Mutable)
n := g.Order()
degree := make([]int, n)
type edge struct{ v, w int }
edges := make(map[edge]bool)
var stats Stats
for v := 0; v < n; v++ {
g.Visit(v, func(w int, c int64) (skip bool) {
if w < 0 || w >= n {
panic("vertex out of range: " + strconv.Itoa(w))
}
if v == w {
stats.Loops++
}
if c != 0 {
stats.Weighted++
}
degree[v]++
if mutable { // A Mutable is never a multigraph.
stats.Size++
return
}
if edges[edge{v, w}] {
stats.Multi++
} else {
stats.Size++
}
edges[edge{v, w}] = true
return
})
}
for _, deg := range degree {
if deg == 0 {
stats.Isolated++
}
}
return stats
}
// The maximum and minum value of an edge cost.
const (
Max int64 = 1<<63 - 1
Min int64 = -1 << 63
)
type edge struct {
v, w int
c int64
}
// String returns a description of g with two elements:
// the number of vertices, followed by a sorted list of all edges.
func String(g Iterator) string {
n := g.Order()
// This may be a multigraph, so we look for duplicates by counting.
count := make(map[edge]int)
for v := 0; v < n; v++ {
g.Visit(v, func(w int, c int64) (skip bool) {
count[edge{v, w, c}]++
return
})
}
edges := make([]edge, 0, len(count))
for e := range count {
edges = append(edges, e)
}
// Sort lexicographically on (v, w, c).
sort.Slice(edges, func(i, j int) bool {
v := edges[i].v == edges[j].v
w := edges[i].w == edges[j].w
switch {
case v && w:
return edges[i].c < edges[j].c
case v:
return edges[i].w < edges[j].w
default:
return edges[i].v < edges[j].v
}
})
// Build the string.
var buf []byte
buf = strconv.AppendInt(buf, int64(n), 10)
buf = append(buf, " ["...)
for _, e := range edges {
c := count[e]
if e.v < e.w {
// Collect edges in opposite directions into an undirected edge.
back := edge{e.w, e.v, e.c}
m := min(c, count[back])
count[back] -= m
buf = appendEdge(buf, e, m, true)
buf = appendEdge(buf, e, c-m, false)
} else {
buf = appendEdge(buf, e, c, false)
}
}
if len(edges) > 0 {
buf = buf[:len(buf)-1] // Remove trailing ' '.
}
buf = append(buf, ']')
return string(buf)
}
func appendEdge(buf []byte, e edge, count int, bi bool) []byte {
if count <= 0 {
return buf
}
if count > 1 {
buf = strconv.AppendInt(buf, int64(count), 10)
buf = append(buf, "×"...)
}
if bi {
buf = append(buf, '{')
} else {
buf = append(buf, '(')
}
buf = strconv.AppendInt(buf, int64(e.v), 10)
buf = append(buf, ' ')
buf = strconv.AppendInt(buf, int64(e.w), 10)
if bi {
buf = append(buf, '}')
} else {
buf = append(buf, ')')
}
if e.c != 0 {
buf = append(buf, ':')
switch e.c {
case Max:
buf = append(buf, "max"...)
case Min:
buf = append(buf, "min"...)
default:
buf = strconv.AppendInt(buf, e.c, 10)
}
}
buf = append(buf, ' ')
return buf
}
func min(x, y int) int {
if x < y {
return x
}
return y
} | utils/graph/graph.go | 0.695131 | 0.48249 | graph.go | starcoder |
package models
import (
"math"
"github.com/go-gl/mathgl/mgl32"
"gonum.org/v1/gonum/mat"
"gonum.org/v1/gonum/stat/distmv"
"gonum.org/v1/gonum/stat/samplemv"
)
type ProjectionType int
const (
Perspective ProjectionType = iota
Ortographic
)
type Camera struct {
Transform mgl32.Mat4
ProjectionPlaneDistance float32
RaysPerPixel int
Projection ProjectionType
// Perspective projection
// Vertical fov
FieldOfView float32
// Ortographic projection
// Half-height of the projection plane
OrtographicSize float32
projectionPlaneTopLeft mgl32.Vec3
horizontalStep float32
verticalStep float32
sampler *samplemv.Halton
batch *mat.Dense
index int
maxSamples int
}
func (camera *Camera) Initialize(totalWidth int, totalHeight int) {
// Create sampler
camera.maxSamples = 12345
camera.batch = mat.NewDense(camera.maxSamples, 2, nil)
camera.sampler = &samplemv.Halton{
Kind: samplemv.Owen,
Q: distmv.NewUnitUniform(2, nil),
}
camera.sampler.Sample(camera.batch)
var projectionPlaneTopLeft mgl32.Vec3
var projectionPlaneBottomRight mgl32.Vec3
if camera.Projection == Perspective {
verticalHalfAngle := math.Pi * (camera.FieldOfView / 2.0) / 180.0
horizontalHalfAngle := verticalHalfAngle * (float32(totalWidth) / float32(totalHeight))
forward := mgl32.Vec3{0, 0, camera.ProjectionPlaneDistance}
left := mgl32.QuatRotate(-horizontalHalfAngle, mgl32.Vec3{0, 1, 0}).Rotate(forward)
right := mgl32.QuatRotate(horizontalHalfAngle, mgl32.Vec3{0, 1, 0}).Rotate(forward)
top := mgl32.QuatRotate(-verticalHalfAngle, mgl32.Vec3{1, 0, 0}).Rotate(forward)
bottom := mgl32.QuatRotate(verticalHalfAngle, mgl32.Vec3{1, 0, 0}).Rotate(forward)
// Project the vectors onto the projection plane
left = left.Mul(camera.ProjectionPlaneDistance / left.Z())
right = right.Mul(camera.ProjectionPlaneDistance / right.Z())
top = top.Mul(camera.ProjectionPlaneDistance / top.Z())
bottom = bottom.Mul(camera.ProjectionPlaneDistance / bottom.Z())
projectionPlaneTopLeft = mgl32.Vec3{left.X(), top.Y(), camera.ProjectionPlaneDistance}
projectionPlaneBottomRight = mgl32.Vec3{right.X(), bottom.Y(), camera.ProjectionPlaneDistance}
} else {
ortographicHalfWidth := camera.OrtographicSize * (float32(totalWidth) / float32(totalHeight))
projectionPlaneTopLeft = mgl32.Vec3{-ortographicHalfWidth, camera.OrtographicSize, camera.ProjectionPlaneDistance}
projectionPlaneBottomRight = mgl32.Vec3{ortographicHalfWidth, -camera.OrtographicSize, camera.ProjectionPlaneDistance}
}
camera.verticalStep = (projectionPlaneTopLeft.Y() - projectionPlaneBottomRight.Y()) / float32(totalHeight)
camera.horizontalStep = (projectionPlaneBottomRight.X() - projectionPlaneTopLeft.X()) / float32(totalWidth)
camera.projectionPlaneTopLeft = projectionPlaneTopLeft
}
func (camera *Camera) samplePixel() mgl32.Vec2 {
// Get Halton sample
sample := mgl32.Vec2{
float32(camera.batch.At(camera.index, 0)),
float32(camera.batch.At(camera.index, 1)),
}
camera.index = (camera.index + 1) % camera.maxSamples
return sample
}
func (camera *Camera) GetCameraRay(xoffset int, yoffset int, x int, y int) *Ray {
var dir mgl32.Vec3
/*
rx := rand.Float32()*0.5 - 1
ry := rand.Float32()*0.5 - 1
lx := camera.projectionPlaneTopLeft.X() + camera.horizontalStep*(float32(xoffset+x)+rx)
ly := camera.projectionPlaneTopLeft.Y() - camera.verticalStep*(float32(yoffset+y)+ry)
*/
sample := camera.samplePixel()
lx := camera.projectionPlaneTopLeft.X() + camera.horizontalStep*(float32(xoffset+x)+sample.X())
ly := camera.projectionPlaneTopLeft.Y() - camera.verticalStep*(float32(yoffset+y)+sample.Y())
originCameraSpace := mgl32.Vec3{lx, ly, -camera.ProjectionPlaneDistance}
origin := mgl32.TransformCoordinate(originCameraSpace, camera.Transform)
if camera.Projection == Perspective {
// Camera local origin is always at 0,0,0 so the normalized
// ray origin is it's direction
dir = origin.Sub(camera.Transform.Col(3).Vec3()).Normalize()
} else {
dir = mgl32.TransformCoordinate(mgl32.Vec3{0, 0, -1}, camera.Transform).Sub(camera.Transform.Col(3).Vec3()).Normalize()
}
ray := NewRay(origin, dir, 0, x-xoffset, y-yoffset)
return ray
} | src/backend/models/camera.go | 0.807195 | 0.564819 | camera.go | starcoder |
package gohome
// A 3D model consisting of multiple meshes
type Model3D struct {
// The name of the model
Name string
meshes []Mesh3D
// The bounding box going around the model
AABB AxisAlignedBoundingBox
}
// Adds a mesh to the model
func (this *Model3D) AddMesh3D(m Mesh3D) {
this.meshes = append(this.meshes, m)
this.checkAABB(m)
}
// Calls Render on all meshes
func (this *Model3D) Render() {
for i := 0; i < len(this.meshes); i++ {
this.meshes[i].Render()
}
}
// Cleans up all meshes
func (this *Model3D) Terminate() {
for i := 0; i < len(this.meshes); i++ {
this.meshes[i].Terminate()
}
this.meshes = append(this.meshes[:0], this.meshes[len(this.meshes):]...)
}
// Returns the mesh with name
func (this *Model3D) GetMesh(name string) Mesh3D {
for i := 0; i < len(this.meshes); i++ {
if this.meshes[i].GetName() == name {
return this.meshes[i]
}
}
return nil
}
// Returns the mesh with index
func (this *Model3D) GetMeshIndex(index int) Mesh3D {
if index > len(this.meshes)-1 {
return nil
} else {
return this.meshes[index]
}
}
func (this *Model3D) checkAABB(m Mesh3D) {
for i := 0; i < 3; i++ {
if m.AABB().Max[i] > this.AABB.Max[i] {
this.AABB.Max[i] = m.AABB().Max[i]
}
if m.AABB().Min[i] < this.AABB.Min[i] {
this.AABB.Min[i] = m.AABB().Min[i]
}
}
}
// Returns wether all meshes have UV coodinates
func (this *Model3D) HasUV() bool {
for i := 0; i < len(this.meshes); i++ {
if !this.meshes[i].HasUV() {
return false
}
}
return true
}
// Creates a copy of this model
func (this *Model3D) Copy() *Model3D {
var model Model3D
model.Name = this.Name + " Copy"
model.meshes = make([]Mesh3D, len(this.meshes))
for i := 0; i < len(this.meshes); i++ {
model.meshes[i] = this.meshes[i].Copy()
}
model.AABB = this.AABB
return &model
}
// Loads all meshes to the GPU
func (this *Model3D) Load() {
for _, m := range this.meshes {
m.Load()
mat := m.GetMaterial()
if mat.DiffuseTexture != nil {
data := preloadedTextureData[mat.DiffuseTexture]
mat.DiffuseTexture.Load(data.data, data.width, data.height, false)
}
if mat.SpecularTexture != nil {
data := preloadedTextureData[mat.SpecularTexture]
mat.SpecularTexture.Load(data.data, data.width, data.height, false)
}
if mat.NormalMap != nil {
data := preloadedTextureData[mat.NormalMap]
mat.NormalMap.Load(data.data, data.width, data.height, false)
}
}
} | src/gohome/model3d.go | 0.645343 | 0.483953 | model3d.go | starcoder |
package continuous
import (
"github.com/jtejido/ggsl/specfunc"
"github.com/jtejido/linear"
"github.com/jtejido/stats"
"github.com/jtejido/stats/err"
smath "github.com/jtejido/stats/math"
"math"
"math/rand"
)
// Gamma distribution
// https://en.wikipedia.org/wiki/Gamma_distribution
type InverseGamma struct {
shape, scale float64 // α, β
src rand.Source
natural linear.RealVector
}
func NewInverseGamma(shape, scale float64) (*InverseGamma, error) {
return NewInverseGammaWithSource(shape, scale, nil)
}
func NewInverseGammaWithSource(shape, scale float64, src rand.Source) (*InverseGamma, error) {
if shape <= 0 || scale <= 0 {
return nil, err.Invalid()
}
return &InverseGamma{shape, scale, src, nil}, nil
}
// α ∈ (0,∞)
// β ∈ (0,∞)
func (ig *InverseGamma) Parameters() stats.Limits {
return stats.Limits{
"α": stats.Interval{0, math.Inf(1), true, true},
"β": stats.Interval{0, math.Inf(1), true, true},
}
}
// x ∈ (0,∞)
func (ig *InverseGamma) Support() stats.Interval {
return stats.Interval{0, math.Inf(1), true, true}
}
func (ig *InverseGamma) Probability(x float64) float64 {
if ig.Support().IsWithinInterval(x) {
return (math.Pow(ig.scale, ig.shape) / specfunc.Gamma(ig.shape)) * math.Pow(x, -ig.shape-1) * math.Exp(-ig.scale/x)
}
return 0
}
func (ig *InverseGamma) Distribution(x float64) float64 {
if ig.Support().IsWithinInterval(x) {
return specfunc.Gamma_inc_Q(ig.shape, ig.scale/x)
}
return 0
}
func (ig *InverseGamma) Inverse(p float64) float64 {
if p <= 0 {
return 0
}
if p >= 1 {
return math.Inf(1)
}
return (1 / smath.InverseRegularizedLowerIncompleteGamma(ig.shape, p)) * ig.scale
}
func (ig *InverseGamma) Entropy() float64 {
return ig.shape + math.Log(ig.scale*specfunc.Gamma(ig.shape)) - (1+ig.shape)*specfunc.Psi(ig.shape)
}
func (ig *InverseGamma) ExKurtosis() float64 {
return (6 * (5*ig.shape - 11)) / ((ig.shape - 3) * (ig.shape - 4))
}
func (ig *InverseGamma) Skewness() float64 {
return (4 * math.Sqrt(ig.shape-2)) / (ig.shape - 3)
}
func (ig *InverseGamma) Mean() float64 {
return ig.scale / (ig.shape - 1)
}
func (ig *InverseGamma) Median() float64 {
return ig.scale / smath.InverseRegularizedLowerIncompleteGamma(ig.shape, .5)
}
func (ig *InverseGamma) Mode() float64 {
return ig.scale / (ig.shape + 1)
}
func (ig *InverseGamma) Variance() float64 {
return (ig.scale * ig.scale) / (math.Pow(ig.shape-1, 2) * (ig.shape - 2))
}
func (ig *InverseGamma) Rand() float64 {
var rnd float64
if ig.src != nil {
rnd = rand.New(ig.src).Float64()
} else {
rnd = rand.Float64()
}
return ig.Inverse(rnd)
}
func (ig *InverseGamma) ToExponential() {
vec, _ := linear.NewArrayRealVectorFromSlice([]float64{-ig.shape - 1, -ig.scale})
ig.natural = vec
// vec2, _ := linear.NewSizedArrayRealVector(2)
// vec2.SetEntry(0, math.Log(ig.scale)-specfunc.Psi(ig.shape))
// vec2.SetEntry(1, ig.shape/ig.scale)
// ig.Moment = vec2
}
func (ig *InverseGamma) SufficientStatistics(x float64) linear.RealVector {
vec, _ := linear.NewArrayRealVectorFromSlice([]float64{math.Log(x), 1 / x})
return vec
} | dist/continuous/inverse_gamma.go | 0.797872 | 0.445288 | inverse_gamma.go | starcoder |
package pathutil
import (
"github.com/pkg/errors"
"github.com/stackrox/rox/pkg/utils"
)
type tree struct {
children map[Step]*tree
values map[string][]string
}
func newTree() *tree {
return &tree{
children: make(map[Step]*tree),
}
}
func (t *tree) addPath(steps []Step, fieldName string, values []string) {
if len(steps) == 0 {
if t.values == nil {
t.values = make(map[string][]string)
}
t.values[fieldName] = values
return
}
firstStep, remainingSteps := steps[0], steps[1:]
subTree := t.children[firstStep]
if subTree == nil {
subTree = newTree()
t.children[firstStep] = subTree
}
subTree.addPath(remainingSteps, fieldName, values)
}
// treeFromPathsAndValues generates a tree from the given paths and values holder.
// Callers must ensure that:
// a) there is at least one path
// b) all the paths are of the same length
func treeFromPathsAndValues(fieldName string, pathHolders []PathAndValueHolder) *tree {
t := newTree()
for _, pathHolder := range pathHolders {
path := pathHolder.GetPath()
if len(path.steps) == 0 {
utils.Should(errors.Errorf("empty path from search (paths: %v)", pathHolders))
continue
}
t.addPath(path.steps[:len(path.steps)-1], fieldName, pathHolder.GetValues())
}
return t
}
func (t *tree) merge(other *tree) {
for fieldName, values := range other.values {
if t.values == nil {
t.values = make(map[string][]string)
}
t.values[fieldName] = values
}
for key, child := range t.children {
otherChild, inOther := other.children[key]
if inOther {
child.merge(otherChild)
continue
}
// For stesp that represent an array index, we must drop unless the value is in both.
if key.Index() >= 0 {
delete(t.children, key)
}
}
for key, child := range other.children {
if _, inT := t.children[key]; inT {
// This key has been considered already in the above loop.
continue
}
// Don't merge integer keys unless they're in both.
if key.Index() >= 0 {
continue
}
// Copy over the child.
t.children[key] = child
}
}
func (t *tree) gatherValuesIgnoringArrays(currentPath *map[string][]string) {
for fieldName, values := range t.values {
(*currentPath)[fieldName] = values
}
for key, child := range t.children {
if key.Index() >= 0 {
continue
}
child.gatherValuesIgnoringArrays(currentPath)
}
}
func (t *tree) getAllPaths() []map[string][]string {
allPaths := make([]map[string][]string, 0, 1)
currentPath := make(map[string][]string)
t.populateAllPaths(&allPaths, ¤tPath)
return allPaths
}
func (t *tree) populateAllPaths(allPaths *[]map[string][]string, currentPath *map[string][]string) {
t.gatherValuesIgnoringArrays(currentPath)
if len(t.children) == 0 {
*allPaths = append(*allPaths, *currentPath)
return
}
idx := -1
for _, child := range t.children {
idx++
var pathToPass *map[string][]string
// Minor optimization: reuse the map from the parent for the last child.
// NOTE: this must be the last child, since otherwise, currentPath will be mutated
// and we won't be able to copy it
if idx == len(t.children)-1 {
pathToPass = currentPath
} else {
newMap := make(map[string][]string, len(*currentPath))
for k, v := range *currentPath {
newMap[k] = v
}
pathToPass = &newMap
}
child.populateAllPaths(allPaths, pathToPass)
}
}
func (t *tree) containsAtLeastOnePath(pathHolders []PathAndValueHolder) bool {
for _, pathHolder := range pathHolders {
path := pathHolder.GetPath()
// This is an invalid path, should never happen. The panic will be caught and softened to a utils.Should
// by the caller.
if len(path.steps) == 0 {
panic("invalid: got empty path")
}
if t.containsSteps(path.steps[:len(path.steps)-1]) {
return true
}
}
return false
}
func (t *tree) containsSteps(steps []Step) bool {
// Base case
if len(steps) == 0 {
return true
}
firstStep := steps[0]
child := t.children[firstStep]
if child == nil {
return false
}
return child.containsSteps(steps[1:])
}
// A PathAndValueHolder is any object containing a path and values (aka evaluator.Match)
type PathAndValueHolder interface {
GetPath() *Path
GetValues() []string
}
// FilterMatchesToResults filters the given fieldsToPathAndValues to just the linked matches, grouped by sub-object
// The best way to understand the purpose of this function is to look at the unit tests.
func FilterMatchesToResults(fieldsToPathsAndValues map[string][]PathAndValueHolder) (result []map[string][]string, matched bool, err error) {
// For convenience, the internal functions here signal errors by panic-ing, but we catch the panic here
// so that clients outside the package just receive an error.
// Panics will only happen with invalid inputs, which is always a programming error.
defer func() {
if r := recover(); r != nil {
err = utils.Should(errors.Errorf("invalid input: %v", r))
}
}()
t := newTree()
// create a tree (which will be a path) for each input and merge it into base tree
for fieldName, pathsAndValues := range fieldsToPathsAndValues {
t.merge(treeFromPathsAndValues(fieldName, pathsAndValues))
}
for _, paths := range fieldsToPathsAndValues {
if !t.containsAtLeastOnePath(paths) {
return nil, false, nil
}
}
return t.getAllPaths(), true, nil
} | pkg/booleanpolicy/evaluator/pathutil/filter_linked.go | 0.589953 | 0.545649 | filter_linked.go | starcoder |
package structures
import (
"fmt"
"math"
"reflect"
"gonum.org/v1/gonum/mat"
)
const (
solveAccuracy = 1E-6
)
// Structure type contains the necessary parameters for solving a structural problem
type Structure struct {
M, N int
Coord, Con, Re, Load, W, E, G, A, Iz, Iy, J, St, Be *mat.Dense
S, Pf, Q, Qfi, Ei, V, R *mat.Dense
Ni []*mat.Dense
}
// MSA (Matrix Structural Analysis) interface with methods for solving strutural problems
type MSA interface {
Initialize()
Set()
Solve()
Display()
}
// Initialize sets up the structure s
func (s *Structure) Initialize() {
//initialize a 12x12 matrix for each member
for index := 0; index < s.M; index++ {
s.Ni[index] = zeros(12, 12)
}
//initialize a 6n x 6n global stiffness matrix
s.S = zeros(6*s.N, 6*s.N)
//initialize a 6n x 1 matrix of fixed end forces in global coordinates
s.Pf = mat.NewDense(6*s.N, 1, nil)
//initialize a 12m x 1 matrix of internal forces in local coordinates
s.Q = mat.NewDense(12, s.M, nil)
//initialize a 12m x 1 matrix of fixed end forces in local coordinates
s.Qfi = mat.NewDense(12, s.M, nil)
//initialize a 12 x m matrix of element code numbers (locations) in the global stiffness matrix
s.Ei = mat.NewDense(12, s.M, nil)
//initialize the deflections in global coordinates
s.V = mat.NewDense(12*s.M, 1, nil)
//initialize the support reactions in global coordinates
s.R = mat.NewDense(12*s.M, 1, nil)
}
// Set will set the structure properties according to the function inputs. It receives a pointer to s so we can modify it.
func (s *Structure) Set(m, n int, coord, con, re, load, w, E, G, A, Iz, Iy, J, St, be [][]float64) {
s.M = m
s.N = n
s.Coord = mat.NewDense(flatten(coord))
s.Con = mat.NewDense(flatten(con))
s.Re = mat.NewDense(flatten(re))
s.Load = mat.NewDense(flatten(load))
s.W = mat.NewDense(flatten(w))
s.E = mat.NewDense(flatten(E))
s.G = mat.NewDense(flatten(G))
s.A = mat.NewDense(flatten(A))
s.Iz = mat.NewDense(flatten(Iz))
s.Iy = mat.NewDense(flatten(Iy))
s.J = mat.NewDense(flatten(J))
s.St = mat.NewDense(flatten(St))
s.Be = mat.NewDense(flatten(be))
}
// Solve assembles the system
func (s *Structure) Solve() {
fmt.Printf("Solving the system with %v nodes and %v elements...", s.N, s.M)
for i := 0; i < s.M; i++ {
//coordinate transformation
H := mat.Col(nil, i, s.Con)
ni := int(H[0]) //node i
nj := int(H[1])
bi := int(H[2]) //boundary condition i
bj := int(H[3])
C1 := mat.VecDenseCopyOf(s.Coord.ColView(nj))
C2 := mat.VecDenseCopyOf(s.Coord.ColView(ni))
C1.SubVec(C1, C2)
e := makeRange(6*nj-5, 6*nj)
e = append(e, makeRange(6*bi-5, 6*bi)...)
c := s.Be.At(i, 0)
a, b, L := cart2sph(C1.At(0, 0), C1.At(1, 0), C1.At(2, 0))
ca := math.Cos(a)
sa := math.Sin(a)
cb := math.Cos(b)
sb := math.Sin(b)
cc := math.Cos(c)
sc := math.Sin(c)
r1 := mat.NewDense(flatten([][]float64{{1, 0, 0}, {0, cc, sc}, {0, -sc, cc}}))
r2 := mat.NewDense(flatten([][]float64{{cb, sb, 0}, {-sb, cb, 0}, {0, 0, 1}}))
r3 := mat.NewDense(flatten([][]float64{{ca, 0, sa}, {0, 1, 0}, {-sa, 0, ca}}))
var r *mat.Dense
r.Mul(r1, r2)
r.Mul(r, r3) //r should be 3x3
T := Kronecker(eye(4), r)
//generate local stiffness matrix
co := mat.NewDense(flatten([][]float64{{6 / L * 2 * L, 3 * 2 * L, 2 * L * 2 * L, L * 2 * L}}))
var y, z, K, K1n *mat.Dense
x := s.A.At(i, 0) * L * L
y.Scale(s.Iy.At(i, 0), co)
z.Scale(s.Iz.At(i, 0), co)
g := s.G.At(i, 0) * s.J.At(i, 0) * L * L / s.E.At(i, 0)
K1 := Diag([]float64{x, z.At(0, 0), y.At(0, 0)})
K2 := mat.NewDense(flatten([][]float64{{0, 0, 0}, {0, 0, z.At(1, 0)}, {0 - 1*y.At(1, 0), 0}}))
K3 := Diag([]float64{g, y.At(3, 0), z.At(3, 0)})
K4 := Diag([]float64{-g, y.At(3, 0), z.At(4, 0)})
K = zeros(12, 12)
K1n = zeros(3, 3)
Ka := K.Slice(0, 3, 0, 3).(*mat.Dense)
K1n.Scale(-1.0, K1)
K.Augment(K, K1n)
K.Augment(K, K2)
K.Scale(s.E.At(i, 0)/L/L/L, K)
//generate local fixed-end forces
//generate member releases
//assemble local into global matrix
printmat(T, K3, K4, Ka)
printvars(float64(bj))
}
return
}
// Display prints out the structure info to the console
func (s Structure) Display() {
sr := reflect.ValueOf(&s).Elem()
typeOfsr := sr.Type()
for i := 0; i < sr.NumField(); i++ {
fmt.Printf("%d: %s %s = %v\n", i, typeOfsr.Field(i).Name, sr.Field(i).Type(), sr.Field(i).Interface())
}
}
func flatten(f [][]float64) (r, c int, d []float64) {
r = len(f)
if r == 0 {
panic("flatten: no row")
}
c = len(f[0])
d = make([]float64, 0, r*c)
for _, row := range f {
if len(row) != c {
panic("flatten: ragged input")
}
d = append(d, row...)
}
return r, c, d
}
func unflatten(r, c int, d []float64) [][]float64 {
m := make([][]float64, r)
for i := 0; i < r; i++ {
m[i] = d[i*c : (i+1)*c]
}
return m
}
// zeros returns a new zero matrix of size r x c
func zeros(m, n int) *mat.Dense {
d := make([]float64, m*n)
for i := 0; i < m*n; i++ {
d[i] = 0
}
return mat.NewDense(m, n, d)
}
// ones initialize a matrix of ones of size m x n
func ones(m, n int) *mat.Dense {
mat := mat.NewDense(m, n, nil)
row := OnesVec(n)
for ii := 0; ii < m; ii++ {
mat.SetRow(ii, *row)
}
return mat
}
// eye initializes an identity matrix of size m x m
func eye(n int) *mat.Dense {
d := make([]float64, n*n)
for i := 0; i < n*n; i += n + 1 {
d[i] = 1
}
return mat.NewDense(n, n, d)
}
// OnesVec creates an array of size m filled with ones
func OnesVec(m int) *[]float64 {
var data []float64
for ii := 0; ii < m; ii++ {
data = append(data, 1)
}
return &data
}
// makeRange returns an incrementing array from min to max, of size max-min+1
func makeRange(min, max int) []int {
a := make([]int, max-min+1)
for i := range a {
a[i] = min + i
}
return a
}
// cart2sph transforms cartesian coordinates to spherical coordinates
func cart2sph(x, y, z float64) (azimuth, elev, radius float64) {
hxy := Hypotenuse(x, y)
radius = Hypotenuse(hxy, z)
elev = math.Atan2(z, hxy)
azimuth = math.Atan2(y, x)
return
}
// Hypotenuse returns the SRSS of the vector elements
func Hypotenuse(x, y float64, z ...float64) float64 {
h := x*x + y*y
for zz := 0; zz < len(z); zz++ {
h = h + z[zz]*z[zz]
}
return math.Sqrt(h)
}
//SetMatrix Copies B into A, with B's 0, 0 aligning with A's i, j
func SetMatrix(i, j int, A, B *mat.Dense) *mat.Dense {
br, bc := B.Dims()
for r := 0; r < br; r++ {
for c := 0; c < bc; c++ {
A.Set(i+r, j+c, B.At(r, c))
}
}
return A
}
// Kronecker product
func Kronecker(a, b *mat.Dense) (k *mat.Dense) {
ar, ac := a.Dims()
br, bc := b.Dims()
k = mat.NewDense(ar*br, ac*bc, nil)
for i := 0; i < ar; i++ {
for j := 0; j < ac; j++ {
s := k.Slice(i*br, (i+1)*br, j*bc, (j+1)*bc).(*mat.Dense)
s.Scale(a.At(i, j), b)
}
}
return
}
// Diag creates a matrix with the inputs put along the diagonal and zeros elsewhere
func Diag(a []float64) *mat.Dense {
l := len(a)
m := zeros(l, l)
for ii := 0; ii < l; ii++ {
m.Set(ii, ii, a[ii])
}
return m
}
func printmat(m ...*mat.Dense) {
for ii := 0; ii < len(m); ii++ {
f1 := mat.Formatted(m[ii], mat.Squeeze())
fmt.Printf("Matrix %v:\n%v\n", ii, f1)
}
}
func printvars(v ...float64) {
for ii := 0; ii < len(v); ii++ {
fmt.Printf("v[%v] = %v\n", ii, v[ii])
}
}
//InsertMatrix will insert the elements of b into a, starting at point (i,j). If b does not fully align with a, InertMatrix will panic.
// func InsertMatrix(a, b *mat.Dense, i, j int) *mat.Dense {
// ar, ac := a.Dims()
// br, bc := b.Dims()
// if i+br > ar || j+bc > ac {
// panic(fmt.Errorf("InsertMatrix: Inserting b into a at [%v,%v] will put b beyond the range of a", i, j))
// }
// } | solve.go | 0.54952 | 0.477737 | solve.go | starcoder |
package main
import (
"fmt"
"strconv"
"strings"
)
// Our first test, we are only checking
// American Express, Mastercard, and Visa.
// We check that the passed card has a length of
// 13 characters, 15 characters, or 16 characters.
func checkCardLengthValidity(card string) bool {
// If our length is 13, 15, or 16 we have passed the first test
return len(card) == 13 || len(card) == 15 || len(card) == 16
}
// We make sure everything we input is a number.
// If someone types 378282246310005abcd that's invalid.
func checkInputIsNumbers(card string) bool {
_, err := strconv.Atoi(card)
// If we have no trouble converting Atoi we should be safe.
return err == nil
}
func verifyCardWithLuhnAlgorithm(card string) bool {
// We split our card into individual numbers
numbers := strings.Split(card, "")
// Our first sum following the algorithm
firstSum := 0
// Our second sum following the algorithm
secondSum := 0
for index := 1; index <= len(numbers); index++ {
if index%2 == 0 {
i, err := strconv.Atoi(numbers[len(numbers)-index])
if err != nil {
panic(err)
}
sum := i * 2
// If sum is less than 10
if sum < 10 {
firstSum += sum
} else {
// We turn our multiplied sum back to a string
sumString := strconv.Itoa(sum)
// We split the string into parts (Should just be two)
split := strings.Split(sumString, "")
// We convert the first element back to an int
x, err := strconv.Atoi(split[0])
if err != nil {
panic(err)
}
// We convert our second element back to an int
y, err := strconv.Atoi(split[1])
if err != nil {
panic(err)
}
// We add X and Y to our first sum
firstSum = firstSum + x + y
}
} else {
i, err := strconv.Atoi(numbers[len(numbers)-index])
if err != nil {
panic(err)
}
secondSum += i
}
}
// We convert our first sum and second sum into a total
total := strconv.Itoa(firstSum + secondSum)
// We break it into a slice
totalSlice := strings.Split(total, "")
// If our last number is 0, this card is "valid"
return totalSlice[len(totalSlice)-1] == "0"
}
// Mastercard, Amex, and Visa are valid in our program
func returnCardType(card string) string {
// We get the first two characters, which are the relevant ones to see types
firstTwo := strings.Split(card, "")
if firstTwo[0] == "5" &&
firstTwo[1] == "1" ||
firstTwo[1] == "2" ||
firstTwo[1] == "3" ||
firstTwo[1] == "4" ||
firstTwo[1] == "5" {
return "Mastercard"
} else if firstTwo[0] == "4" {
return "Visa"
} else if firstTwo[0] == "3" &&
firstTwo[1] == "4" ||
firstTwo[1] == "7" {
return "American Express"
} else {
return "Invalid"
}
}
// This just combines all the functions above
func validateCardAndReturnType(card string) string {
if checkCardLengthValidity(card) && checkInputIsNumbers(card) && verifyCardWithLuhnAlgorithm(card) {
return returnCardType(card)
} else {
return "Invalid"
}
}
func main() {
// Here are some credit cards for testing!
// https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm
test := "378282246310005"
fmt.Println(validateCardAndReturnType(test))
} | cs50/pset1/credit/credit.go | 0.553505 | 0.447581 | credit.go | starcoder |
package timer
import (
"github.com/shasderias/ilysa/internal/calc"
)
type Sequence interface {
// SeqT is the current time for current sequence on a 0-1 scale. As a special
// case, SeqT returns 1 when the sequence only has one beat.
SeqT() float64
SeqOrdinal() int
SeqLen() int
SeqNextB() float64
SeqNextBOffset() float64
SeqPrevB() float64
SeqPrevBOffset() float64
SeqFirst() bool
SeqLast() bool
Next() bool
ToRange() Range
ToSequence() Sequence
}
type Sequencer struct {
s []float64
g float64
}
func Seq(seq []float64, ghostBeat float64) Sequencer {
return Sequencer{
s: seq,
g: ghostBeat,
}
}
func Beat(beat float64) Sequencer {
return Sequencer{
s: []float64{beat},
g: beat,
}
}
func Interval(startBeat, duration float64, count int) Sequencer {
s := []float64{}
for i := 0; i < count; i++ {
s = append(s, startBeat+duration*float64(i))
}
return Sequencer{
s: s,
g: startBeat + duration*float64(count),
}
}
func SeqFromSlice(seq []float64) Sequencer {
l := len(seq)
if l < 2 {
panic("sequence must have at least one beat and one ghost beat")
}
return Sequencer{
s: seq[:l-1],
g: seq[l-1],
}
}
func (s Sequencer) Idx(i int) float64 { return s.s[calc.WraparoundIdx(s.Len(), i)] }
func (s Sequencer) Len() int { return len(s.s) }
func (s Sequencer) Iterate() Sequence {
return &SequenceIterator{s, -1}
}
type SequenceIterator struct {
Sequencer
ordinal int
}
func (i *SequenceIterator) Next() bool {
i.ordinal++
if i.ordinal == i.Len() {
return false
}
return true
}
func (i *SequenceIterator) SeqT() float64 {
if i.Len() == 1 {
return 1
}
return float64(i.ordinal) / float64(i.Len()-1)
}
func (i *SequenceIterator) SeqOrdinal() int { return i.ordinal }
func (i *SequenceIterator) SeqLen() int { return i.Len() }
func (i *SequenceIterator) SeqNextB() float64 { return i.Idx(i.ordinal + 1) }
func (i *SequenceIterator) SeqNextBOffset() float64 {
if i.SeqLast() {
return i.g - i.Idx(i.ordinal)
}
return i.Idx(i.ordinal+1) - i.Idx(i.ordinal)
}
func (i *SequenceIterator) SeqPrevB() float64 { return i.Idx(i.ordinal - 1) }
func (i *SequenceIterator) SeqPrevBOffset() float64 { return i.Idx(i.ordinal) - i.Idx(i.ordinal-1) }
func (i *SequenceIterator) SeqFirst() bool { return i.ordinal == 0 }
func (i *SequenceIterator) SeqLast() bool { return i.ordinal == i.Len()-1 }
func (i *SequenceIterator) B() float64 { return i.Idx(i.ordinal) }
func (i *SequenceIterator) T() float64 { return i.SeqT() }
func (i *SequenceIterator) Ordinal() int { return i.ordinal }
func (i *SequenceIterator) StartB() float64 { return i.Idx(0) }
func (i *SequenceIterator) EndB() float64 { return i.Idx(i.Len() - 1) }
func (i *SequenceIterator) Duration() float64 { return i.EndB() - i.StartB() }
func (i *SequenceIterator) First() bool { return i.SeqFirst() }
func (i *SequenceIterator) Last() bool { return i.SeqLast() }
func (i *SequenceIterator) ToRange() Range { return i }
func (i *SequenceIterator) ToSequence() Sequence { return i } | timer/sequence.go | 0.820362 | 0.457016 | sequence.go | starcoder |
package redisearch
import (
"fmt"
"github.com/gomodule/redigo/redis"
"sort"
)
// SpellCheckOptions are options which are passed when performing spelling correction on a query
type SpellCheckOptions struct {
Distance int
ExclusionDicts []string
InclusionDicts []string
}
func NewSpellCheckOptionsDefaults() *SpellCheckOptions {
return &SpellCheckOptions{
Distance: 1,
ExclusionDicts: make([]string, 0),
InclusionDicts: make([]string, 0),
}
}
func NewSpellCheckOptions(distance int) *SpellCheckOptions {
return &SpellCheckOptions{
Distance: distance,
ExclusionDicts: make([]string, 0),
InclusionDicts: make([]string, 0),
}
}
// SetDistance Sets the the maximal Levenshtein distance for spelling suggestions (default: 1, max: 4)
func (s *SpellCheckOptions) SetDistance(distance int) (*SpellCheckOptions, error) {
if distance < 1 || distance > 4 {
return s, fmt.Errorf("The maximal Levenshtein distance for spelling suggestions should be between [1,4]. Got %d", distance)
} else {
s.Distance = distance
}
return s, nil
}
// AddExclusionDict adds a custom dictionary named {dictname} to the exclusion list
func (s *SpellCheckOptions) AddExclusionDict(dictname string) *SpellCheckOptions {
s.ExclusionDicts = append(s.ExclusionDicts, dictname)
return s
}
// AddInclusionDict adds a custom dictionary named {dictname} to the inclusion list
func (s *SpellCheckOptions) AddInclusionDict(dictname string) *SpellCheckOptions {
s.InclusionDicts = append(s.InclusionDicts, dictname)
return s
}
func (s SpellCheckOptions) serialize() redis.Args {
args := redis.Args{}
if s.Distance > 1 {
args = args.Add("DISTANCE").Add(s.Distance)
}
for _, exclusion := range s.ExclusionDicts {
args = args.Add("TERMS").Add("EXCLUDE").Add(exclusion)
}
for _, inclusion := range s.InclusionDicts {
args = args.Add("TERMS").Add("INCLUDE").Add(inclusion)
}
return args
}
// MisspelledSuggestion is a single suggestion from the spelling corrections
type MisspelledSuggestion struct {
Suggestion string
Score float32
}
// NewMisspelledSuggestion creates a MisspelledSuggestion with the specific term and score
func NewMisspelledSuggestion(term string, score float32) MisspelledSuggestion {
return MisspelledSuggestion{
Suggestion: term,
Score: score,
}
}
// MisspelledTerm contains the misspelled term and a sortable list of suggestions returned from an engine
type MisspelledTerm struct {
Term string
// MisspelledSuggestionList is a sortable list of suggestions returned from an engine
MisspelledSuggestionList []MisspelledSuggestion
}
func NewMisspelledTerm(term string) MisspelledTerm {
return MisspelledTerm{
Term: term,
MisspelledSuggestionList: make([]MisspelledSuggestion, 0),
}
}
func (l MisspelledTerm) Len() int { return len(l.MisspelledSuggestionList) }
func (l MisspelledTerm) Swap(i, j int) {
l.MisspelledSuggestionList[i], l.MisspelledSuggestionList[j] = l.MisspelledSuggestionList[j], l.MisspelledSuggestionList[i]
}
func (l MisspelledTerm) Less(i, j int) bool {
return l.MisspelledSuggestionList[i].Score > l.MisspelledSuggestionList[j].Score
} //reverse sorting
// Sort the SuggestionList
func (l MisspelledTerm) Sort() {
sort.Sort(l)
}
// convert the result from a redis spelling correction on a query to a proper MisspelledTerm object
func loadMisspelledTerm(arr []interface{}, termIdx, suggIdx int) (missT MisspelledTerm, err error) {
term, err := redis.String(arr[termIdx], err)
if err != nil {
return MisspelledTerm{}, fmt.Errorf("Could not parse term: %s", err)
}
missT = NewMisspelledTerm(term)
lst, err := redis.Values(arr[suggIdx], err)
if err != nil {
return MisspelledTerm{}, fmt.Errorf("Could not get the array of suggestions for spelling corrections on term %s. Error: %s", term, err)
}
for i := 0; i < len(lst); i++ {
innerLst, err := redis.Values(lst[i], err)
if err != nil {
return MisspelledTerm{}, fmt.Errorf("Could not get the inner array of suggestions for spelling corrections on term %s. Error: %s", term, err)
}
score, err := redis.Float64(innerLst[0], err)
if err != nil {
return MisspelledTerm{}, fmt.Errorf("Could not parse score: %s", err)
}
suggestion, err := redis.String(innerLst[1], err)
if err != nil {
return MisspelledTerm{}, fmt.Errorf("Could not parse suggestion: %s", err)
}
missT.MisspelledSuggestionList = append(missT.MisspelledSuggestionList, NewMisspelledSuggestion(suggestion, float32(score)))
}
return missT, nil
} | redisearch/spellcheck.go | 0.696165 | 0.454048 | spellcheck.go | starcoder |
package skiplist
import (
"time"
)
// Duplist is a modified skiplist implementation allowing duplicate time
// keys to exist inside the same list. Elements with duplicate keys are
// adjacent inside Duplist, with a later insert placed left of earlier ones.
// Elements with different keys are sorted in ascending order as usual.
// Duplist is required for implementing TTL.
// Duplist does not allow random get or delete by specifying a key and instead
// only allows get or delete on the first element of the list, or delete by
// specifying an element pointer.
type Duplist struct {
front []*DupElement
maxHeight int
}
func NewDuplist(maxHeight int) *Duplist {
d := &Duplist{}
d.Init(maxHeight)
return d
}
func (d *Duplist) Init(maxHeight int) {
d.front = make([]*DupElement, maxHeight)
if !(maxHeight < 2 || maxHeight >= 64) {
d.maxHeight = maxHeight
} else {
panic(`Duplist maximum height must be between 2 and 64`)
}
}
func (d *Duplist) First() *DupElement {
return d.front[0]
}
func (d *Duplist) DelElement(de *DupElement) {
if de == nil {
return
}
left, it := d.iterSearch(de)
if it == de {
d.del(left, it)
}
}
func (d *Duplist) iterSearch(de *DupElement) (left []*DupElement, iter *DupElement) {
left = make([]*DupElement, d.maxHeight)
for h := d.maxHeight - 1; h >= 0; h-- {
if h == d.maxHeight-1 || left[h+1] == nil {
iter = d.front[h]
} else {
left[h] = left[h+1]
iter = left[h].nexts[h]
}
for {
if iter == nil || iter == de || de.key.Before(iter.key) {
break
} else {
left[h] = iter
iter = iter.nexts[h]
}
}
}
return
}
func (d *Duplist) del(left []*DupElement, de *DupElement) {
for i := 0; i < len(de.nexts); i++ {
d.reassignLeftAtIndex(i, left, de.nexts[i])
}
}
func (d *Duplist) Insert(key time.Time, val string) *DupElement {
de := newDupElem(key, val, d.maxHeight)
if d.front[0] == nil {
d.insert(d.front, de, nil)
} else {
d.searchAndInsert(de)
}
return de
}
func (d *Duplist) searchAndInsert(de *DupElement) {
left, iter := d.search(de.key)
d.insert(left, de, iter)
}
func (d *Duplist) search(key time.Time) (left []*DupElement, iter *DupElement) {
left = make([]*DupElement, d.maxHeight)
for h := d.maxHeight - 1; h >= 0; h-- {
if h == d.maxHeight-1 || left[h+1] == nil {
iter = d.front[h]
} else {
left[h] = left[h+1]
iter = left[h].nexts[h]
}
for {
if iter == nil || key.Before(iter.key) || key.Equal(iter.key) { // slow comparison
break
} else {
left[h] = iter
iter = iter.nexts[h]
}
}
}
return
}
func (d *Duplist) insert(left []*DupElement, de, right *DupElement) {
for i := 0; i < len(de.nexts); i++ {
if right != nil && i < len(right.nexts) {
de.nexts[i] = right
} else {
d.takeNextsFromLeftAtIndex(i, left, de)
}
d.reassignLeftAtIndex(i, left, de)
}
}
func (d *Duplist) takeNextsFromLeftAtIndex(i int, left []*DupElement, de *DupElement) {
if left[i] != nil {
de.nexts[i] = left[i].nexts[i]
} else {
de.nexts[i] = d.front[i]
}
}
func (d *Duplist) reassignLeftAtIndex(i int, left []*DupElement, de *DupElement) {
if left[i] == nil {
d.front[i] = de
} else {
left[i].nexts[i] = de
}
}
func (d *Duplist) DelFirst() {
for i := 0; i < d.maxHeight; i++ {
if d.front[i] == nil || d.front[i] != d.front[0] {
continue
}
d.front[i] = d.front[i].nexts[i]
}
} | skiplist/duplist.go | 0.596081 | 0.455138 | duplist.go | starcoder |
package snigo
import (
"math"
)
const (
DefaultGamma = 1
DefaultTheta = 1
DefaultDetectionRequirement = 3
)
// Detect source window using positive and negative reference signals for a trend.
// You should loop this function in your worker until detection requirement is met.
// So if your detection requirement is 3, and this function return `true` 3 times in a row,
// then a trend is detected.
func Detect(sourceWindow []float64, positiveReferenceSignals, negativeReferenceSignals [][]float64, gamma float64, theta float64) bool {
negativeDistances := []float64{}
positiveDistances := []float64{}
for _, positiveReference := range positiveReferenceSignals {
distanceToPositiveReference := DistanceToReference(sourceWindow, positiveReference)
positiveDistances = append(positiveDistances, distanceToPositiveReference)
}
for _, negativeReference := range negativeReferenceSignals {
distanceToNegativeReference := DistanceToReference(sourceWindow, negativeReference)
negativeDistances = append(negativeDistances, distanceToNegativeReference)
}
ratio := ProbabilityClass(positiveDistances, gamma) / ProbabilityClass(negativeDistances, gamma)
if ratio > theta {
return true
}
return false
}
// Compute the minimum distance between `source` and all pieces of `reference` of the same length as `source`.
func DistanceToReference(source, reference []float64) float64 {
nOfObservation := len(source)
nOfReference := len(reference)
minimumDistance := math.Inf(1)
for i := 0; i < (nOfReference - nOfObservation + 1); i++ {
to := i + nOfObservation - 1
distance := Distance(reference[i:to], source)
minimumDistance = math.Min(minimumDistance, distance)
}
return minimumDistance
}
// Compute Euclidean distance between two signals `source` and `target` with same length.
func Distance(source, target []float64) float64 {
distance := 0.0
for i := 0; i < len(source); i++ {
distance = distance + math.Pow(source[i]-target[i], 2)
}
return distance
}
// Using the distance of an observation to the reference signals of a certain class,
// compute a number proportional to the probability that the observation belongs to that class.
func ProbabilityClass(distances []float64, gamma float64) float64 {
probability := 0.0
for _, distance := range distances {
probability = probability + math.Exp(-1*gamma*distance)
}
return probability
} | snigo.go | 0.88113 | 0.524334 | snigo.go | starcoder |
package ml
import (
"fmt"
"math"
"sync"
)
type Quadratic struct {
X, Y []float64
A, B, C float64
}
type resource struct {
prop string
value float64
}
/*
source: https://www.easycalculation.com/statistics/learn-quadratic-regression.php
Quadratic Regression Equation(y) = a x^2 + b x + c
a = { [ . x2 y * . xx ] - [. xy * . xx2 ] } / { [ . xx * . x2x 2] - [. xx2 ]2 }
b = { [ . xy * . x2x2 ] - [. x2y * . xx2 ] } / { [ . xx * . x2x 2] - [. xx2 ]2 }
c = [ . y / n ] - { b * [ . x / n ] } - { a * [ . x 2 / n ] }
*/
func (q *Quadratic) LoadModel() {
resources := make(map[string]float64)
q.calcFirstValues(resources)
q.calcSecondValues(resources)
var wg sync.WaitGroup
wg.Add(2)
go func() {
q.A = (resources["x^2y"]*resources["xx"] - resources["xy"]*resources["xx^2"]) / (resources["xx"]*resources["x^2x^2"] - math.Pow(resources["xx^2"], 2))
wg.Done()
}()
go func() {
q.B = (resources["xy"]*resources["x^2x^2"] - resources["x^2y"]*resources["xx^2"]) / (resources["xx"]*resources["x^2x^2"] - math.Pow(resources["xx^2"], 2))
wg.Done()
}()
wg.Wait()
q.C = (resources["sumy"] / resources["n"]) - (q.B * resources["sumx"] / resources["n"]) - (q.A * resources["sumx^2"] / resources["n"])
return
}
func (q *Quadratic) calcFirstValues(resources map[string]float64) {
ch := make(chan resource)
go func() {
ch <- resource{prop: "n", value: float64(len(q.X))}
}()
go func() {
ch <- resource{prop: "sumx", value: Sum(q.X)}
}()
go func() {
ch <- resource{prop: "sumy", value: Sum(q.Y)}
}()
go func() {
ch <- resource{prop: "sumx^2", value: SumPow(q.X, 2)}
}()
go func() {
ch <- resource{prop: "sumx^3", value: SumPow(q.X, 3)}
}()
go func() {
ch <- resource{prop: "sumx^4", value: SumPow(q.X, 4)}
}()
go func() {
ch <- resource{prop: "sumx*y", value: SumMult(q.X, q.Y)}
}()
go func() {
ch <- resource{prop: "sumx^2*y", value: SumMult(PowArray(q.X, 2), q.Y)}
}()
calcResources := 0
for r := range ch {
calcResources++
resources[r.prop] = r.value
if calcResources == 8 {
close(ch)
}
}
}
func (q *Quadratic) calcSecondValues(resources map[string]float64) {
ch := make(chan resource)
go func() {
ch <- resource{prop: "xx", value: (resources["sumx^2"] - (math.Pow(resources["sumx"], 2) / resources["n"]))}
}()
go func() {
ch <- resource{prop: "xy", value: resources["sumx*y"] - ((resources["sumx"] * resources["sumy"]) / resources["n"])}
}()
go func() {
ch <- resource{prop: "xx^2", value: resources["sumx^3"] - ((resources["sumx^2"] * resources["sumx"]) / resources["n"])}
}()
go func() {
ch <- resource{prop: "x^2y", value: resources["sumx^2*y"] - ((resources["sumx^2"] * resources["sumy"]) / resources["n"])}
}()
go func() {
ch <- resource{prop: "x^2x^2", value: resources["sumx^4"] - (math.Pow(resources["sumx^2"], 2) / resources["n"])}
}()
calcResources := 0
for r := range ch {
calcResources++
resources[r.prop] = r.value
if calcResources == 5 {
close(ch)
}
}
}
func PowArray(x []float64, exp float64) (sum []float64) {
sum = make([]float64, len(x), len(x))
for i, v := range x {
sum[i] = math.Pow(v, exp)
}
return
}
func SumMult(x, y []float64) (sum float64) {
for i, v := range x {
sum += v * y[i]
}
return
}
func Sum(values []float64) (sum float64) {
for _, v := range values {
sum += v
}
return
}
func SumPow(values []float64, exp float64) (sum float64) {
for _, v := range values {
sum += math.Pow(v, exp)
}
return
}
func (q Quadratic) String() string {
return fmt.Sprintf("{%q:%f,%q:%f,%q:%f}", "a", q.A, "b", q.B, "c", q.C)
} | quadratic.go | 0.531696 | 0.525369 | quadratic.go | starcoder |
package local
import (
"encoding/binary"
"github.com/pingcap/errors"
"github.com/pingcap/tidb/util/codec"
)
// KeyAdapter is used to encode and decode keys.
type KeyAdapter interface {
// Encode encodes key with rowID and offset. It guarantees the encoded key is in ascending order for comparison.
// `buf` is used to buffer data to avoid the cost of make slice.
// Implementations of Encode must not reuse the key for encoding.
Encode(buf []byte, key []byte, rowID int64, offset int64) []byte
// Decode decodes the original key. `buf` is used to buffer data to avoid the cost of make slice.
// Implementations of Decode must not reuse the data for decoding.
Decode(buf []byte, data []byte) (key []byte, rowID int64, offset int64, err error)
// EncodedLen returns the encoded key length.
EncodedLen(key []byte) int
}
func reallocBytes(b []byte, n int) []byte {
newSize := len(b) + n
if cap(b) < newSize {
bs := make([]byte, len(b), newSize)
copy(bs, b)
return bs
}
return b
}
type noopKeyAdapter struct{}
func (noopKeyAdapter) Encode(buf []byte, key []byte, _ int64, _ int64) []byte {
return append(buf[:0], key...)
}
func (noopKeyAdapter) Decode(buf []byte, data []byte) (key []byte, rowID int64, offset int64, err error) {
key = append(buf[:0], data...)
return
}
func (noopKeyAdapter) EncodedLen(key []byte) int {
return len(key)
}
var _ KeyAdapter = noopKeyAdapter{}
type duplicateKeyAdapter struct{}
func (duplicateKeyAdapter) Encode(buf []byte, key []byte, rowID int64, offset int64) []byte {
buf = codec.EncodeBytes(buf[:0], key)
buf = reallocBytes(buf, 16)
n := len(buf)
buf = buf[:n+16]
binary.BigEndian.PutUint64(buf[n:n+8], uint64(rowID))
binary.BigEndian.PutUint64(buf[n+8:], uint64(offset))
return buf
}
func (duplicateKeyAdapter) Decode(buf []byte, data []byte) (key []byte, rowID int64, offset int64, err error) {
if len(data) < 16 {
return nil, 0, 0, errors.New("insufficient bytes to decode value")
}
_, key, err = codec.DecodeBytes(data[:len(data)-16], buf)
if err != nil {
return
}
rowID = int64(binary.BigEndian.Uint64(data[len(data)-16 : len(data)-8]))
offset = int64(binary.BigEndian.Uint64(data[len(data)-8:]))
return
}
func (duplicateKeyAdapter) EncodedLen(key []byte) int {
return codec.EncodedBytesLength(len(key)) + 16
}
var _ KeyAdapter = duplicateKeyAdapter{} | br/pkg/lightning/backend/local/key_adapter.go | 0.739328 | 0.411939 | key_adapter.go | starcoder |
package collection
// Indexable provides the methods necessary for using an object in the indexing structures.
type Indexable interface {
GetID() string
GetField(string) interface{}
}
// Index for a field on an Indexable
type Index interface {
// Add the passed indexable to the index
Add(obj Indexable)
// Update the passed indexable in the index
Update(obj Indexable)
// Remove the passed indexable from the index (removed by ID)
Remove(obj Indexable)
// LookupValue in the index and return the ID's that correspond to it
LookupValue(fieldValue interface{}) []string
}
type index struct {
name string
valuesToIDs map[interface{}]Set
}
// NewIndex for the passed field name, objects added to this index will be
// indexed by the value in this field.
func NewIndex(fieldName string) Index {
return &index{name: fieldName, valuesToIDs: make(map[interface{}]Set)}
}
func (idx *index) Add(obj Indexable) {
fieldValue := obj.GetField(idx.name)
ids, ok := idx.valuesToIDs[fieldValue]
if !ok {
ids = NewSet(obj.GetID())
} else {
ids.Add(obj.GetID())
}
idx.valuesToIDs[fieldValue] = ids
}
func (idx *index) Update(obj Indexable) {
fieldValue := obj.GetField(idx.name)
id := obj.GetID()
s, ok := idx.valuesToIDs[fieldValue]
if !ok {
idx.Add(obj)
}
if !ok || !s.Contains(id) {
for fv, set := range idx.valuesToIDs {
if fv == fieldValue {
set.Add(id)
} else {
set.Remove(id)
}
}
}
}
func (idx *index) Remove(obj Indexable) {
id := obj.GetID()
for _, set := range idx.valuesToIDs {
set.Remove(id)
}
}
func stringify(objs []interface{}) []string {
i := 0
strs := make([]string, len(objs))
for _, o := range objs {
str, ok := o.(string)
if ok {
strs[i] = str
} else {
strs[i] = ""
}
i++
}
return strs
}
func (idx *index) LookupValue(fieldValue interface{}) []string {
set, ok := idx.valuesToIDs[fieldValue]
var v []string
if ok {
v = stringify(set.Elements())
} else {
v = make([]string, 0)
}
return v
}
// indexer of arbitrary fields on Indexable structs.
type indexer struct {
objects map[string]Indexable
indices map[string]Index
}
// Indexer exposes methods that allow for indexing arbitrary fields on an object collection.
type Indexer interface {
// Index the field name for all objects added to this indexer
Index(fieldName string)
// Contains the passed id
Contains(id string) bool
// Add the passed indexable to all the indices
Add(obj Indexable)
// Remove the passed indexable from all indices
Remove(obj Indexable)
// Values in the indexes that have the fieldName assigned the fieldValue, returns
// false if there is no index supporting the passed field name.
Values(fieldName string, fieldValue interface{}) ([]Indexable, bool)
// Get the indexable for the passed ID form this indexer.
Get(id string) (Indexable, bool)
// Count the number of distinct records in this indexer
Count() int
// Iterate all values in this indexer
Iterate() []Indexable
}
// NewIndexer empty indexer.
func NewIndexer() Indexer {
return &indexer{objects: make(map[string]Indexable), indices: make(map[string]Index)}
}
// Index for the passed field name.
func (indxr *indexer) Index(fieldName string) {
_, ok := indxr.indices[fieldName]
if !ok {
index := NewIndex(fieldName)
indxr.indices[fieldName] = index
for _, obj := range indxr.objects {
index.Add(obj)
}
}
}
// Iterate all values in this indexer
func (indxr *indexer) Iterate() []Indexable {
objects := make([]Indexable, len(indxr.objects))
i := 0
for _, v := range indxr.objects {
objects[i] = v
i++
}
return objects
}
// Add the indexable object to this Indexers's indices.
func (indxr *indexer) Add(obj Indexable) {
_, exists := indxr.objects[obj.GetID()]
indxr.objects[obj.GetID()] = obj
for _, index := range indxr.indices {
if exists {
index.Update(obj)
} else {
index.Add(obj)
}
}
}
// Remove the indexable object from this Indexers's indices.
func (indxr *indexer) Remove(obj Indexable) {
id := obj.GetID()
_, exists := indxr.objects[id]
delete(indxr.objects, id)
if exists {
for _, index := range indxr.indices {
index.Remove(obj)
}
}
}
func (indxr *indexer) Contains(id string) bool {
_, ok := indxr.objects[id]
return ok
}
// Get the passed indexable by id.
func (indxr *indexer) Get(id string) (Indexable, bool) {
obj, ok := indxr.objects[id]
return obj, ok
}
func (indxr *indexer) Count() int {
return len(indxr.objects)
}
// Values in the index for the passed field name with the passed field value.
func (indxr *indexer) Values(fieldName string, fieldValue interface{}) ([]Indexable, bool) {
index, ok := indxr.indices[fieldName]
var values []Indexable
if ok {
ids := index.LookupValue(fieldValue)
values = make([]Indexable, len(ids))
for i, id := range ids {
values[i] = indxr.objects[id]
}
}
return values, ok
} | collection/indexer.go | 0.639398 | 0.492859 | indexer.go | starcoder |
package main
import "strconv"
/*
Implement atoi which converts a string to an integer.
The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interprets them as a numerical value.
The string can contain additional characters after those that form the integral number, which are ignored and have no effect on the behavior of this function.
If the first sequence of non-whitespace characters in str is not a valid integral number, or if no such sequence exists because either str is empty or it contains only whitespace characters, no conversion is performed.
If no valid conversion could be performed, a zero value is returned.
Note:
Only the space character ' ' is considered as whitespace character.
Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231, 231 − 1]. If the numerical value is out of the range of representable values, INT_MAX (231 − 1) or INT_MIN (−231) is returned.
Example 1:
Input: "42"
Output: 42
Example 2:
Input: " -42"
Output: -42
Explanation: The first non-whitespace character is '-', which is the minus sign.
Then take as many numerical digits as possible, which gets 42.
Example 3:
Input: "4193 with words"
Output: 4193
Explanation: Conversion stops at digit '3' as the next character is not a numerical digit.
Example 4:
Input: "words and 987"
Output: 0
Explanation: The first non-whitespace character is 'w', which is not a numerical
digit or a +/- sign. Therefore no valid conversion could be performed.
Example 5:
Input: "-91283472332"
Output: -2147483648
Explanation: The number "-91283472332" is out of the range of a 32-bit signed integer.
Thefore INT_MIN (−231) is returned.
*/
func myAtoi(str string) int {
res := 0
if len(str) == 0 {
return res
}
res, _ = strconv.Atoi(str)
return res
} | main/myAtoi.go | 0.784855 | 0.697107 | myAtoi.go | starcoder |
package types
// Reference: https://www.ietf.org/rfc/rfc4120.txt
// Section: 5.2.8
import (
"github.com/jcmturner/asn1"
)
/*
KerberosFlags
For several message types, a specific constrained bit string type,
KerberosFlags, is used.
KerberosFlags ::= BIT STRING (SIZE (32..MAX))
-- minimum number of bits shall be sent,
-- but no fewer than 32
Compatibility note: The following paragraphs describe a change from
the RFC 1510 description of bit strings that would result in
incompatility in the case of an implementation that strictly
conformed to ASN.1 DER and RFC 1510.
ASN.1 bit strings have multiple uses. The simplest use of a bit
string is to contain a vector of bits, with no particular meaning
attached to individual bits. This vector of bits is not necessarily
a multiple of eight bits long. The use in Kerberos of a bit string
as a compact boolean vector wherein each element has a distinct
meaning poses some problems. The natural notation for a compact
boolean vector is the ASN.1 "NamedBit" notation, and the DER require
that encodings of a bit string using "NamedBit" notation exclude any
trailing zero bits. This truncation is easy to neglect, especially
given C language implementations that naturally choose to store
boolean vectors as 32-bit integers.
For example, if the notation for KDCOptions were to include the
"NamedBit" notation, as in RFC 1510, and a KDCOptions value to be
encoded had only the "forwardable" (bit number one) bit set, the DER
encoding MUST include only two bits: the first reserved bit
("reserved", bit number zero, value zero) and the one-valued bit (bit
number one) for "forwardable".
Most existing implementations of Kerberos unconditionally send 32
bits on the wire when encoding bit strings used as boolean vectors.
This behavior violates the ASN.1 syntax used for flag values in RFC
1510, but it occurs on such a widely installed base that the protocol
description is being modified to accommodate it.
Consequently, this document removes the "NamedBit" notations for
individual bits, relegating them to comments. The size constraint on
the KerberosFlags type requires that at least 32 bits be encoded at
all times, though a lenient implementation MAY choose to accept fewer
than 32 bits and to treat the missing bits as set to zero.
Currently, no uses of KerberosFlags specify more than 32 bits' worth
of flags, although future revisions of this document may do so. When
more than 32 bits are to be transmitted in a KerberosFlags value,
future revisions to this document will likely specify that the
smallest number of bits needed to encode the highest-numbered one-
valued bit should be sent. This is somewhat similar to the DER
encoding of a bit string that is declared with the "NamedBit"
notation.
*/
// NewKrbFlags returns an ASN1 BitString struct of the right size for KrbFlags.
func NewKrbFlags() asn1.BitString {
f := asn1.BitString{}
f.Bytes = make([]byte, 4)
f.BitLength = len(f.Bytes) * 8
return f
}
// SetFlags sets the flags of an ASN1 BitString.
func SetFlags(f *asn1.BitString, j []int) {
for _, i := range j {
SetFlag(f, i)
}
}
// SetFlag sets a flag in an ASN1 BitString.
func SetFlag(f *asn1.BitString, i int) {
for l := len(f.Bytes); l < 4; l++ {
(*f).Bytes = append((*f).Bytes, byte(0))
(*f).BitLength = len((*f).Bytes) * 8
}
//Which byte?
b := int(i / 8)
//Which bit in byte
p := uint(7 - (i - 8*b))
(*f).Bytes[b] = (*f).Bytes[b] | (1 << p)
}
// UnsetFlags unsets flags in an ASN1 BitString.
func UnsetFlags(f *asn1.BitString, j []int) {
for _, i := range j {
UnsetFlag(f, i)
}
}
// UnsetFlag unsets a flag in an ASN1 BitString.
func UnsetFlag(f *asn1.BitString, i int) {
for l := len(f.Bytes); l < 4; l++ {
(*f).Bytes = append((*f).Bytes, byte(0))
(*f).BitLength = len((*f).Bytes) * 8
}
//Which byte?
b := int(i / 8)
//Which bit in byte
p := uint(7 - (i - 8*b))
(*f).Bytes[b] = (*f).Bytes[b] &^ (1 << p)
}
// IsFlagSet tests if a flag is set in the ASN1 BitString.
func IsFlagSet(f *asn1.BitString, i int) bool {
//Which byte?
b := int(i / 8)
//Which bit in byte
p := uint(7 - (i - 8*b))
if (*f).Bytes[b]&(1<<p) != 0 {
return true
}
return false
} | types/KerberosFlags.go | 0.790409 | 0.573649 | KerberosFlags.go | starcoder |
package shape
import (
"github.com/oakmound/oak/alg/intgeom"
)
// GetHoles finds sets of points which are not In this shape that
// are adjacent.
func GetHoles(sh Shape, w, h int) [][]intgeom.Point2 {
return getHoles(sh, w, h, false)
}
// GetBorderHoles finds sets of points which are not In this shape that
// are adjacent in addition to the space around the shape
// (ie points that border the shape)
func GetBorderHoles(sh Shape, w, h int) [][]intgeom.Point2 {
return getHoles(sh, w, h, true)
}
// getHoles is an internal function that finds sets of points which are not In this shape that
// are adjacent.
func getHoles(sh Shape, w, h int, includeBorder bool) [][]intgeom.Point2 {
flooding := make(map[intgeom.Point2]bool)
for x := 0; x < w; x++ {
for y := 0; y < h; y++ {
if !sh.In(x, y) {
flooding[intgeom.Point2{x, y}] = true
}
}
}
if !includeBorder {
border := borderPoints(w, h)
for _, p := range border {
if !sh.In(p.X(), p.Y()) {
bfsFlood(flooding, p)
}
}
// flooding is now a map of holes, points which are false
// but not on the border.
}
out := make([][]intgeom.Point2, 0)
for len(flooding) > 0 {
for k := range flooding {
out = append(out, bfsFlood(flooding, k))
}
}
return out
}
func borderPoints(w, h int) []intgeom.Point2 {
out := make([]intgeom.Point2, (w*2+h*2)-4)
i := 0
for x := 0; x < w; x++ {
out[i] = intgeom.Point2{x, 0}
out[i+1] = intgeom.Point2{x, h - 1}
i += 2
}
for y := 1; y < h-1; y++ {
out[i] = intgeom.Point2{0, y}
out[i+1] = intgeom.Point2{w - 1, y}
i += 2
}
return out
}
func bfsFlood(m map[intgeom.Point2]bool, start intgeom.Point2) []intgeom.Point2 {
visited := []intgeom.Point2{}
toVisit := map[intgeom.Point2]bool{start: true}
for len(toVisit) > 0 {
for next := range toVisit {
delete(m, next)
delete(toVisit, next)
visited = append(visited, next)
// literally adjacent points for adjacency
for x := -1; x <= 1; x++ {
for y := -1; y <= 1; y++ {
p := intgeom.Point2{x + next.X(), y + next.Y()}
if _, ok := m[p]; ok {
toVisit[p] = true
}
}
}
}
}
return visited
} | shape/holes.go | 0.688154 | 0.493042 | holes.go | starcoder |
package isk
import (
"math"
"strconv"
"strings"
)
//RoundPrec Round a number to given precision credit to https://github.com/DeyV/gotools/blob/master/numbers.go
func RoundPrec(x float64, prec int) float64 {
if math.IsNaN(x) || math.IsInf(x, 0) {
return x
}
sign := 1.0
if x < 0 {
sign = -1
x *= -1
}
var rounder float64
pow := math.Pow(10, float64(prec))
intermed := x * pow
_, frac := math.Modf(intermed)
if frac >= 0.5 {
rounder = math.Ceil(intermed)
} else {
rounder = math.Floor(intermed)
}
return rounder / pow * sign
}
//NumberFormat Return number in given format
func NumberFormat(number float64, decimals int, decPoint, thousandsSep string) string {
if math.IsNaN(number) || math.IsInf(number, 0) {
number = 0
}
var ret string
var negative bool
if number < 0 {
number *= -1
negative = true
}
d, fract := math.Modf(number)
if decimals <= 0 {
fract = 0
} else {
pow := math.Pow(10, float64(decimals))
fract = RoundPrec(fract*pow, 0)
}
if thousandsSep == "" {
ret = strconv.FormatFloat(d, 'f', 0, 64)
} else if d >= 1 {
var x float64
for d >= 1 {
d, x = math.Modf(d / 1000)
x = x * 1000
ret = strconv.FormatFloat(x, 'f', 0, 64) + ret
if d >= 1 {
ret = thousandsSep + ret
}
}
} else {
ret = "0"
}
fracts := strconv.FormatFloat(fract, 'f', 0, 64)
// "0" pad left
for i := len(fracts); i < decimals; i++ {
fracts = "0" + fracts
}
ret += decPoint + fracts
if negative {
ret = "-" + ret
}
return ret
}
//RoundInt Round a float to an int
func RoundInt(input float64) int {
var result float64
if input < 0 {
result = math.Ceil(input - 0.5)
} else {
result = math.Floor(input + 0.5)
}
// only interested in integer, ignore fractional
i, _ := math.Modf(result)
return int(i)
}
//FormatNumber Format number with default formatting
func FormatNumber(input float64) string {
x := RoundInt(input)
xFormatted := NumberFormat(float64(x), 2, ".", ",")
return xFormatted
}
//NearestThousandFormat Format number to default formatting, given to nearest thousand
func NearestThousandFormat(num float64) string {
if math.Abs(num) < 999.5 {
xNum := FormatNumber(num)
xNumStr := xNum[:len(xNum)-3]
return string(xNumStr)
}
xNum := FormatNumber(num)
// first, remove the .00 then convert to slice
xNumStr := xNum[:len(xNum)-3]
xNumCleaned := strings.Replace(xNumStr, ",", " ", -1)
xNumSlice := strings.Fields(xNumCleaned)
count := len(xNumSlice) - 2
unit := [4]string{"K", "M", "B", "T"}
xPart := unit[count]
afterDecimal := ""
if xNumSlice[1][0] != 0 {
afterDecimal = "." + string(xNumSlice[1][0])
}
final := xNumSlice[0] + afterDecimal + xPart
return final
} | isk/isk.go | 0.841565 | 0.461077 | isk.go | starcoder |
package DG2D
import (
"fmt"
"github.com/notargets/gocfd/utils"
)
type LagrangeElement2D struct {
N, Nfp, Np, NFaces int
R, S utils.Vector
Dr, Ds utils.Matrix
V, Vinv, MassMatrix utils.Matrix
Cub *Cubature
}
type Cubature struct {
r, s, w utils.Vector
W utils.Matrix
V, Dr, Ds, VT, DrT, DsT utils.Matrix
x, y, rx, sx, ry, sy, J utils.Matrix
mm, mmCHOL utils.Matrix
}
type NodeType string
const (
Epsilon = "Epsilon"
Hesthaven = "Hesthaven"
)
func NewLagrangeElement2D(N int, nodeType NodeType) (el *LagrangeElement2D) {
var (
err error
)
el = &LagrangeElement2D{
N: N,
Np: (N + 1) * (N + 2) / 2,
NFaces: 3,
}
if N < 1 {
panic(fmt.Errorf("Polynomial order must be >= 1, have %d", N))
}
el.Nfp = el.N + 1
el.Np = (el.N + 1) * (el.N + 2) / 2
el.NFaces = 3
// Compute nodal set
switch nodeType {
case Epsilon:
el.R, el.S = NodesEpsilon(el.N)
case Hesthaven:
el.R, el.S = XYtoRS(Nodes2D(el.N))
}
// Build reference element matrices
el.V = Vandermonde2D(el.N, el.R, el.S)
if el.Vinv, err = el.V.Inverse(); err != nil {
panic(err)
}
el.MassMatrix = el.Vinv.Transpose().Mul(el.Vinv)
// Initialize the (r,s) differentiation matrices on the simplex, evaluated at (r,s) at order N
/*
Vr, Vs := GradVandermonde2D(el.N, el.R, el.S)
el.Dr = Vr.Mul(el.Vinv)
el.Ds = Vs.Mul(el.Vinv)
*/
el.Dr, el.Ds = el.GetDerivativeMatrices(el.R, el.S)
// Mark fields read only
el.V.SetReadOnly("V")
el.Vinv.SetReadOnly("Vinv")
el.MassMatrix.SetReadOnly("MassMatrix")
el.Dr.SetReadOnly("Dr")
el.Ds.SetReadOnly("Ds")
return
}
func (el *LagrangeElement2D) GetDerivativeMatrices(R, S utils.Vector) (Dr, Ds utils.Matrix) {
Vr, Vs := GradVandermonde2D(el.N, R, S)
Dr, Ds = Vr.Mul(el.Vinv), Vs.Mul(el.Vinv)
return
}
func (el *LagrangeElement2D) Simplex2DInterpolatingPolyMatrix(R, S utils.Vector) (polyMatrix utils.Matrix) {
/*
Compose a matrix of interpolating polynomials where each row represents one [r,s] location to be interpolated
This matrix can then be multiplied by a single vector of function values at the polynomial nodes to produce a
vector of interpolated values, one for each interpolation location
*/
var (
N = el.N
Np = el.Np
)
// First compute polynomial terms, used by all polynomials
polyTerms := make([]float64, R.Len()*Np)
var sk int
for ii, r := range R.DataP {
s := S.DataP[ii]
for i := 0; i <= N; i++ {
for j := 0; j <= (N - i); j++ {
polyTerms[sk] = Simplex2DPTerm(r, s, i, j)
sk++
}
}
}
ptV := utils.NewMatrix(R.Len(), Np, polyTerms).Transpose()
polyMatrix = el.Vinv.Transpose().Mul(ptV).Transpose()
return
}
func (el *LagrangeElement2D) NewCube2D(COrder int) {
// function [cubR,cubS,cubW, Ncub] = Cubature2D(COrder)
// Purpose: provide multidimensional quadrature (i.e. cubature)
// rules to integrate up to COrder polynomials
if COrder > 28 {
COrder = 28
}
if COrder <= 28 {
cub2d := getCub(COrder)
nr := len(cub2d) / 3
cubMat := utils.NewMatrix(nr, 3, cub2d)
el.Cub = &Cubature{
r: cubMat.Col(0),
s: cubMat.Col(1),
w: cubMat.Col(2),
}
} else {
err := fmt.Errorf("Cubature2D(%d): COrder > 28 not yet tested\n", COrder)
panic(err)
/*
DVec cuba,cubwa, cubb,cubwb
DMat cubA, cubB, cubR, cubS, cubW, tA,tB
int cubNA=(int)ceil((COrder+1.0)/2.0)
int cubNB=(int)ceil((COrder+1.0)/2.0)
JacobiGQ(1.0, 0.0, cubNB-1, cubb,cubwb)
cubA = outer( ones(cubNB), cuba )
cubB = outer( cubb, ones(cubNA) )
tA = 1.0+cubA
tB = 1.0-cubB
cubR = 0.5 * tA.dm(tB) - 1.0
cubS = cubB
cubW = 0.5 * outer(cubwb, cubwa)
cub.r = cubR
cub.s = cubS
cub.w = cubW
cub.Ncub = cub.r.size()
*/
}
return
} | DG2D/LagrangeElement.go | 0.641871 | 0.546375 | LagrangeElement.go | starcoder |
package shape
import (
"math"
. "github.com/tatsy/gopt/src/core"
)
// Triangle is a triangle which holds three positions,
// normals and texture cooridnates.
type Triangle struct {
Points [3]*Vector3d
Normals [3]*Vector3d
TexCoords [3]*Vector2d
}
// NewTriangleWithP create a triangle with three positions.
func NewTriangleWithP(points [3]*Vector3d) *Triangle {
t := &Triangle{}
t.Points = points
e1 := t.Points[1].Subtract(t.Points[0])
e2 := t.Points[2].Subtract(t.Points[0])
normal := e2.Cross(e1).Normalized()
t.Normals = [3]*Vector3d{normal, normal, normal}
t.TexCoords = [3]*Vector2d{
NewVector2d(0.0, 0.0),
NewVector2d(0.0, 0.0),
NewVector2d(0.0, 0.0),
}
return t
}
func NewTriangleWithPT(points [3]*Vector3d, texCoords [3]*Vector2d) *Triangle {
t := &Triangle{}
t.Points = points
e1 := t.Points[1].Subtract(t.Points[0])
e2 := t.Points[2].Subtract(t.Points[0])
normal := e1.Cross(e2).Normalized()
t.Normals = [3]*Vector3d{normal, normal, normal}
t.TexCoords = texCoords
return t
}
func NewTriangleWithPN(points, normals [3]*Vector3d) *Triangle {
t := &Triangle{}
t.Points = points
t.Normals = normals
t.TexCoords = [3]*Vector2d{
NewVector2d(0.0, 0.0),
NewVector2d(0.0, 0.0),
NewVector2d(0.0, 0.0),
}
return t
}
func NewTriangleWithPTN(points [3]*Vector3d, texCoords [3]*Vector2d, normals [3]*Vector3d) *Triangle {
t := &Triangle{}
t.Points = points
t.Normals = normals
t.TexCoords = texCoords
return t
}
func (t *Triangle) Intersect(ray *Ray, tHit *Float, isect *Intersection) bool {
e1 := t.Points[1].Subtract(t.Points[0])
e2 := t.Points[2].Subtract(t.Points[0])
pVec := ray.Dir.Cross(e2)
det := e1.Dot(pVec)
if det > -Eps && det < Eps {
return false
}
invDet := 1.0 / det
tVec := ray.Org.Subtract(t.Points[0])
u := tVec.Dot(pVec) * invDet
if u < 0.0 || u > 1.0 {
return false
}
qVec := tVec.Cross(e1)
v := ray.Dir.Dot(qVec) * invDet
if v < 0.0 || u+v > 1.0 {
return false
}
*tHit = e2.Dot(qVec) * invDet
if *tHit <= Eps || *tHit > ray.MaxDist {
return false
}
pos := ray.Org.Add(ray.Dir.Scale(*tHit))
nrm := t.Normals[0].Scale(1.0 - u - v).
Add(t.Normals[1].Scale(u)).
Add(t.Normals[2].Scale(v)).
Normalized()
//Vector2d uv = (1.0 - u - v) * uvs_[0] + u * uvs_[1] + v * uvs_[2];
*isect = *NewIntersection(pos, nrm, ray.Dir.Negate())
return true
}
func (t *Triangle) SamplePoint(rnd *Vector2d) (*Vector3d, *Vector3d) {
u, v := rnd.X, rnd.Y
if u+v >= 1.0 {
u = 1.0 - u
v = 1.0 - v
}
pos := t.Points[0].Scale(1.0 - u - v).
Add(t.Points[1].Scale(u)).
Add(t.Points[2].Scale(v))
normal := t.Normals[0].Scale(1.0 - u - v).
Add(t.Normals[1].Scale(u)).
Add(t.Normals[2].Scale(v))
return pos, normal
}
func (t *Triangle) Pdf(isect *Intersection, wi *Vector3d) Float {
ray := NewRay(isect.Pos, wi)
var tHit Float
var temp Intersection
if !t.Intersect(ray, &tHit, &temp) {
return 0.0
}
dot := math.Max(0.0, -temp.Normal.Dot(ray.Dir))
dist2 := temp.Pos.Subtract(isect.Pos).LengthSquared()
return dist2 / (dot * t.Area())
}
func (t *Triangle) Area() Float {
e1 := t.Points[1].Subtract(t.Points[0])
e2 := t.Points[2].Subtract(t.Points[0])
return 0.5 * e1.Cross(e2).Length()
}
func (t *Triangle) Bounds() *Bounds3d {
b := NewBounds3d()
b.MinPos.X = math.Min(t.Points[0].X, math.Min(t.Points[1].X, t.Points[2].X))
b.MinPos.Y = math.Min(t.Points[0].Y, math.Min(t.Points[1].Y, t.Points[2].Y))
b.MinPos.Z = math.Min(t.Points[0].Z, math.Min(t.Points[1].Z, t.Points[2].Z))
b.MaxPos.X = math.Max(t.Points[0].X, math.Max(t.Points[1].X, t.Points[2].X))
b.MaxPos.Y = math.Max(t.Points[0].Y, math.Max(t.Points[1].Y, t.Points[2].Y))
b.MaxPos.Z = math.Max(t.Points[0].Z, math.Max(t.Points[1].Z, t.Points[2].Z))
return b
} | src/shape/triangle.go | 0.713032 | 0.846958 | triangle.go | starcoder |
package graph
import (
"math/rand"
"github.com/Tom-Johnston/mamba/comb"
"github.com/Tom-Johnston/mamba/sortints"
)
//Random Graphs
//RandomGraph returns an Erdős–Rényi graph with n vertices and edge probability p. The pseudorandomness is determined by the seed.
func RandomGraph(n int, p float64, seed int64) *DenseGraph {
r := rand.New(rand.NewSource(seed))
g := NewDense(n, nil)
for i := 0; i < n; i++ {
for j := 0; j < i; j++ {
if r.Float64() < p {
g.AddEdge(i, j)
}
}
}
return g
}
//RandomTree returns a tree chosen uniformly at random from all trees on n vertices.
//This constructs a random Prufer code and converts into a tree.
func RandomTree(n int, seed int64) *DenseGraph {
code := make([]int, n-2)
r := rand.New(rand.NewSource(seed))
for i := 0; i < n-2; i++ {
code[i] = r.Intn(n)
}
return PruferDecode(code)
}
//Specific Graphs
//CompleteGraph returns a copy of the complete graph on n vertices.
func CompleteGraph(n int) *DenseGraph {
edges := make([]byte, (n*(n-1))/2)
m := (n * (n - 1)) / 2
degrees := make([]int, n)
for i := range degrees {
degrees[i] = n - 1
}
for i := 0; i < len(edges); i++ {
edges[i] = 1
}
return &DenseGraph{NumberOfVertices: n, NumberOfEdges: m, DegreeSequence: degrees, Edges: edges}
}
//CompletePartiteGraph returns the complete partite graph where the ith part has nums[i] elements.
func CompletePartiteGraph(nums ...int) *DenseGraph {
n := 0
for _, v := range nums {
n += v
}
edges := make([]byte, (n*(n-1))/2)
degrees := make([]int, n)
m := 0
start := 0
end := 0
for _, v := range nums {
end += v
degree := n - v
for i := start; i < end; i++ {
degrees[i] = degree
}
for k := end; k < n; k++ {
for j := start; j < end; j++ {
edges[(k*(k-1))/2+j] = 1
m++
}
}
start = end
}
return &DenseGraph{NumberOfVertices: n, NumberOfEdges: m, DegreeSequence: degrees, Edges: edges}
}
//Path returns a copy of the path on n vertices.
func Path(n int) *DenseGraph {
edges := make([]byte, (n*(n-1))/2)
for i := 0; i < n-1; i++ {
edges[((i+1)*i)/2+i] = 1
}
degrees := make([]int, n)
if n > 0 {
degrees[0] = 1
degrees[n-1] = 1
for i := 1; i < n-1; i++ {
degrees[i] = 2
}
}
return &DenseGraph{NumberOfVertices: n, NumberOfEdges: n - 1, DegreeSequence: degrees, Edges: edges}
}
//Cycle returns a copy of the cycle on n vertices.
func Cycle(n int) *DenseGraph {
edges := make([]byte, (n*(n-1))/2)
for i := 0; i < n-1; i++ {
edges[((i+1)*i)/2+i] = 1
}
edges[((n-1)*(n-2))/2] = 1
degrees := make([]int, n)
for i := range degrees {
degrees[i] = 2
}
return &DenseGraph{NumberOfVertices: n, NumberOfEdges: n, DegreeSequence: degrees, Edges: edges}
}
//Star returns a copy of the star on n vertices.
func Star(n int) *DenseGraph {
edges := make([]byte, (n*(n-1))/2)
for i := 1; i < n; i++ {
edges[(i*(i-1))/2] = 1
}
degrees := make([]int, n)
if n > 0 {
degrees[0] = n - 1
for i := 1; i < n; i++ {
degrees[i] = 1
}
}
return &DenseGraph{NumberOfVertices: n, NumberOfEdges: n - 1, DegreeSequence: degrees, Edges: edges}
}
//RookGraph returns the n x m Rook graph i.e. the graph representing the moves of a rook on an n x m chessboard.
//If m = n, the graph is also called a Latin square graph.
func RookGraph(n, m int) *DenseGraph {
return LineGraphDense(CompletePartiteGraph(n, m))
}
//FlowerSnark returns the flower snark on 4n vertices for n odd.
//See https://en.wikipedia.org/wiki/Flower_snark
func FlowerSnark(n int) *DenseGraph {
if n&1 == 0 {
panic("n must be odd")
}
N := 4 * n
edges := make([]byte, (N*(N-1))/2)
for i := 0; i < n; i++ {
a := (4 * i)
b := a + 1
c := a + 2
d := a + 3
//Make a,b,c,d into a star with centre a.
edges[(b*(b-1))/2+a] = 1
edges[(c*(c-1))/2+a] = 1
edges[(d*(d-1))/2+a] = 1
if i < n-1 {
edges[((b+4)*(b+3))/2+b] = 1
edges[((c+4)*(c+3))/2+c] = 1
edges[((d+4)*(d+3))/2+d] = 1
} else {
edges[(b*(b-1))/2+1] = 1
edges[(c*(c-1))/2+3] = 1
edges[(d*(d-1))/2+2] = 1
}
}
return NewDense(N, edges)
}
//HypercubeGraph returns the dim-dimensional hypercube graph on 2^(dim) vertices.
func HypercubeGraph(dim int) *DenseGraph {
if dim < 0 {
panic("dim must be positive")
}
g := NewDense(1<<uint(dim), nil)
for i := 0; i < 1<<uint(dim); i++ {
var j uint
for j = 0; j < uint(dim); j++ {
g.AddEdge(i, i^(1<<j))
}
}
return g
}
//FoldedHypercubeGraph returns a hypergraph on 2^{(dim - 1)} vertices except each point is joined with its antipodal point.
func FoldedHypercubeGraph(dim int) *DenseGraph {
if dim < 1 {
panic("dim must be at least 1")
}
g := HypercubeGraph(dim - 1)
mask := 1<<uint(dim-1) - 1
for i := 0; i < 1<<uint(dim-2); i++ {
g.AddEdge(i, mask&^i)
}
return g
}
//KneserGraph returns the Kneser graph with parameters n and k. It has a vertex for each unordered subset of {0,...,n-1} of size k and an edge between two subsets if they are disjoint.
//The subsets are ordered in co-lexicographic.
func KneserGraph(n, k int) *DenseGraph {
N := comb.Coeff(n, k)
g := NewDense(N, nil)
for i := 0; i < N; i++ {
combi := comb.Unrank(i, k)
for j := i; j < N; j++ {
combj := comb.Unrank(j, k)
if sortints.IntersectionSize(combi, combj) == 0 {
g.AddEdge(i, j)
}
}
}
return g
}
//BipartiteKneserGraph returns the a bipartite graph vertices [n]^{(k)} on one side and [n]^{(n-k)} on the other and an edge between two sets if they are on different sides and one is a subset of the other.
func BipartiteKneserGraph(n, k int) *DenseGraph {
N := comb.Coeff(n, k)
size, overflow := addHasOverflowed(N, N)
if overflow {
panic("calculating the size of the graph overflows int")
}
g := NewDense(size, nil)
for i := 0; i < N; i++ {
combi := comb.Unrank(i, k)
for j := 0; j < N; j++ {
combj := comb.Unrank(j, n-k)
if sortints.IntersectionSize(combi, combj) == k {
g.AddEdge(i, N+j)
}
}
}
return g
}
//CirculantGraph generates a graph on n vertices where there is an edge between i and j if j-i is in diffs.
func CirculantGraph(n int, diffs ...int) *DenseGraph {
g := NewDense(n, nil)
for i := 0; i < n; i++ {
for _, v := range diffs {
targetVertex := (i + v) % n
if targetVertex < 0 {
targetVertex += n
}
g.AddEdge(i, targetVertex)
}
}
return g
}
//CirculantBipartiteGraph creates a bipartite graph with vertices a_1, \dots, a_n in one class, b_1, \dots, b_m in the other and a edge between a_i and b_j if j - i is in diffs (mod m).
func CirculantBipartiteGraph(n int, m int, diffs ...int) *DenseGraph {
g := NewDense(n+m, nil)
for i := 0; i < n; i++ {
for _, v := range diffs {
targetVertex := (i + v) % m
if targetVertex < 0 {
targetVertex += m
}
g.AddEdge(i, n+targetVertex)
}
}
return g
}
//GeneralisedPetersenGraph returns the graph with vertices {u_0,...u_{n-1}, v_0,...v_{n-1}} with edges {u_i u_{i+1}, u_i v_i, v_i v_{i+k}: i = 0,...,n − 1} where subscripts are to be read modulo n.
// n must be at least 3 and k must be between 1 and floor((n-1)/2).
//The Petersen graph is GeneralisedPetersenGraph(5,2) and several other named graphs are generalised Petersen graphs.
func GeneralisedPetersenGraph(n, k int) *DenseGraph {
if n < 3 {
panic("n must be at least 3.")
}
if k < 0 || k > (n-1)/2 {
panic("k must be at least 1 and at most floor((n-1)/2).")
}
g := NewDense(2*n, nil)
for i := 0; i < n; i++ {
g.AddEdge(i, (i+1)%n)
g.AddEdge(i, n+i)
g.AddEdge(n+i, n+((i+k)%n))
}
return g
}
//FriendshipGraph returns the graph woth 2n + 1 vertices and 3n edges which is n copies of C_3 which share a common vertex.
func FriendshipGraph(n int) *DenseGraph {
g := NewDense(2*n+1, nil)
for i := 0; i < n; i++ {
g.AddEdge(2*i+1, 2*i+2)
g.AddEdge(0, 2*i+1)
g.AddEdge(0, 2*i+2)
}
return g
} | graph/generating.go | 0.716913 | 0.518302 | generating.go | starcoder |
package fsm
import (
log "github.com/golang/glog"
)
// Index is the index of the state in a FSM
type Index int
// Action is the action to take when a signal is received, prior to transition
// to the next state. The error returned by the function is an exception which
// will put the state machine in an error state. This error state is not the same
// as some application-specific error state which is a state defined to correspond
// to some external event indicating a real-world error event (as opposed to a
// programming error here).
type Action func(Instance) error
// Tick is a unit of time. Time is in relative terms and synchronized with an actual
// timer that's provided by the client.
type Tick int64
// Time is a unit of time not corresponding to wall time
type Time int64
// Expiry specifies the rule for TTL.. A state can have TTL / deadline that when it
// expires a signal can be raised.
type Expiry struct {
TTL Tick
Raise Signal
}
// Limit is a struct that captures the limit and what signal to raise
type Limit struct {
Value int
Raise Signal
}
// Signal is a signal that can drive the state machine to transfer from one state to next.
type Signal int
// State encapsulates all the possible transitions and actions to perform during the
// state transition. A state can have a TTL so that it is allowed to be in that
// state for a given TTL. On expiration, a signal is raised.
type State struct {
// Index is a unique key of the state
Index Index
// Transitions fully specifies all the possible transitions from this state, by the way of signals.
Transitions map[Signal]Index
// Actions specify for each signal, what code / action is to be executed as the fsm transits from one state to next.
Actions map[Signal]Action
// Errors specifies the handling of errors when executing action. On action error, the mapped state is transitioned.
Errors map[Signal]Index
// TTL specifies how long this state can last before a signal is raised.
TTL Expiry
// Visit specifies a limit on the number of times the fsm can visit this state before raising a signal.
Visit Limit
}
// Define performs basic validation, consistency checks and returns a compiled spec.
func Define(s State, more ...State) (spec *Spec, err error) {
spec = newSpec()
states := map[Index]State{
s.Index: s,
}
for _, s := range more {
if _, has := states[s.Index]; has {
err = errDuplicateState(s.Index)
return
}
states[s.Index] = s
}
// check referential integrity
signals, err := compile(states)
if err != nil {
return
}
spec.states = states
spec.signals = signals
log.V(100).Infoln("signals=", signals)
return
}
func compile(m map[Index]State) (map[Signal]Signal, error) {
signals := map[Signal]Signal{}
for _, s := range m {
for _, transfer := range []map[Signal]Index{
s.Transitions,
s.Errors,
} {
for signal, next := range transfer {
if _, has := m[next]; !has {
return nil, unknownState(next)
}
signals[signal] = signal
}
}
}
// all signals must be known here
for _, s := range m {
// Check all the signal references in Actions must be in transitions
for signal, action := range s.Actions {
if _, has := s.Transitions[signal]; !has {
log.Warningln("actions has signal that's not in state's transitions:", s.Index, signal)
return nil, unknownTransition(signal)
}
if action == nil {
return nil, nilAction(signal)
}
if _, has := signals[signal]; !has {
return nil, unknownSignal(signal)
}
}
}
// what's raised in the TTL and in the Visit limit must be defined as well
for _, s := range m {
if s.TTL.TTL > 0 {
if _, has := s.Transitions[s.TTL.Raise]; !has {
log.Warningln("expiry raises signal that's not in state's transitions:", s.Index, s.TTL)
return nil, unknownSignal(s.TTL.Raise)
}
// register as valid signal
signals[s.TTL.Raise] = s.TTL.Raise
}
if s.Visit.Value > 0 {
if _, has := s.Transitions[s.Visit.Raise]; !has {
log.Warningln("visit limit raises signal that's not in state's transitions:", s.Index, s.Visit)
return nil, unknownSignal(s.Visit.Raise)
}
// register as valid signal
signals[s.Visit.Raise] = s.Visit.Raise
}
}
return signals, nil
}
// Spec is a specification of all the rules for the fsm
type Spec struct {
states map[Index]State
signals map[Signal]Signal
flaps map[[2]Index]*Flap
}
func newSpec() *Spec {
return &Spec{
states: map[Index]State{},
signals: map[Signal]Signal{},
flaps: map[[2]Index]*Flap{},
}
}
// returns an expiry for the state. if the TTL is 0 then there's no expiry for the state.
func (s *Spec) expiry(current Index) (expiry *Expiry, err error) {
state, has := s.states[current]
if !has {
err = unknownState(current)
return
}
if state.TTL.TTL > 0 {
expiry = &state.TTL
}
return
}
// returns the limit on visiting this state
func (s *Spec) visit(next Index) (limit *Limit, err error) {
state, has := s.states[next]
if !has {
err = unknownState(next)
return
}
if state.Visit.Value > 0 {
limit = &state.Visit
}
return
}
// returns an error handling rule
func (s *Spec) error(current Index, signal Signal) (next Index, err error) {
state, has := s.states[current]
if !has {
err = unknownState(current)
return
}
_, has = s.signals[signal]
if !has {
err = unknownSignal(signal)
return
}
v, has := state.Errors[signal]
if !has {
err = unknownTransition(signal)
return
}
next = v
return
}
// transition takes the fsm from a current state, with given signal, to the next state.
// returns error if the transition is not possible.
func (s *Spec) transition(current Index, signal Signal) (next Index, action Action, err error) {
defer func() {
log.V(200).Infoln("transition:", "[", current, "]--(", signal, ")-->[", next, "]", "action=", action, "err=", err)
}()
state, has := s.states[current]
if !has {
err = unknownState(current)
return
}
if len(state.Transitions) == 0 {
err = noTransitions(*s)
return
}
_, has = s.signals[signal]
if !has {
err = unknownSignal(signal)
return
}
n, has := state.Transitions[signal]
if !has {
err = unknownTransition(signal)
return
}
next = n
if a, has := state.Actions[signal]; has {
action = a
}
return
}
// Flap is oscillation between two adjacent states. For example, a->b followed by b->a is
// counted as 1 flap. Similarly, b->a followed by a->b is another flap.
type Flap struct {
States [2]Index
Count int
Raise Signal
}
func (s *Spec) flap(a, b Index) *Flap {
key := [2]Index{a, b}
if a > b {
key = [2]Index{b, a}
}
if f, has := s.flaps[key]; has {
return f
}
return nil
}
// CheckFlappingMust is a Must version (will panic if err) of CheckFlapping
func (s *Spec) CheckFlappingMust(checks []Flap) *Spec {
_, err := s.CheckFlapping(checks)
if err != nil {
panic(err)
}
return s
}
// CheckFlapping - Limit is the maximum of a->b b->a transitions allowable. For detecting
// oscillations between two adjacent states (no hops)
func (s *Spec) CheckFlapping(checks []Flap) (*Spec, error) {
flaps := map[[2]Index]*Flap{}
for _, check := range checks {
// check the state
for _, state := range check.States {
if _, has := s.states[state]; !has {
return nil, unknownState(state)
}
}
key := [2]Index{check.States[0], check.States[1]}
if check.States[0] > check.States[1] {
key = [2]Index{check.States[1], check.States[0]}
}
copy := check
flaps[key] = ©
}
s.flaps = flaps
return s, nil
} | pkg/fsm/fsm.go | 0.706899 | 0.53777 | fsm.go | starcoder |
package lab
import (
"image"
"image/color"
"image/draw"
"math"
)
// Observer = 2°, Illuminant = D65
const RefX float64 = 95.047
const RefY float64 = 100.000
const RefZ float64 = 108.883
func rgb2xyz(r, g, b uint8) (X, Y, Z float64) {
var (
R = float64(r) / 255.0
G = float64(g) / 255.0
B = float64(b) / 255.0
)
if R > 0.04045 {
R = math.Pow(((R + 0.055) / 1.055), 2.4)
} else {
R = R / 12.92
}
if G > 0.04045 {
G = math.Pow(((G + 0.055) / 1.055), 2.4)
} else {
G = G / 12.92
}
if B > 0.04045 {
B = math.Pow(((B + 0.055) / 1.055), 2.4)
} else {
B = B / 12.92
}
//Observer. = 2°, Illuminant = D65
X = R*0.4124 + G*0.3576 + B*0.1805
Y = R*0.2126 + G*0.7152 + B*0.0722
Z = R*0.0193 + G*0.1192 + B*0.9505
X *= 100
Y *= 100
Z *= 100
return
}
func xyz2rgb(x, y, z float64) (r, g, b uint8) {
R := x*3.2406 + y*-1.5372 + z*-0.4986
G := x*-0.9689 + y*1.8758 + z*0.0415
B := x*0.0557 + y*-0.2040 + z*1.0570
if R > 0.0031308 {
R = 1.055*math.Pow(R, (1/2.4)) - 0.055
} else {
R = 12.92 * R
}
if G > 0.0031308 {
G = 1.055*math.Pow(G, (1/2.4)) - 0.055
} else {
G = 12.92 * G
}
if B > 0.0031308 {
B = 1.055*math.Pow(B, (1/2.4)) - 0.055
} else {
B = 12.92 * B
}
r = uint8(R * 255.0)
g = uint8(G * 255.0)
b = uint8(B * 255.0)
return
}
func xyz2lab(x, y, z float64) (L, A, B float64) {
const epsilon float64 = 0.008856
const kappa float64 = 7.787
var (
X = x / RefX
Y = y / RefY
Z = z / RefZ
)
if X > epsilon {
X = math.Pow(X, (1.0 / 3.0))
} else {
X = (kappa * X) + (16.0 / 116.0)
}
if Y > epsilon {
Y = math.Pow(Y, (1.0 / 3.0))
} else {
Y = (kappa * Y) + (16.0 / 116.0)
}
if Z > epsilon {
Z = math.Pow(Z, (1.0 / 3.0))
} else {
Z = (kappa * Z) + (16.0 / 116.0)
}
L = ((116.0 * Y) - 16.0)
A = (500.0 * (X - Y))
B = (200.0 * (Y - Z))
return
}
func lab2xyz(l, a, b float64) (x, y, z float64) {
y = (l + 16.0) / 116.0
x = a/500.0 + y
z = y - b/200.0
y_cube := math.Pow(y, 3)
x_cube := math.Pow(x, 3)
z_cube := math.Pow(z, 3)
if y_cube > 0.008856 {
y = y_cube
} else {
y = (y - 16.0/116.0) / 7.787
}
if x_cube > 0.008856 {
x = x_cube
} else {
x = (x - 16.0/116.0) / 7.787
}
if z_cube > 0.008856 {
z = z_cube
} else {
z = (z - 16.0/116.0) / 7.787
}
x = RefX * (x / 100)
y = RefY * (y / 100)
z = RefZ * (z / 100)
return
}
func Rgb2lab(R, G, B uint8) (l, a, b float64) {
x, y, z := rgb2xyz(R, G, B)
return xyz2lab(x, y, z)
}
func Lab2rgb(l, a, b float64) (R, G, B uint8) {
x, y, z := lab2xyz(l, a, b)
return xyz2rgb(x, y, z)
}
type Color struct {
L, A, B float64
}
func (p Color) RGBA() (uint32, uint32, uint32, uint32) {
R, G, B := Lab2rgb(p.L, p.A, p.B)
r := uint32(R)
r |= r << 8
g := uint32(G)
g |= g << 8
b := uint32(B)
b |= b << 8
return r, g, b, 0xffff
}
var ColorModel color.Model = color.ModelFunc(labModel)
func labModel(c color.Color) color.Color {
if _, ok := c.(Color); ok {
return c
}
var (
r, g, b, _ = c.RGBA()
L, A, B = Rgb2lab(uint8(r>>8), uint8(g>>8), uint8(b>>8))
)
return Color{L, A, B}
}
type Image struct {
Pix []float64
Stride int
Rect image.Rectangle
}
// NewRGBA returns a new RGBA with the given bounds.
func NewImage(r image.Rectangle) *Image {
w, h := r.Dx(), r.Dy()
buf := make([]float64, 3*w*h)
return &Image{buf, 3 * w, r}
}
func (p *Image) ColorModel() color.Model { return ColorModel }
func (p *Image) Bounds() image.Rectangle { return p.Rect }
func (p *Image) At(x, y int) color.Color {
if !(image.Point{x, y}.In(p.Rect)) {
return Color{}
}
i := p.PixOffset(x, y)
return Color{p.Pix[i+0], p.Pix[i+1], p.Pix[i+2]}
}
// PixOffset returns the index of the first element of Pix that corresponds to
// the pixel at (x, y).
func (p *Image) PixOffset(x, y int) int {
return (y-p.Rect.Min.Y)*p.Stride + (x-p.Rect.Min.X)*3
}
func (p *Image) Set(x, y int, c color.Color) {
if !(image.Point{x, y}.In(p.Rect)) {
return
}
i := p.PixOffset(x, y)
c1 := ColorModel.Convert(c).(Color)
p.Pix[i+0] = c1.L
p.Pix[i+1] = c1.A
p.Pix[i+2] = c1.B
}
func (p *Image) SetLAB(x, y int, c Color) {
if !(image.Point{x, y}.In(p.Rect)) {
return
}
i := p.PixOffset(x, y)
p.Pix[i+0] = c.L
p.Pix[i+1] = c.A
p.Pix[i+2] = c.B
}
// SubImage returns an image representing the portion of the image p visible
// through r. The returned value shares pixels with the original image.
func (p *Image) SubImage(r image.Rectangle) image.Image {
r = r.Intersect(p.Rect)
// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
// either r1 or r2 if the intersection is empty. Without explicitly checking for
// this, the Pix[i:] expression below can panic.
if r.Empty() {
return &Image{}
}
i := p.PixOffset(r.Min.X, r.Min.Y)
return &Image{
Pix: p.Pix[i:],
Stride: p.Stride,
Rect: r,
}
}
func ImageToLab(img image.Image) Image {
b := img.Bounds()
canvas := NewImage(image.Rect(0, 0, b.Dx(), b.Dy()))
draw.Draw(canvas, canvas.Bounds(), img, b.Min, draw.Src)
return *canvas
} | lab/lab.go | 0.723016 | 0.548129 | lab.go | starcoder |
package discrete
import (
"math"
)
func PX(pxyz [][][]float64) []float64 {
r := make([]float64, 2, 2)
r[0] = pxyz[0][0][0] + pxyz[0][0][1] + pxyz[0][1][0] + pxyz[0][1][1]
r[1] = pxyz[1][0][0] + pxyz[1][0][1] + pxyz[1][1][0] + pxyz[1][1][1]
return r
}
func PY(pxyz [][][]float64) []float64 {
r := make([]float64, 2, 2)
r[0] = pxyz[0][0][0] + pxyz[0][0][1] + pxyz[1][0][0] + pxyz[1][0][1]
r[1] = pxyz[0][1][0] + pxyz[0][1][1] + pxyz[1][1][0] + pxyz[1][1][1]
return r
}
func PZ(pxyz [][][]float64) []float64 {
r := make([]float64, 2, 2)
r[0] = pxyz[0][0][0] + pxyz[0][1][0] + pxyz[1][0][0] + pxyz[1][1][0]
r[1] = pxyz[0][0][1] + pxyz[0][1][1] + pxyz[1][0][1] + pxyz[1][1][1]
return r
}
func PYZ(pxyz [][][]float64) [][]float64 {
r := make([][]float64, 2, 2)
r[0] = make([]float64, 2, 2)
r[1] = make([]float64, 2, 2)
r[0][0] = pxyz[0][0][0] + pxyz[1][0][0]
r[0][1] = pxyz[0][0][1] + pxyz[1][0][1]
r[1][0] = pxyz[0][1][0] + pxyz[1][1][0]
r[1][1] = pxyz[0][1][1] + pxyz[1][1][1]
return r
}
func PXZ(pxyz [][][]float64) [][]float64 {
r := make([][]float64, 2, 2)
r[0] = make([]float64, 2, 2)
r[1] = make([]float64, 2, 2)
r[0][0] = pxyz[0][0][0] + pxyz[0][1][0]
r[0][1] = pxyz[0][0][1] + pxyz[0][1][1]
r[1][0] = pxyz[1][0][0] + pxyz[1][1][0]
r[1][1] = pxyz[1][0][1] + pxyz[1][1][1]
return r
}
func PXY(pxyz [][][]float64) [][]float64 {
r := make([][]float64, 2, 2)
r[0] = make([]float64, 2, 2)
r[1] = make([]float64, 2, 2)
r[0][0] = pxyz[0][0][0] + pxyz[0][0][1]
r[0][1] = pxyz[0][1][0] + pxyz[0][1][1]
r[1][0] = pxyz[1][0][0] + pxyz[1][0][1]
r[1][1] = pxyz[1][1][0] + pxyz[1][1][1]
return r
}
func H3(pxyz [][][]float64) float64 {
r := 0.0
for x := 0; x < 2; x++ {
for y := 0; y < 2; y++ {
for z := 0; z < 2; z++ {
r -= pxyz[x][y][z] * math.Log2(pxyz[x][y][z])
}
}
}
return r
}
func H2(pxy [][]float64) float64 {
r := 0.0
for x := 0; x < 2; x++ {
for y := 0; y < 2; y++ {
r -= pxy[x][y] * math.Log2(pxy[x][y])
}
}
return r
}
func H1(px []float64) float64 {
r := 0.0
for x := 0; x < 2; x++ {
r -= px[x] * math.Log2(px[x])
}
return r
}
func Pt(pxyz [][][]float64, a, b float64) [][][]float64 {
A := make([][][]float64, 2, 2)
A[0] = make([][]float64, 2, 2)
A[1] = make([][]float64, 2, 2)
A[0][0] = make([]float64, 2, 2)
A[0][1] = make([]float64, 2, 2)
A[1][0] = make([]float64, 2, 2)
A[1][1] = make([]float64, 2, 2)
B := make([][][]float64, 2, 2)
B[0] = make([][]float64, 2, 2)
B[1] = make([][]float64, 2, 2)
B[0][0] = make([]float64, 2, 2)
B[0][1] = make([]float64, 2, 2)
B[1][0] = make([]float64, 2, 2)
B[1][1] = make([]float64, 2, 2)
A[0][0][0] = 1.0
A[0][0][1] = -1.0
A[0][1][0] = -1.0
A[0][1][1] = 1.0
B[1][0][0] = 1.0
B[1][0][1] = -1.0
B[1][1][0] = -1.0
B[1][1][1] = 1.0
r := make([][][]float64, 2, 2)
for i := 0; i < 2; i++ {
r[i] = make([][]float64, 2, 2)
for j := 0; j < 2; j++ {
r[i][j] = make([]float64, 2, 2)
for k := 0; k < 2; k++ {
r[i][j][k] = pxyz[i][j][k] + a*A[i][j][k] + b*B[i][j][k]
}
}
}
return r
}
func MiXvYgZ(pxyz [][][]float64) float64 {
return H2(PXZ(pxyz)) + H2(PYZ(pxyz)) - H3(pxyz) - H1(PZ(pxyz))
}
func MiXvZgY(pxyz [][][]float64) float64 {
return H2(PXY(pxyz)) + H2(PYZ(pxyz)) - H3(pxyz) - H1(PY(pxyz))
}
func MiXvY(pxyz [][][]float64) float64 {
return H1(PX(pxyz)) + H1(PY(pxyz)) - H2(PXY(pxyz))
}
func MiXvYZ(pxyz [][][]float64) float64 {
return H1(PX(pxyz)) + H2(PYZ(pxyz)) - H3(pxyz)
}
func CoI(pxyz [][][]float64) float64 {
return MiXvY(pxyz) - MiXvYgZ(pxyz)
}
func MinMax(pxyz [][][]float64, resolution int) (float64, float64, float64, float64, float64, float64) {
amin := math.Max(-pxyz[0][0][0], -pxyz[0][1][1])
amax := math.Min(pxyz[0][0][1], pxyz[0][1][0])
adelta := (amax - amin) / float64(resolution)
bmin := math.Max(-pxyz[1][0][0], -pxyz[1][1][1])
bmax := math.Min(pxyz[1][0][1], pxyz[1][1][0])
bdelta := (bmax - bmin) / float64(resolution)
return amin, amax, adelta, bmin, bmax, bdelta
}
// InformationDecomposition return the UI(X;Y\Z), UI(X;Z\Y), CI(X;Y,Z), and SI(X;Y,Z)
// according to
// <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>, Quantifying unique information, CoRR, 2013
func InformationDecomposition(pxyz [][][]float64, resolution int) (float64, float64, float64) {
amin, amax, adelta, bmin, bmax, bdelta := MinMax(pxyz, resolution)
uniqueXY := MiXvYgZ(Pt(pxyz, 0.0, 0.0))
uniqueXZ := MiXvZgY(Pt(pxyz, 0.0, 0.0))
maxCoI := CoI(Pt(pxyz, 0.0, 0.0))
r := 0.0
for a := amin; a <= amax; a += adelta {
for b := bmin; b <= bmax; b += bdelta {
q := Pt(pxyz, a, b)
r = CoI(q)
if r > maxCoI {
maxCoI = r
}
r = MiXvZgY(q)
if r < uniqueXY {
uniqueXY = r
}
r = MiXvYgZ(q)
if r < uniqueXZ {
uniqueXZ = r
}
}
}
coI := maxCoI - CoI(pxyz)
return coI, uniqueXY, uniqueXZ
} | discrete/InformationDecomposition.go | 0.629888 | 0.418281 | InformationDecomposition.go | starcoder |
Flanges
*/
//-----------------------------------------------------------------------------
package sdf
import "math"
//-----------------------------------------------------------------------------
type Flange1 struct {
distance float64 // distance from center to side
center_radius float64 // radius of center circle
side_radius float64 // radius of side circle
a V2 // center point on flank line
u V2 // normalised line vector for flank
l float64 // length of flank line
bb Box2 // bounding box
}
// Return a flange shape made from a center circle with two side circles.
// distance = distance from center to side
// center_radius = radius of center circle
// side_radius = radius of side circle
func NewFlange1(distance, center_radius, side_radius float64) SDF2 {
s := Flange1{}
s.distance = distance
s.center_radius = center_radius
s.side_radius = side_radius
// work out the flank line
sin := (center_radius - side_radius) / distance
cos := math.Sqrt(1 - sin*sin)
// first point on line
s.a = V2{sin, cos}.MulScalar(center_radius)
// second point on line
b := V2{sin, cos}.MulScalar(side_radius).Add(V2{distance, 0})
// line information
u := b.Sub(s.a)
s.u = u.Normalize()
s.l = u.Length()
// work out the bounding box
w := distance + side_radius
h := center_radius
s.bb = Box2{V2{-w, -h}, V2{w, h}}
return &s
}
// Return the minimum distance to the flange.
func (s *Flange1) Evaluate(p V2) float64 {
// We are symmetrical about the x and y axis.
// So- only consider the 1st quadrant.
p = p.Abs()
// vector to first point of flank line
v := p.Sub(s.a)
// work out the t-parameter of the projection onto the flank line
t := v.Dot(s.u)
var d float64
if t < 0 {
// the nearest point is on the center circle
d = p.Length() - s.center_radius
} else if t <= s.l {
// the nearest point is on the flank line
d = v.Dot(V2{-s.u.Y, s.u.X})
} else {
// the nearest point is on the side circle
d = p.Sub(V2{s.distance, 0}).Length() - s.side_radius
}
return d
}
// Return the bounding box for the flange.
func (s *Flange1) BoundingBox() Box2 {
return s.bb
}
//-----------------------------------------------------------------------------
// MakeBoltCircle2D returns a 2D profile for a flange bolt circle.
func MakeBoltCircle2D(
hole_radius float64, // radius of bolt holes
circle_radius float64, // radius of bolt circle
num_holes int, // number of bolts
) SDF2 {
s := Circle2D(hole_radius)
s = Transform2D(s, Translate2d(V2{circle_radius, 0}))
s = RotateCopy2D(s, num_holes)
return s
}
// MakeBoltCircle3D returns a 3D object for a flange bolt circle.
func MakeBoltCircle3D(
hole_depth float64, // depth of bolt holes
hole_radius float64, // radius of bolt holes
circle_radius float64, // radius of bolt circle
num_holes int, // number of bolts
) SDF3 {
s := MakeBoltCircle2D(hole_radius, circle_radius, num_holes)
return Extrude3D(s, hole_depth)
}
//----------------------------------------------------------------------------- | sdf/flange.go | 0.864896 | 0.578329 | flange.go | starcoder |
package box2d
import (
"math"
)
// Compute contact points for edge versus circle.
// This accounts for edge connectivity.
func B2CollideEdgeAndCircle(manifold *B2Manifold, edgeA *B2EdgeShape, xfA B2Transform, circleB *B2CircleShape, xfB B2Transform) {
manifold.PointCount = 0
// Compute circle in frame of edge
Q := B2TransformVec2MulT(xfA, B2TransformVec2Mul(xfB, circleB.M_p))
A := edgeA.M_vertex1
B := edgeA.M_vertex2
e := B2Vec2Sub(B, A)
// Barycentric coordinates
u := B2Vec2Dot(e, B2Vec2Sub(B, Q))
v := B2Vec2Dot(e, B2Vec2Sub(Q, A))
radius := edgeA.M_radius + circleB.M_radius
cf := MakeB2ContactFeature()
cf.IndexB = 0
cf.TypeB = B2ContactFeature_Type.E_vertex
// Region A
if v <= 0.0 {
P := A
d := B2Vec2Sub(Q, P)
dd := B2Vec2Dot(d, d)
if dd > radius*radius {
return
}
// Is there an edge connected to A?
if edgeA.M_hasVertex0 {
A1 := edgeA.M_vertex0
B1 := A
e1 := B2Vec2Sub(B1, A1)
u1 := B2Vec2Dot(e1, B2Vec2Sub(B1, Q))
// Is the circle in Region AB of the previous edge?
if u1 > 0.0 {
return
}
}
cf.IndexA = 0
cf.TypeA = B2ContactFeature_Type.E_vertex
manifold.PointCount = 1
manifold.Type = B2Manifold_Type.E_circles
manifold.LocalNormal.SetZero()
manifold.LocalPoint = P
manifold.Points[0].Id.SetKey(0)
manifold.Points[0].Id.IndexA = cf.IndexA
manifold.Points[0].Id.IndexB = cf.IndexB
manifold.Points[0].Id.TypeA = cf.TypeA
manifold.Points[0].Id.TypeB = cf.TypeB
manifold.Points[0].LocalPoint = circleB.M_p
return
}
// Region B
if u <= 0.0 {
P := B
d := B2Vec2Sub(Q, P)
dd := B2Vec2Dot(d, d)
if dd > radius*radius {
return
}
// Is there an edge connected to B?
if edgeA.M_hasVertex3 {
B2 := edgeA.M_vertex3
A2 := B
e2 := B2Vec2Sub(B2, A2)
v2 := B2Vec2Dot(e2, B2Vec2Sub(Q, A2))
// Is the circle in Region AB of the next edge?
if v2 > 0.0 {
return
}
}
cf.IndexA = 1
cf.TypeA = B2ContactFeature_Type.E_vertex
manifold.PointCount = 1
manifold.Type = B2Manifold_Type.E_circles
manifold.LocalNormal.SetZero()
manifold.LocalPoint = P
manifold.Points[0].Id.SetKey(0)
manifold.Points[0].Id.IndexA = cf.IndexA
manifold.Points[0].Id.IndexB = cf.IndexB
manifold.Points[0].Id.TypeA = cf.TypeA
manifold.Points[0].Id.TypeB = cf.TypeB
manifold.Points[0].LocalPoint = circleB.M_p
return
}
// Region AB
den := B2Vec2Dot(e, e)
B2Assert(den > 0.0)
P := B2Vec2MulScalar(1.0/den, B2Vec2Add(B2Vec2MulScalar(u, A), B2Vec2MulScalar(v, B)))
d := B2Vec2Sub(Q, P)
dd := B2Vec2Dot(d, d)
if dd > radius*radius {
return
}
n := MakeB2Vec2(-e.Y, e.X)
if B2Vec2Dot(n, B2Vec2Sub(Q, A)) < 0.0 {
n.Set(-n.X, -n.Y)
}
n.Normalize()
cf.IndexA = 0
cf.TypeA = B2ContactFeature_Type.E_face
manifold.PointCount = 1
manifold.Type = B2Manifold_Type.E_faceA
manifold.LocalNormal = n
manifold.LocalPoint = A
manifold.Points[0].Id.SetKey(0)
manifold.Points[0].Id.IndexA = cf.IndexA
manifold.Points[0].Id.IndexB = cf.IndexB
manifold.Points[0].Id.TypeA = cf.TypeA
manifold.Points[0].Id.TypeB = cf.TypeB
manifold.Points[0].LocalPoint = circleB.M_p
}
// This structure is used to keep track of the best separating axis.
var B2EPAxis_Type = struct {
E_unknown uint8
E_edgeA uint8
E_edgeB uint8
}{
E_unknown: 0,
E_edgeA: 1,
E_edgeB: 2,
}
type B2EPAxis struct {
Type uint8
Index int
Separation float64
}
func MakeB2EPAxis() B2EPAxis {
return B2EPAxis{}
}
// This holds polygon B expressed in frame A.
type B2TempPolygon struct {
Vertices [B2_maxPolygonVertices]B2Vec2
Normals [B2_maxPolygonVertices]B2Vec2
Count int
}
// Reference face used for clipping
type B2ReferenceFace struct {
I1, I2 int
V1, V2 B2Vec2
Normal B2Vec2
SideNormal1 B2Vec2
SideOffset1 float64
SideNormal2 B2Vec2
SideOffset2 float64
}
func MakeB2ReferenceFace() B2ReferenceFace {
return B2ReferenceFace{}
}
var B2EPCollider_VertexType = struct {
E_isolated uint8
E_concave uint8
E_convex uint8
}{
E_isolated: 0,
E_concave: 1,
E_convex: 2,
}
// This class collides and edge and a polygon, taking into account edge adjacency.
type B2EPCollider struct {
M_polygonB B2TempPolygon
M_xf B2Transform
M_centroidB B2Vec2
M_v0, M_v1, M_v2, M_v3 B2Vec2
M_normal0, M_normal1, M_normal2 B2Vec2
M_normal B2Vec2
M_type1, M_type2 uint8
M_lowerLimit, M_upperLimit B2Vec2
M_radius float64
M_front bool
}
func MakeB2EPCollider() B2EPCollider {
return B2EPCollider{}
}
// Algorithm:
// 1. Classify v1 and v2
// 2. Classify polygon centroid as front or back
// 3. Flip normal if necessary
// 4. Initialize normal range to [-pi, pi] about face normal
// 5. Adjust normal range according to adjacent edges
// 6. Visit each separating axes, only accept axes within the range
// 7. Return if _any_ axis indicates separation
// 8. Clip
func (collider *B2EPCollider) Collide(manifold *B2Manifold, edgeA *B2EdgeShape, xfA B2Transform, polygonB *B2PolygonShape, xfB B2Transform) {
collider.M_xf = B2TransformMulT(xfA, xfB)
collider.M_centroidB = B2TransformVec2Mul(collider.M_xf, polygonB.M_centroid)
collider.M_v0 = edgeA.M_vertex0
collider.M_v1 = edgeA.M_vertex1
collider.M_v2 = edgeA.M_vertex2
collider.M_v3 = edgeA.M_vertex3
hasVertex0 := edgeA.M_hasVertex0
hasVertex3 := edgeA.M_hasVertex3
edge1 := B2Vec2Sub(collider.M_v2, collider.M_v1)
edge1.Normalize()
collider.M_normal1.Set(edge1.Y, -edge1.X)
offset1 := B2Vec2Dot(collider.M_normal1, B2Vec2Sub(collider.M_centroidB, collider.M_v1))
offset0 := 0.0
offset2 := 0.0
convex1 := false
convex2 := false
// Is there a preceding edge?
if hasVertex0 {
edge0 := B2Vec2Sub(collider.M_v1, collider.M_v0)
edge0.Normalize()
collider.M_normal0.Set(edge0.Y, -edge0.X)
convex1 = B2Vec2Cross(edge0, edge1) >= 0.0
offset0 = B2Vec2Dot(collider.M_normal0, B2Vec2Sub(collider.M_centroidB, collider.M_v0))
}
// Is there a following edge?
if hasVertex3 {
edge2 := B2Vec2Sub(collider.M_v3, collider.M_v2)
edge2.Normalize()
collider.M_normal2.Set(edge2.Y, -edge2.X)
convex2 = B2Vec2Cross(edge1, edge2) > 0.0
offset2 = B2Vec2Dot(collider.M_normal2, B2Vec2Sub(collider.M_centroidB, collider.M_v2))
}
// Determine front or back collision. Determine collision normal limits.
if hasVertex0 && hasVertex3 {
if convex1 && convex2 {
collider.M_front = offset0 >= 0.0 || offset1 >= 0.0 || offset2 >= 0.0
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal0
collider.M_upperLimit = collider.M_normal2
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal1.OperatorNegate()
collider.M_upperLimit = collider.M_normal1.OperatorNegate()
}
} else if convex1 {
collider.M_front = offset0 >= 0.0 || (offset1 >= 0.0 && offset2 >= 0.0)
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal0
collider.M_upperLimit = collider.M_normal1
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal2.OperatorNegate()
collider.M_upperLimit = collider.M_normal1.OperatorNegate()
}
} else if convex2 {
collider.M_front = offset2 >= 0.0 || (offset0 >= 0.0 && offset1 >= 0.0)
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal1
collider.M_upperLimit = collider.M_normal2
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal1.OperatorNegate()
collider.M_upperLimit = collider.M_normal0.OperatorNegate()
}
} else {
collider.M_front = offset0 >= 0.0 && offset1 >= 0.0 && offset2 >= 0.0
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal1
collider.M_upperLimit = collider.M_normal1
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal2.OperatorNegate()
collider.M_upperLimit = collider.M_normal0.OperatorNegate()
}
}
} else if hasVertex0 {
if convex1 {
collider.M_front = offset0 >= 0.0 || offset1 >= 0.0
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal0
collider.M_upperLimit = collider.M_normal1.OperatorNegate()
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal1
collider.M_upperLimit = collider.M_normal1.OperatorNegate()
}
} else {
collider.M_front = offset0 >= 0.0 && offset1 >= 0.0
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal1
collider.M_upperLimit = collider.M_normal1.OperatorNegate()
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal1
collider.M_upperLimit = collider.M_normal0.OperatorNegate()
}
}
} else if hasVertex3 {
if convex2 {
collider.M_front = offset1 >= 0.0 || offset2 >= 0.0
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal1.OperatorNegate()
collider.M_upperLimit = collider.M_normal2
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal1.OperatorNegate()
collider.M_upperLimit = collider.M_normal1
}
} else {
collider.M_front = offset1 >= 0.0 && offset2 >= 0.0
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal1.OperatorNegate()
collider.M_upperLimit = collider.M_normal1
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal2.OperatorNegate()
collider.M_upperLimit = collider.M_normal1
}
}
} else {
collider.M_front = offset1 >= 0.0
if collider.M_front {
collider.M_normal = collider.M_normal1
collider.M_lowerLimit = collider.M_normal1.OperatorNegate()
collider.M_upperLimit = collider.M_normal1.OperatorNegate()
} else {
collider.M_normal = collider.M_normal1.OperatorNegate()
collider.M_lowerLimit = collider.M_normal1
collider.M_upperLimit = collider.M_normal1
}
}
// Get polygonB in frameA
collider.M_polygonB.Count = polygonB.M_count
for i := 0; i < polygonB.M_count; i++ {
collider.M_polygonB.Vertices[i] = B2TransformVec2Mul(collider.M_xf, polygonB.M_vertices[i])
collider.M_polygonB.Normals[i] = B2RotVec2Mul(collider.M_xf.Q, polygonB.M_normals[i])
}
collider.M_radius = polygonB.M_radius + edgeA.M_radius
manifold.PointCount = 0
edgeAxis := collider.ComputeEdgeSeparation()
// If no valid normal can be found than this edge should not collide.
if edgeAxis.Type == B2EPAxis_Type.E_unknown {
return
}
if edgeAxis.Separation > collider.M_radius {
return
}
polygonAxis := collider.ComputePolygonSeparation()
if polygonAxis.Type != B2EPAxis_Type.E_unknown && polygonAxis.Separation > collider.M_radius {
return
}
// Use hysteresis for jitter reduction.
k_relativeTol := 0.98
k_absoluteTol := 0.001
primaryAxis := MakeB2EPAxis()
if polygonAxis.Type == B2EPAxis_Type.E_unknown {
primaryAxis = edgeAxis
} else if polygonAxis.Separation > k_relativeTol*edgeAxis.Separation+k_absoluteTol {
primaryAxis = polygonAxis
} else {
primaryAxis = edgeAxis
}
ie := make([]B2ClipVertex, 2)
rf := MakeB2ReferenceFace()
if primaryAxis.Type == B2EPAxis_Type.E_edgeA {
manifold.Type = B2Manifold_Type.E_faceA
// Search for the polygon normal that is most anti-parallel to the edge normal.
bestIndex := 0
bestValue := B2Vec2Dot(collider.M_normal, collider.M_polygonB.Normals[0])
for i := 1; i < collider.M_polygonB.Count; i++ {
value := B2Vec2Dot(collider.M_normal, collider.M_polygonB.Normals[i])
if value < bestValue {
bestValue = value
bestIndex = i
}
}
i1 := bestIndex
i2 := 0
if i1+1 < collider.M_polygonB.Count {
i2 = i1 + 1
}
ie[0].V = collider.M_polygonB.Vertices[i1]
ie[0].Id.IndexA = 0
ie[0].Id.IndexB = uint8(i1)
ie[0].Id.TypeA = B2ContactFeature_Type.E_face
ie[0].Id.TypeB = B2ContactFeature_Type.E_vertex
ie[1].V = collider.M_polygonB.Vertices[i2]
ie[1].Id.IndexA = 0
ie[1].Id.IndexB = uint8(i2)
ie[1].Id.TypeA = B2ContactFeature_Type.E_face
ie[1].Id.TypeB = B2ContactFeature_Type.E_vertex
if collider.M_front {
rf.I1 = 0
rf.I2 = 1
rf.V1 = collider.M_v1
rf.V2 = collider.M_v2
rf.Normal = collider.M_normal1
} else {
rf.I1 = 1
rf.I2 = 0
rf.V1 = collider.M_v2
rf.V2 = collider.M_v1
rf.Normal = collider.M_normal1.OperatorNegate()
}
} else {
manifold.Type = B2Manifold_Type.E_faceB
ie[0].V = collider.M_v1
ie[0].Id.IndexA = 0
ie[0].Id.IndexB = uint8(primaryAxis.Index)
ie[0].Id.TypeA = B2ContactFeature_Type.E_vertex
ie[0].Id.TypeB = B2ContactFeature_Type.E_face
ie[1].V = collider.M_v2
ie[1].Id.IndexA = 0
ie[1].Id.IndexB = uint8(primaryAxis.Index)
ie[1].Id.TypeA = B2ContactFeature_Type.E_vertex
ie[1].Id.TypeB = B2ContactFeature_Type.E_face
rf.I1 = primaryAxis.Index
if rf.I1+1 < collider.M_polygonB.Count {
rf.I2 = rf.I1 + 1
} else {
rf.I2 = 0
}
rf.V1 = collider.M_polygonB.Vertices[rf.I1]
rf.V2 = collider.M_polygonB.Vertices[rf.I2]
rf.Normal = collider.M_polygonB.Normals[rf.I1]
}
rf.SideNormal1.Set(rf.Normal.Y, -rf.Normal.X)
rf.SideNormal2 = rf.SideNormal1.OperatorNegate()
rf.SideOffset1 = B2Vec2Dot(rf.SideNormal1, rf.V1)
rf.SideOffset2 = B2Vec2Dot(rf.SideNormal2, rf.V2)
// Clip incident edge against extruded edge1 side edges.
clipPoints1 := make([]B2ClipVertex, 2)
clipPoints2 := make([]B2ClipVertex, 2)
np := 0
// Clip to box side 1
np = B2ClipSegmentToLine(clipPoints1, ie, rf.SideNormal1, rf.SideOffset1, rf.I1)
if np < B2_maxManifoldPoints {
return
}
// Clip to negative box side 1
np = B2ClipSegmentToLine(clipPoints2, clipPoints1, rf.SideNormal2, rf.SideOffset2, rf.I2)
if np < B2_maxManifoldPoints {
return
}
// Now clipPoints2 contains the clipped points.
if primaryAxis.Type == B2EPAxis_Type.E_edgeA {
manifold.LocalNormal = rf.Normal
manifold.LocalPoint = rf.V1
} else {
manifold.LocalNormal = polygonB.M_normals[rf.I1]
manifold.LocalPoint = polygonB.M_vertices[rf.I1]
}
pointCount := 0
for i := 0; i < B2_maxManifoldPoints; i++ {
separation := 0.0
separation = B2Vec2Dot(rf.Normal, B2Vec2Sub(clipPoints2[i].V, rf.V1))
if separation <= collider.M_radius {
cp := &manifold.Points[pointCount]
if primaryAxis.Type == B2EPAxis_Type.E_edgeA {
cp.LocalPoint = B2TransformVec2MulT(collider.M_xf, clipPoints2[i].V)
cp.Id = clipPoints2[i].Id
} else {
cp.LocalPoint = clipPoints2[i].V
cp.Id.TypeA = clipPoints2[i].Id.TypeB
cp.Id.TypeB = clipPoints2[i].Id.TypeA
cp.Id.IndexA = clipPoints2[i].Id.IndexB
cp.Id.IndexB = clipPoints2[i].Id.IndexA
}
pointCount++
}
}
manifold.PointCount = pointCount
}
func (collider *B2EPCollider) ComputeEdgeSeparation() B2EPAxis {
axis := MakeB2EPAxis()
axis.Type = B2EPAxis_Type.E_edgeA
if collider.M_front {
axis.Index = 0
} else {
axis.Index = 1
}
axis.Separation = B2_maxFloat
for i := 0; i < collider.M_polygonB.Count; i++ {
s := B2Vec2Dot(collider.M_normal, B2Vec2Sub(collider.M_polygonB.Vertices[i], collider.M_v1))
if s < axis.Separation {
axis.Separation = s
}
}
return axis
}
func (collider *B2EPCollider) ComputePolygonSeparation() B2EPAxis {
axis := MakeB2EPAxis()
axis.Type = B2EPAxis_Type.E_unknown
axis.Index = -1
axis.Separation = -B2_maxFloat
perp := MakeB2Vec2(-collider.M_normal.Y, collider.M_normal.X)
for i := 0; i < collider.M_polygonB.Count; i++ {
n := collider.M_polygonB.Normals[i].OperatorNegate()
s1 := B2Vec2Dot(n, B2Vec2Sub(collider.M_polygonB.Vertices[i], collider.M_v1))
s2 := B2Vec2Dot(n, B2Vec2Sub(collider.M_polygonB.Vertices[i], collider.M_v2))
s := math.Min(s1, s2)
if s > collider.M_radius {
// No collision
axis.Type = B2EPAxis_Type.E_edgeB
axis.Index = i
axis.Separation = s
return axis
}
// Adjacency
if B2Vec2Dot(n, perp) >= 0.0 {
if B2Vec2Dot(B2Vec2Sub(n, collider.M_upperLimit), collider.M_normal) < -B2_angularSlop {
continue
}
} else {
if B2Vec2Dot(B2Vec2Sub(n, collider.M_lowerLimit), collider.M_normal) < -B2_angularSlop {
continue
}
}
if s > axis.Separation {
axis.Type = B2EPAxis_Type.E_edgeB
axis.Index = i
axis.Separation = s
}
}
return axis
}
func B2CollideEdgeAndPolygon(manifold *B2Manifold, edgeA *B2EdgeShape, xfA B2Transform, polygonB *B2PolygonShape, xfB B2Transform) {
collider := MakeB2EPCollider()
collider.Collide(manifold, edgeA, xfA, polygonB, xfB)
} | CollisionB2CollideEdge.go | 0.807423 | 0.810704 | CollisionB2CollideEdge.go | starcoder |
package azblob
// ListContainersOptions provides set of configurations for ListContainers operation
type ListContainersOptions struct {
Include ListContainersDetail
// A string value that identifies the portion of the list of containers to be returned with the next listing operation. The
// operation returns the NextMarker value within the response body if the listing operation did not return all containers
// remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in
// a subsequent call to request the next page of list items. The marker value is opaque to the client.
Marker *string
// Specifies the maximum number of containers to return. If the request does not specify max results, or specifies a value
// greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary,
// then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible
// that the service will return fewer results than specified by max results, or than the default of 5000.
MaxResults *int32
// Filters the results to return only containers whose name begins with the specified prefix.
Prefix *string
}
func (o *ListContainersOptions) pointers() *ServiceListContainersSegmentOptions {
if o == nil {
return nil
}
return &ServiceListContainersSegmentOptions{
Include: o.Include.pointers(),
Marker: o.Marker,
Maxresults: o.MaxResults,
Prefix: o.Prefix,
}
}
// ListContainersDetail indicates what additional information the service should return with each container.
type ListContainersDetail struct {
// Tells the service whether to return metadata for each container.
Metadata bool
// Tells the service whether to return soft-deleted containers.
Deleted bool
}
// string produces the `Include` query parameter's value.
func (o *ListContainersDetail) pointers() []ListContainersIncludeType {
if !o.Metadata && !o.Deleted {
return nil
}
items := make([]ListContainersIncludeType, 0, 2)
// NOTE: Multiple strings MUST be appended in alphabetic order or signing the string for authentication fails!
if o.Deleted {
items = append(items, ListContainersIncludeTypeDeleted)
}
if o.Metadata {
items = append(items, ListContainersIncludeTypeMetadata)
}
return items
}
// ServiceFilterBlobsByTagsOptions provides set of configurations for ServiceFilterBlobsByTags operation
type ServiceFilterBlobsByTagsOptions struct {
// A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the NextMarker
// value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value
// can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client.
Marker *string
// Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server
// will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for
// retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or
// than the default of 5000.
Maxresults *int32
// Filters the results to return only to return only blobs whose tags match the specified expression.
Where *string
}
func (o *ServiceFilterBlobsByTagsOptions) pointer() *ServiceFilterBlobsOptions {
if o == nil {
return nil
}
return &ServiceFilterBlobsOptions{
Marker: o.Marker,
Maxresults: o.Maxresults,
Where: o.Where,
}
} | sdk/storage/azblob/zm_service_request_options.go | 0.851398 | 0.562237 | zm_service_request_options.go | starcoder |
package main
import (
"fmt"
"io/ioutil"
"os"
"strconv"
"strings"
"time"
)
func applyOrder(orderType string, orderMagnitude int, startPosX int, startPosY int, direction int) (int, int, int) {
// change F order into right move order to have single way of handling moves
computedOrderType := orderType
if orderType == "F" {
switch direction {
case 0:
computedOrderType = "N"
case 1:
computedOrderType = "E"
case 2:
computedOrderType = "S"
case 3:
computedOrderType = "W"
default:
fmt.Printf("Direction : %d ERROR\n", direction)
}
}
switch computedOrderType {
case "N":
return startPosX, startPosY + orderMagnitude, direction
case "S":
return startPosX, startPosY - orderMagnitude, direction
case "E":
return startPosX + orderMagnitude, startPosY, direction
case "W":
return startPosX - orderMagnitude, startPosY, direction
case "L":
return startPosX, startPosY, (4 + direction - (orderMagnitude / 90)) % 4
case "R":
return startPosX, startPosY, (4 + direction + (orderMagnitude / 90)) % 4
case "F":
fmt.Println("F move here : ERROR\n")
}
return -1, -1, -1
}
func abs(i int) int {
if i < 0 {
return -i
} else {
return i
}
}
func displayApply(orderType string, orderMagnitude int, startPosX int, startPosY int, direction int) {
x, y, dir := applyOrder(orderType, orderMagnitude, startPosX, startPosY, direction)
fmt.Printf("%v%d => x : %d, y : %d, dir : %d\n", orderType, orderMagnitude, x, y, dir)
}
func run(s string) interface{} {
var x,y, dir int
x = 0
y = 0
dir = 1
for _, line := range strings.Split(s, "\n") {
orderType := string(line[0])
orderMagnitude, _ := strconv.Atoi(string(line[1:]))
x, y, dir = applyOrder(orderType, orderMagnitude, x, y, dir)
}
return abs(x) + abs(y)
}
func main() {
// Uncomment this line to disable garbage collection
// debug.SetGCPercent(-1)
// Read input from stdin
input, err := ioutil.ReadAll(os.Stdin)
if err != nil {
panic(err)
}
// Start resolution
start := time.Now()
result := run(string(input))
// Print result
fmt.Printf("_duration:%f\n", time.Now().Sub(start).Seconds()*1000)
fmt.Println(result)
} | day-12/part-1/troisdiz.go | 0.552781 | 0.462959 | troisdiz.go | starcoder |
package state
import "errors"
// The starting position for a standard game of chess
// Splitting on spaces;
// The first substring is the piece placement
// the second substring is the side to move
// the third substring is the castling ability
// the fourth substring is the en passant target square
// the fifth substring is the halfmove clock (ie how many half expectedMoves have been made that contribute to the 50 move draw rule)
// the sixth substring is the fullmove counter
const standardStart Fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
// TODO: review how much of this needs exporting
// WRITE THE TESTS FIRST
type State struct {
Board Board
// sideToMove bool
// castlingAbility maybe byte/uint8
// enPassantTargetSquare uint16, bool? (only 16 available squares, but could also be none)
// halfmoveClock byte/uint8
// fullmoveCounter uint16
}
// Func NewStandardGame will create a new State struct with the initial
// starting parameters of a standard chess game
func NewStandardGame() (State, error) {
s := State{}
b, err := standardStart.ToBoard()
if err != nil {
return s, errors.New("error generating board from fen")
}
s.Board = b
return s, nil
}
// Func NewCMLXGame will create a new State struct with the initial
// starting parameters of a chess 960 game
func NewCMLXGame() (State, error) {
s := State{}
f, err := GenerateCMLXFen()
if err != nil {
return s, errors.New("error generating CMLX fen")
}
b, err := f.ToBoard()
if err != nil {
return s, errors.New("error generating board from fen")
}
s.Board = b
return s, nil
}
// Func NewCustomPosition will create a new State struct with the
// parameters from a specified FEN string
func NewCustomPosition(f Fen) (State, error) {
// TODO: add logic to check the start position is legal, eg no pawns on back rank, both sides have a king
s := State{}
b, err := f.ToBoard()
if err != nil {
return s, errors.New("error generating board from fen")
}
s.Board = b
return s, nil
} | internal/state/state.go | 0.510252 | 0.450903 | state.go | starcoder |
package bin
import "encoding/binary"
// I8be wraps a byte array into a big endian encoded 8bit signed integer.
type I8be [1]byte
// Len returns the number of bytes required to store the value.
func (b *I8be) Len() int { return 1 }
// Get returns the decoded value.
func (b *I8be) Get() int8 {
return int8(b[0])
}
// Set encodes a new value into the backing buffer:
func (b *I8be) Set(v int8) {
b[0] = byte(v)
}
// I16be wraps a byte array into a big endian encoded 16bit signed integer.
type I16be [2]byte
// Len returns the number of bytes required to store the value.
func (b *I16be) Len() int { return 2 }
// Get returns the decoded value.
func (b *I16be) Get() int16 {
return int16(binary.BigEndian.Uint16(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *I16be) Set(v int16) {
binary.BigEndian.PutUint16(b[:], uint16(v))
}
// I32be wraps a byte array into a big endian encoded 32bit signed integer.
type I32be [4]byte
// Len returns the number of bytes required to store the value.
func (b *I32be) Len() int { return 4 }
// Get returns the decoded value.
func (b *I32be) Get() int32 {
return int32(binary.BigEndian.Uint32(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *I32be) Set(v int32) {
binary.BigEndian.PutUint32(b[:], uint32(v))
}
// I64be wraps a byte array into a big endian encoded 64bit signed integer.
type I64be [8]byte
// Len returns the number of bytes required to store the value.
func (b *I64be) Len() int { return 8 }
// Get returns the decoded value.
func (b *I64be) Get() int64 {
return int64(binary.BigEndian.Uint64(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *I64be) Set(v int64) {
binary.BigEndian.PutUint64(b[:], uint64(v))
}
// U8be wraps a byte array into a big endian encoded 8bit unsigned integer.
type U8be [1]byte
// Len returns the number of bytes required to store the value.
func (b *U8be) Len() int { return 1 }
// Get returns the decoded value.
func (b *U8be) Get() uint8 {
return uint8(b[0])
}
// Set encodes a new value into the backing buffer:
func (b *U8be) Set(v uint8) {
b[0] = byte(v)
}
// U16be wraps a byte array into a big endian encoded 16bit unsigned integer.
type U16be [2]byte
// Len returns the number of bytes required to store the value.
func (b *U16be) Len() int { return 2 }
// Get returns the decoded value.
func (b *U16be) Get() uint16 {
return uint16(binary.BigEndian.Uint16(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *U16be) Set(v uint16) {
binary.BigEndian.PutUint16(b[:], uint16(v))
}
// U32be wraps a byte array into a big endian encoded 32bit unsigned integer.
type U32be [4]byte
// Len returns the number of bytes required to store the value.
func (b *U32be) Len() int { return 4 }
// Get returns the decoded value.
func (b *U32be) Get() uint32 {
return uint32(binary.BigEndian.Uint32(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *U32be) Set(v uint32) {
binary.BigEndian.PutUint32(b[:], uint32(v))
}
// U64be wraps a byte array into a big endian encoded 64bit unsigned integer.
type U64be [8]byte
// Len returns the number of bytes required to store the value.
func (b *U64be) Len() int { return 8 }
// Get returns the decoded value.
func (b *U64be) Get() uint64 {
return uint64(binary.BigEndian.Uint64(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *U64be) Set(v uint64) {
binary.BigEndian.PutUint64(b[:], uint64(v))
}
// I8le wraps a byte array into a little endian encoded 8bit signed integer.
type I8le [1]byte
// Len returns the number of bytes required to store the value.
func (b *I8le) Len() int { return 1 }
// Get returns the decoded value.
func (b *I8le) Get() int8 {
return int8(b[0])
}
// Set encodes a new value into the backing buffer:
func (b *I8le) Set(v int8) {
b[0] = byte(v)
}
// I16le wraps a byte array into a little endian encoded 16bit signed integer.
type I16le [2]byte
// Len returns the number of bytes required to store the value.
func (b *I16le) Len() int { return 2 }
// Get returns the decoded value.
func (b *I16le) Get() int16 {
return int16(binary.LittleEndian.Uint16(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *I16le) Set(v int16) {
binary.LittleEndian.PutUint16(b[:], uint16(v))
}
// I32le wraps a byte array into a little endian encoded 32bit signed integer.
type I32le [4]byte
// Len returns the number of bytes required to store the value.
func (b *I32le) Len() int { return 4 }
// Get returns the decoded value.
func (b *I32le) Get() int32 {
return int32(binary.LittleEndian.Uint32(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *I32le) Set(v int32) {
binary.LittleEndian.PutUint32(b[:], uint32(v))
}
// I64le wraps a byte array into a little endian encoded 64bit signed integer.
type I64le [8]byte
// Len returns the number of bytes required to store the value.
func (b *I64le) Len() int { return 8 }
// Get returns the decoded value.
func (b *I64le) Get() int64 {
return int64(binary.LittleEndian.Uint64(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *I64le) Set(v int64) {
binary.LittleEndian.PutUint64(b[:], uint64(v))
}
// U8le wraps a byte array into a little endian encoded 8bit unsigned integer.
type U8le [1]byte
// Len returns the number of bytes required to store the value.
func (b *U8le) Len() int { return 1 }
// Get returns the decoded value.
func (b *U8le) Get() uint8 {
return uint8(b[0])
}
// Set encodes a new value into the backing buffer:
func (b *U8le) Set(v uint8) {
b[0] = byte(v)
}
// U16le wraps a byte array into a little endian encoded 16bit unsigned integer.
type U16le [2]byte
// Len returns the number of bytes required to store the value.
func (b *U16le) Len() int { return 2 }
// Get returns the decoded value.
func (b *U16le) Get() uint16 {
return uint16(binary.LittleEndian.Uint16(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *U16le) Set(v uint16) {
binary.LittleEndian.PutUint16(b[:], uint16(v))
}
// U32le wraps a byte array into a little endian encoded 32bit unsigned integer.
type U32le [4]byte
// Len returns the number of bytes required to store the value.
func (b *U32le) Len() int { return 4 }
// Get returns the decoded value.
func (b *U32le) Get() uint32 {
return uint32(binary.LittleEndian.Uint32(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *U32le) Set(v uint32) {
binary.LittleEndian.PutUint32(b[:], uint32(v))
}
// U64le wraps a byte array into a little endian encoded 64bit unsigned integer.
type U64le [8]byte
// Len returns the number of bytes required to store the value.
func (b *U64le) Len() int { return 8 }
// Get returns the decoded value.
func (b *U64le) Get() uint64 {
return uint64(binary.LittleEndian.Uint64(b[:]))
}
// Set encodes a new value into the backing buffer:
func (b *U64le) Set(v uint64) {
binary.LittleEndian.PutUint64(b[:], uint64(v))
} | vendor/github.com/urso/go-bin/bin.generated.go | 0.914823 | 0.523359 | bin.generated.go | starcoder |
package sjtsk2gps
import "math"
// Convert accept czech S-JTSK coordinates and convert them to GPS
// it is rewritten javascript code from http://martin.hinner.info/geo/
func Convert(X float64, Y float64, H float64) (float64, float64, float64) {
if X < 0 && Y < 0 {
X = -X
Y = -Y
}
if Y > X {
X, Y = Y, X
}
a := float64(6377397.15508)
e := float64(0.081696831215303)
n := float64(0.97992470462083)
konstURo := float64(12310230.12797036)
sinUQ := float64(0.863499969506341)
cosUQ := float64(0.504348889819882)
sinVQ := float64(0.420215144586493)
cosVQ := float64(0.907424504992097)
alfa := float64(1.000597498371542)
k := float64(1.003419163966575)
ro := math.Sqrt(X*X + Y*Y)
epsilon := 2 * math.Atan(Y/(ro+X))
D := epsilon / n
S := 2*math.Atan(math.Exp(1/n*math.Log(konstURo/ro))) - math.Pi/2
sinS := math.Sin(S)
cosS := math.Cos(S)
sinU := sinUQ*sinS - cosUQ*cosS*math.Cos(D)
cosU := math.Sqrt(1 - sinU*sinU)
sinDV := math.Sin(D) * cosS / cosU
cosDV := math.Sqrt(1 - sinDV*sinDV)
sinV := sinVQ*cosDV - cosVQ*sinDV
cosV := cosVQ*cosDV + sinVQ*sinDV
Ljtsk := 2 * math.Atan(sinV/(1+cosV)) / alfa
t := math.Exp(2 / alfa * math.Log((1+sinU)/cosU/k))
pom := (t - float64(1)) / (t + float64(1))
for {
sinB := pom
pom = t * math.Exp(e*math.Log((1+e*sinB)/(1-e*sinB)))
pom = (pom - 1) / (pom + 1)
if !(math.Abs(pom-sinB) > 1e-15) {
break
}
}
Bjtsk := math.Atan(pom / math.Sqrt(1-pom*pom))
a = float64(6377397.15508)
f1 := float64(299.152812853)
e2 := float64(1) - (float64(1)-float64(1)/f1)*(float64(1)-float64(1)/f1)
ro = a / math.Sqrt(1-e2*math.Sin(Bjtsk)*math.Sin(Bjtsk))
x := (ro + H) * math.Cos(Bjtsk) * math.Cos(Ljtsk)
y := (ro + H) * math.Cos(Bjtsk) * math.Sin(Ljtsk)
z := ((float64(1)-e2)*ro + H) * math.Sin(Bjtsk)
dx := 570.69
dy := 85.69
dz := 462.84
wz := -5.2611 / 3600 * math.Pi / 180
wy := -1.58676 / 3600 * math.Pi / 180
wx := -4.99821 / 3600 * math.Pi / 180
m := 3.543e-6
xn := dx + (float64(1)+m)*(x+wz*y-wy*z)
yn := dy + (float64(1)+m)*(-wz*x+y+wx*z)
zn := dz + (float64(1)+m)*(wy*x-wx*y+z)
a = float64(6378137.0)
f1 = float64(298.257223563)
aB := f1 / (f1 - 1)
p := math.Sqrt(xn*xn + yn*yn)
e2 = float64(1) - (float64(1)-float64(1)/f1)*(float64(1)-float64(1)/f1)
theta := math.Atan(zn * aB / p)
st := math.Sin(theta)
ct := math.Cos(theta)
t = (zn + e2*aB*a*st*st*st) / (p - e2*a*ct*ct*ct)
B := math.Atan(t)
L := 2 * math.Atan(yn/(p+xn))
hOut := math.Sqrt(float64(1)+t*t) * (p - a/math.Sqrt(float64(1)+(float64(1)-e2)*t*t))
lat := B * 180 / math.Pi
long := L * 180 / math.Pi
height := math.Floor(hOut*100) / 100
return lat, long, height
} | sjtsk2gps.go | 0.612889 | 0.427875 | sjtsk2gps.go | starcoder |
package goban
func (b *Box) Enclose(title string) *Box {
newb := b.DrawSides(title, 1, 1, 1, 1)
newb.Clear()
return newb
}
func (b *Box) DrawSides(title string, left, top, right, bottom int) *Box {
newb := b.InsideSides(left, top, right, bottom)
if left != 0 {
x := newb.Pos.X - 1
for y := 0; y < newb.Size.Y; y++ {
screen.SetContent(x, y+newb.Pos.Y, '│', nil, b.Style)
}
}
if right != 0 {
x := newb.Pos.X + newb.Size.X
for y := 0; y < newb.Size.Y; y++ {
screen.SetContent(x, y+newb.Pos.Y, '│', nil, b.Style)
}
}
if top != 0 {
y := newb.Pos.Y - 1
for x := 0; x < newb.Size.X; x++ {
screen.SetContent(x+newb.Pos.X, y, '─', nil, b.Style)
}
}
if bottom != 0 {
y := newb.Pos.Y + newb.Size.Y
for x := 0; x < newb.Size.X; x++ {
screen.SetContent(x+newb.Pos.X, y, '─', nil, b.Style)
}
}
ax := b.Pos.X
ay := b.Pos.Y
bx := ax
by := ay
if b.Size.X > 0 {
bx += b.Size.X - 1
}
if b.Size.Y > 0 {
by += b.Size.Y - 1
}
if left != 0 {
if top == 0 {
b.joinACS(ax, ay-1)
} else {
b.setACS(ax, ay, '┌')
}
if bottom == 0 {
b.joinACS(ax, by+1)
} else {
b.setACS(ax, by, '└')
}
}
if right != 0 {
if top == 0 {
b.joinACS(bx, ay-1)
} else {
b.setACS(bx, ay, '┐')
}
if bottom == 0 {
b.joinACS(bx, by+1)
} else {
b.setACS(bx, by, '┘')
}
}
if top != 0 {
if left == 0 {
b.joinACS(ax-1, ay)
}
if right == 0 {
b.joinACS(bx+1, ay)
}
}
if bottom != 0 {
if left == 0 {
b.joinACS(ax-1, by)
}
if right == 0 {
b.joinACS(bx+1, by)
}
}
// draw title
tb := NewBox(b.Pos.X+1, b.Pos.Y, b.Size.X-1, 1)
if left != 0 {
tb.Pos.X++
tb.Size.X--
}
tb.Prints(title)
return newb
}
func (b *Box) InsideSides(left, top, right, bottom int) *Box {
newb := NewBox(b.Pos.X, b.Pos.Y, b.Size.X, b.Size.Y)
if left != 0 {
newb.Pos.X++
newb.Size.X--
}
if right != 0 {
newb.Size.X--
}
if top != 0 {
newb.Pos.Y++
newb.Size.Y--
}
if bottom != 0 {
newb.Size.Y--
}
return newb
}
func (b *Box) setACS(x, y int, r rune) {
a0 := acsAt(x, y)
a1 := rune2acs(r)
screen.SetContent(x, y, (a0 | a1).Rune(), nil, b.Style)
}
func (b *Box) joinACS(x, y int) {
me := acsAt(x, y)
if acsAt(x-1, y)&acsR != 0 {
me = me | acsL
} else {
me = me &^ acsL
}
if acsAt(x, y-1)&acsB != 0 {
me = me | acsT
} else {
me = me &^ acsT
}
if acsAt(x+1, y)&acsL != 0 {
me = me | acsR
} else {
me = me &^ acsR
}
if acsAt(x, y+1)&acsT != 0 {
me = me | acsB
} else {
me = me &^ acsB
}
screen.SetContent(x, y, me.Rune(), nil, b.Style)
}
func acsAt(x, y int) acs {
r, _, _, _ := screen.GetContent(x, y)
return rune2acs(r)
} | box_sides.go | 0.567457 | 0.426023 | box_sides.go | starcoder |
package ql
import (
"fmt"
"io"
)
// SelectStatement represents a QL SELECT statement.
type SelectStatement struct {
Fields []string
Store string
Comps [][]string
}
// Parser represents a parser.
type Parser struct {
s *Scanner
buf struct {
tok Token // last read token
lit string // last read literal
n int // buffer size (max=1)
}
}
// NewParser returns a new instance of Parser.
func NewParser(r io.Reader) *Parser {
return &Parser{s: NewScanner(r)}
}
// Parse parses a SQL SELECT statement.
func (p *Parser) Parse() (*SelectStatement, error) {
stmt := &SelectStatement{}
// First token should be a "SELECT" keyword.
if tok, lit := p.scanIgnoreWhitespace(); tok != SELECT {
return nil, fmt.Errorf("SELECT: found %q, expected SELECT", lit)
}
// Next we should loop over all our comma-delimited fields.
for {
// Read a field.
tok, lit := p.scanIgnoreWhitespace()
if tok != IDENT && tok != ASTERISK {
return nil, fmt.Errorf("FIELDS: found %q, expected field", lit)
}
stmt.Fields = append(stmt.Fields, lit)
// If the next token is not a comma then break the loop.
if tok, _ := p.scanIgnoreWhitespace(); tok != COMMA {
p.unscan()
break
}
}
// Next we should see the "FROM" keyword.
if tok, lit := p.scanIgnoreWhitespace(); tok != FROM {
return nil, fmt.Errorf("FROM: found %q, expected FROM", lit)
}
// Then we should read the table name.
tok, lit := p.scanIgnoreWhitespace()
if tok != IDENT {
return nil, fmt.Errorf("Store: found %q, expected namespace", lit)
}
stmt.Store = lit
// Next we should look for the possibility of a "WHERE" keyword
if tok, _ := p.scanIgnoreWhitespace(); tok == WHERE {
// we should loop through our where clause
for {
var comp []string
// Read a field.
tok, lit := p.scanIgnoreWhitespace()
if tok != IDENT && tok != ASTERISK {
return nil, fmt.Errorf("WHERE: found %q, expected (1st) field", lit)
}
comp = append(comp, lit)
// If the next token is not a comparitor then break the loop.
tok, lit = p.scanIgnoreWhitespace()
if tok != COMPARITOR {
p.unscan()
break
}
comp = append(comp, lit)
// Read a field.
tok, lit = p.scanIgnoreWhitespace()
if tok != IDENT && tok != ASTERISK {
fmt.Errorf("%q is %+v\n", lit, tok)
return nil, fmt.Errorf("WHERE: found %q, expected (2nd) field", lit)
}
stmt.Comps = append(stmt.Comps, append(comp, lit))
// If the next token is not a comma, or an and then break the loop.
if tok, _ = p.scanIgnoreWhitespace(); tok != COMMA && tok != AND {
p.unscan()
break
}
}
}
// Return the successfully parsed statement.
return stmt, nil
}
// scan returns the next token from the underlying scanner.
// If a token has been unscanned then read that instead.
func (p *Parser) scan() (tok Token, lit string) {
// If we have a token on the buffer, then return it.
if p.buf.n != 0 {
p.buf.n = 0
return p.buf.tok, p.buf.lit
}
// Otherwise read the next token from the scanner.
tok, lit = p.s.Scan()
// Save it to the buffer in case we unscan later.
p.buf.tok, p.buf.lit = tok, lit
return
}
// scanIgnoreWhitespace scans the next non-whitespace token.
func (p *Parser) scanIgnoreWhitespace() (tok Token, lit string) {
tok, lit = p.scan()
if tok == WS {
tok, lit = p.scan()
}
return
}
// unscan pushes the previously read token back onto the buffer.
func (p *Parser) unscan() { p.buf.n = 1 } | plugins/data/parser/ql/ql/v1/parser.go | 0.650245 | 0.458773 | parser.go | starcoder |
package tetra3d
const (
FogOff = iota // No fog
FogAdd // Additive blended fog
FogMultiply // Multiplicative blended fog
FogOverwrite // Color overwriting fog (mixing base with fog color over depth distance)
)
type FogMode int
// Library represents a collection of Scenes, Meshes, and Animations, as loaded from an intermediary file format (.dae or .gltf / .glb).
type Library struct {
Scenes []*Scene
Meshes map[string]*Mesh
Animations map[string]*Animation
Materials map[string]*Material
}
func NewLibrary() *Library {
return &Library{
Scenes: []*Scene{},
Meshes: map[string]*Mesh{},
Animations: map[string]*Animation{},
Materials: map[string]*Material{},
}
}
func (lib *Library) FindScene(name string) *Scene {
for _, scene := range lib.Scenes {
if scene.Name == name {
return scene
}
}
return nil
}
func (lib *Library) AddScene(sceneName string) *Scene {
newScene := NewScene(sceneName)
lib.Scenes = append(lib.Scenes, newScene)
return newScene
}
// Scene represents a world of sorts, and can contain a variety of Meshes and Nodes, which organize the scene into a
// graph of parents and children. Models (visual instances of Meshes), Cameras, and "empty" NodeBases all are kinds of Nodes.
type Scene struct {
Name string // The name of the Scene. Set automatically to the scene name in your 3D modeler if the DAE file exports it.
// Root indicates the root node for the scene hierarchy. For visual Models to be displayed, they must be added to the
// scene graph by simply adding them into the tree via parenting anywhere under the Root. For them to be removed from rendering,
// they simply need to be removed from the tree.
// See this page for more information on how a scene graph works: https://webglfundamentals.org/webgl/lessons/webgl-scene-graph.html
Root INode
FogColor *Color // The Color of any fog present in the Scene.
FogMode FogMode // The FogMode, indicating how the fog color is blended if it's on (not FogOff).
// FogRange is the depth range at which the fog is active. FogRange consists of two numbers,
// the first indicating the start of the fog, and the second the end, in terms of total depth
// of the near / far clipping plane.
FogRange []float32
}
// NewScene creates a new Scene by the name given.
func NewScene(name string) *Scene {
scene := &Scene{
Name: name,
// Models: []*Model{},
Root: NewNode("Root"),
FogColor: NewColor(0, 0, 0, 0),
FogRange: []float32{0, 1},
}
return scene
}
// Clone clones the Scene, returning a copy. Models and Meshes are shared between them.
func (scene *Scene) Clone() *Scene {
newScene := NewScene(scene.Name)
// newScene.Models = append(newScene.Models, scene.Models...)
newScene.Root = scene.Root.Clone()
newScene.FogColor = scene.FogColor.Clone()
newScene.FogMode = scene.FogMode
newScene.FogRange[0] = scene.FogRange[0]
newScene.FogRange[1] = scene.FogRange[1]
return newScene
}
// FilterNodes filters out the Scene's Node tree to return just the Nodes
// that satisfy the function passed. You can use this to, for example, find
// Nodes that have a specific name, or render a Scene in stages.
func (scene *Scene) FilterNodes(filterFunc func(node INode) bool) []INode {
newMS := []INode{}
for _, m := range scene.Root.ChildrenRecursive(false) {
if filterFunc(m) {
newMS = append(newMS, m)
}
}
return newMS
}
func (scene *Scene) fogAsFloatSlice() []float32 {
fog := []float32{
float32(scene.FogColor.R),
float32(scene.FogColor.G),
float32(scene.FogColor.B),
float32(scene.FogMode),
}
if scene.FogMode == FogMultiply {
fog[0] = 1 - fog[0]
fog[1] = 1 - fog[1]
fog[2] = 1 - fog[2]
}
return fog
} | scene.go | 0.818882 | 0.471832 | scene.go | starcoder |
package main
import (
"bufio"
"fmt"
"io"
"math"
"os"
"strconv"
"strings"
)
/*
* Complete the 'reachTheEnd' function below.
*
* The function is expected to return a STRING.
* The function accepts following parameters:
* 1. STRING_ARRAY grid
* 2. INTEGER maxTime
*/
func reachTheEnd(grid []string, maxTime int32) string {
path := findShortestPath(grid)
// as we are looking for transitions and not elements,
// lets just ignore first element
transitions := int32(len(path) - 1)
if transitions > 0 && transitions <= maxTime {
return "Yes"
}
return "No"
}
// based on BFS, returns the shortest path from the beginning to
// the end of the grid
func findShortestPath(grid []string) (path []int32) {
current := int32(0)
queue := []int32{current}
visited := make([]bool, calculateGridSize(grid))
visited[current] = true
for len(queue) > 0 {
var item int32
item, queue = queue[0], queue[1:]
path = append(path, item)
for _, neighbor := range getNeighbors(item, grid) {
if !visited[neighbor] {
visited[neighbor] = true
queue = append(queue, neighbor)
}
}
}
return
}
// returns the total of elements in the grid
func calculateGridSize(grid []string) int32 {
return int32(len(grid[0]) * len(grid))
}
// returns an array with neighbors
func getNeighbors(current int32, grid []string) (path []int32) {
row, column := transformElementToPosition(current, grid)
rowLimit := int32(len(grid)) - 1
columnLimit := int32(len(grid[0])) - 1
for x := max(0, row-1); x <= min(row+1, rowLimit); x++ {
for y := max(0, column-1); y <= min(column+1, columnLimit); y++ {
// lets ignore diagonals
// top
if x == row-1 || x == row+1 {
if y == column-1 || y == column+1 {
continue
}
}
if x != row || y != column {
if cellIsEligible(x, y, grid) {
path = append(path, transformPositionToElement(x, y, grid))
}
}
}
}
return
}
func max(a, b int32) int32 {
if a > b {
return a
}
return b
}
func min(a, b int32) int32 {
if a < b {
return a
}
return b
}
// it adapts the string-based grid into an int-based
// matrix by transforming chars in a row into a positional
// array (eg [".##", "###"] turns into [[0,1,2],[3,4,5]].
func transformElementToPosition(element int32, grid []string) (row, column int32) {
if element == 0 {
return 0, 0
}
elementsPerRow := int32(len(grid[0]))
row = int32(math.Floor(float64(element) / float64(elementsPerRow)))
column = element % elementsPerRow
return
}
func transformPositionToElement(row, column int32, grid []string) int32 {
elementsPerRow := int32(len(grid[0]))
firstElement := row * elementsPerRow
return firstElement + column
}
func cellIsEligible(row, column int32, grid []string) bool {
return string(grid[row][column]) == "."
}
func main() {
reader := bufio.NewReaderSize(os.Stdin, 16*1024*1024)
stdout, err := os.Create(os.Getenv("OUTPUT_PATH"))
checkError(err)
defer stdout.Close()
writer := bufio.NewWriterSize(stdout, 16*1024*1024)
gridCount, err := strconv.ParseInt(strings.TrimSpace(readLine(reader)), 10, 64)
checkError(err)
var grid []string
for i := 0; i < int(gridCount); i++ {
gridItem := readLine(reader)
grid = append(grid, gridItem)
}
maxTimeTemp, err := strconv.ParseInt(strings.TrimSpace(readLine(reader)), 10, 64)
checkError(err)
maxTime := int32(maxTimeTemp)
result := reachTheEnd(grid, maxTime)
fmt.Fprintf(writer, "%s\n", result)
writer.Flush()
}
func readLine(reader *bufio.Reader) string {
str, _, err := reader.ReadLine()
if err == io.EOF {
return ""
}
return strings.TrimRight(string(str), "\r\n")
}
func checkError(err error) {
if err != nil {
panic(err)
}
} | challenges/reach-the-end/main.go | 0.725746 | 0.414721 | main.go | starcoder |
package graphblas
import (
"sync"
"github.com/rossmerr/graphblas/constraints"
)
// MutexMatrix a matrix wrapper that has a mutex lock support
type MutexMatrix[T constraints.Number] struct {
sync.RWMutex
matrix Matrix[T]
}
// NewMutexMatrix returns a MutexMatrix
func NewMutexMatrix[T constraints.Number](matrix Matrix[T]) *MutexMatrix[T] {
return &MutexMatrix[T]{
matrix: matrix,
}
}
// Columns the number of columns of the matrix
func (s *MutexMatrix[T]) Columns() int {
return s.matrix.Columns()
}
// Rows the number of rows of the matrix
func (s *MutexMatrix[T]) Rows() int {
return s.matrix.Rows()
}
// Update does a At and Set on the matrix element at r-th, c-th
func (s *MutexMatrix[T]) Update(r, c int, f func(T) T) {
s.Lock()
defer s.Unlock()
s.matrix.Update(r, c, f)
}
// At returns the value of a matrix element at r-th, c-th
func (s *MutexMatrix[T]) At(r, c int) T {
s.RLock()
defer s.RUnlock()
return s.matrix.At(r, c)
}
// Set sets the value at r-th, c-th of the matrix
func (s *MutexMatrix[T]) Set(r, c int, value T) {
s.Lock()
defer s.Unlock()
s.matrix.Set(r, c, value)
}
// ColumnsAt return the columns at c-th
func (s *MutexMatrix[T]) ColumnsAt(c int) Vector[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.ColumnsAt(c)
}
// RowsAt return the rows at r-th
func (s *MutexMatrix[T]) RowsAt(r int) Vector[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.RowsAt(r)
}
// RowsAtToArray return the rows at r-th
func (s *MutexMatrix[T]) RowsAtToArray(r int) []T {
s.RLock()
defer s.RUnlock()
return s.matrix.RowsAtToArray(r)
}
// Copy copies the matrix
func (s *MutexMatrix[T]) Copy() Matrix[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.Copy()
}
// Scalar multiplication of a matrix by alpha
func (s *MutexMatrix[T]) Scalar(alpha T) Matrix[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.Scalar(alpha)
}
// Multiply multiplies a matrix by another matrix
func (s *MutexMatrix[T]) Multiply(m Matrix[T]) Matrix[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.Multiply(m)
}
// Add addition of a matrix by another matrix
func (s *MutexMatrix[T]) Add(m Matrix[T]) Matrix[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.Add(m)
}
// Subtract subtracts one matrix from another matrix
func (s *MutexMatrix[T]) Subtract(m Matrix[T]) Matrix[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.Subtract(m)
}
// Negative the negative of a matrix
func (s *MutexMatrix[T]) Negative() Matrix[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.Negative()
}
// Transpose swaps the rows and columns
func (s *MutexMatrix[T]) Transpose() Matrix[T] {
s.RLock()
defer s.RUnlock()
return s.matrix.Transpose()
}
// Equal the two matrices are equal
func (s *MutexMatrix[T]) Equal(m Matrix[T]) bool {
s.RLock()
defer s.RUnlock()
return s.matrix.Equal(m)
}
// NotEqual the two matrices are not equal
func (s *MutexMatrix[T]) NotEqual(m Matrix[T]) bool {
s.RLock()
defer s.RUnlock()
return s.matrix.NotEqual(m)
}
// Size of the matrix
func (s *MutexMatrix[T]) Size() int {
return s.matrix.Size()
}
// Values the number of elements in the matrix
func (s *MutexMatrix[T]) Values() int {
return s.matrix.Values()
}
// Clear removes all elements from a matrix
func (s *MutexMatrix[T]) Clear() {
s.RLock()
defer s.RUnlock()
s.matrix.Clear()
}
// Enumerate iterates through all non-zero elements, order is not guaranteed
func (s *MutexMatrix[T]) Enumerate() Enumerate[T] {
return s.matrix.Enumerate()
}
// Map replace each element with the result of applying a function to its value
func (s *MutexMatrix[T]) Map() Map[T] {
return s.matrix.Map()
}
// Element of the mask for each tuple that exists in the matrix for which the value of the tuple cast to Boolean is true
func (s *MutexMatrix[T]) Element(r, c int) bool {
s.RLock()
defer s.RUnlock()
return s.matrix.Element(r, c)
} | mutexMatrix.go | 0.859103 | 0.580887 | mutexMatrix.go | starcoder |
package anomalydetector
import (
"log"
"math"
"math/rand"
"time"
)
type AnomalyDetector struct {
Term int
R float64
last float64
lastScore float64
lastProbe float64
Mu float64
Sigma float64
C []float64
Data []float64
DataSize int
Identity []float64
Matrix []float64
Multiply []float64
}
func NewAnomalyDetector(term int, r float64) *AnomalyDetector {
return NewAnomalyDetectorWithSource(term, r, rand.NewSource(time.Now().UnixNano()))
}
func NewAnomalyDetectorWithSource(term int, r float64, source rand.Source) *AnomalyDetector {
v := AnomalyDetector{Term: term, R: r, Mu: 0.0, Sigma: 0, last: 0, lastScore: 0}
v.C = make([]float64, term)
v.Data = make([]float64, term)
v.DataSize = 0
v.Identity = make([]float64, term*term)
v.Matrix = make([]float64, term*term)
v.Multiply = make([]float64, term)
rng := rand.New(source)
for i := 0; i < term; i++ {
v.C[i] = rng.Float64()
}
return &v
}
func (finder *AnomalyDetector) Update(x float64) float64 {
if finder.last == x {
return finder.lastScore
}
// clear
for i := range finder.Identity {
finder.Identity[i] = 0
}
for i := range finder.Matrix {
finder.Matrix[i] = 0
}
for i := range finder.Multiply {
finder.Multiply[i] = 0
}
length := finder.DataSize
finder.Mu = ((1.0 - finder.R) * finder.Mu) + (finder.R * x)
for j := 0; j < finder.Term; j++ {
t := ((length - 1) - j)
if t < 0 {
t = length + t
}
if t < 0 {
continue
}
if t <= finder.DataSize && finder.DataSize > 0 {
finder.C[j] = (1.0-finder.R)*finder.C[j] + finder.R*(x-finder.Mu)*(finder.Data[t]-finder.Mu)
}
}
// zero_matrix
for i := range finder.Matrix {
finder.Matrix[i] = 0
}
for j := 0; j < finder.Term; j++ {
for i := j; i < finder.Term; i++ {
v := finder.C[i-j]
finder.Matrix[i+j*finder.Term] = v
finder.Matrix[j+i*finder.Term] = v
}
}
inverse(finder.Term, &finder.Matrix, &finder.Identity)
multiply(finder, &finder.Identity, &finder.Multiply)
xt := finder.Mu
for i := 0; i < finder.DataSize; i++ {
xt += finder.Multiply[i] * (finder.Data[i] - finder.Mu)
}
finder.Sigma = (1-finder.R)*finder.Sigma + finder.R*(x-xt)*(x-xt)
shift(finder)
finder.Data[finder.DataSize] = x
finder.DataSize++
finder.last = x
probe := probe(finder, xt, x)
result := score(probe)
if !math.IsNaN(result) {
finder.lastScore = result
} else {
result = finder.lastScore
}
return result
}
func inverse(size int, real, result *[]float64) {
var v float64
var identity []float64 = *result
var target []float64 = *real
for i := 0; i < size; i++ {
for j := 0; j < size; j++ {
if i == j {
v = 1.0
} else {
v = 0
}
identity[j+i*size] = v
}
}
for i := 0; i < size; i++ {
buf := 1 / target[i+i*size]
for j := 0; j < size; j++ {
target[j+i*size] *= buf
identity[j+i*size] *= buf
}
for j := 0; j < size; j++ {
if i != j {
buf = target[i+j*size]
for k := 0; k < size; k++ {
target[k+j*size] -= target[k+i*size] * buf
identity[k+j*size] -= identity[k+i*size] * buf
}
}
}
}
}
func multiply(finder *AnomalyDetector, identity, result *[]float64) {
n := finder.Term
var tmp []float64 = *result
var cc []float64 = *identity
for k := 0; k < n; k++ {
tmp[k] = 0
for x := 0; x < n; x++ {
tmp[k] += cc[x+k*n] * finder.C[x]
}
}
}
func shift(finder *AnomalyDetector) {
if finder.DataSize+1 > finder.Term {
for x := 0; x < finder.Term-1; x++ {
finder.Data[x] = finder.Data[x+1]
}
finder.Data[finder.Term-1] = 0.0
finder.DataSize--
}
}
func probe(finder *AnomalyDetector, mu, v float64) float64 {
var result float64 = 0.0
if finder.Sigma == 0.0 {
return result
}
result = math.Exp(-0.5*math.Pow((v-mu), 2)/finder.Sigma) / (math.Pow((2*math.Pi), 0.5) * math.Pow(finder.Sigma, 0.5))
if math.IsNaN(result) {
log.Printf("probe calculation failed. getting NaN")
result = finder.lastProbe
} else {
finder.lastProbe = result
}
return result
}
func score(p float64) float64 {
if p <= 0.0 {
return 0.0
} else {
return -math.Log(p)
}
} | anomalydetector.go | 0.543348 | 0.472623 | anomalydetector.go | starcoder |
package seq
import (
"fmt"
)
// Alignment represents the result of aligning two sequences.
type Alignment struct {
A []Residue // Reference
B []Residue // Query
}
func newAlignment(length int) Alignment {
return Alignment{
A: make([]Residue, 0, length),
B: make([]Residue, 0, length),
}
}
// Performs the Needleman-Wunsch sequence alignment algorithm on a pair
// of sequences. A function `subst` should return alignment scores for
// pairs of residues. This package provides some functions suitable for
// this purpose, e.g., MatBlosum62, MatDNA, MatRNA, etc.
func NeedlemanWunsch(A, B []Residue, subst SubstMatrix) Alignment {
// This implementation is taken from the "Needleman-Wunsch_algorithm"
// Wikipedia article.
// rows correspond to residues in A
// cols correspond to residues in B
// Initialization.
var p int
r, c := len(A)+1, len(B)+1
matrix := make([]int, r*c)
idx := subst.Alphabet.Index()
sub := subst.Scores
gapPenalty := sub[idx['-']][idx['-']]
// Compute the matrix.
for i := 0; i < r; i++ {
matrix[i*c+0] = gapPenalty * i
}
for j := 0; j < c; j++ {
matrix[0*c+j] = gapPenalty * j
}
var diag, sleft, sup int
var subsub []int
for i := 1; i < r; i++ {
subsub = sub[idx[A[i-1]]]
for j := 1; j < c; j++ {
p = i*c + j
diag = matrix[p-c-1] + subsub[idx[B[j-1]]]
sup, sleft = matrix[p-c]+gapPenalty, matrix[p-1]+gapPenalty
switch {
case diag > sup && diag > sleft:
matrix[p] = diag
case sup > sleft:
matrix[p] = sup
default:
matrix[p] = sleft
}
}
}
// Now trace an optimal path through the matrix starting at (r, c)
aligned := newAlignment(max(r, c))
i, j := r-1, c-1
for i > 0 || j > 0 {
p = i*c + j
switch {
case i > 0 && j > 0 &&
matrix[p] == matrix[p-c-1]+sub[idx[A[i-1]]][idx[B[j-1]]]:
aligned.A = append(aligned.A, A[i-1])
aligned.B = append(aligned.B, B[j-1])
i--
j--
case i > 0 && matrix[p] == matrix[p-c]+gapPenalty:
aligned.A = append(aligned.A, A[i-1])
aligned.B = append(aligned.B, '-')
i--
case j > 0 && matrix[p] == matrix[p-1]+gapPenalty:
aligned.A = append(aligned.A, '-')
aligned.B = append(aligned.B, B[j-1])
j--
default:
panic(fmt.Sprintf("BUG in NeedlemanWunsch: No path at (%d, %d)",
i, j))
}
}
// Since we built the alignment in backwards, we must reverse the alignment.
for i, j := 0, len(aligned.A)-1; i < j; i, j = i+1, j-1 {
aligned.A[i], aligned.A[j] = aligned.A[j], aligned.A[i]
aligned.B[i], aligned.B[j] = aligned.B[j], aligned.B[i]
}
return aligned
}
func max(a, b int) int {
if a > b {
return a
}
return b
}
func max3(a, b, c int) int {
switch {
case a > b && a > c:
return a
case b > c:
return b
}
return c
} | sequence_align.go | 0.746139 | 0.454835 | sequence_align.go | starcoder |
package bls12381
import (
"io"
"github.com/coinbase/kryptology/internal"
"github.com/coinbase/kryptology/pkg/core/curves/native"
)
// GtFieldBytes is the number of bytes needed to represent this field
const GtFieldBytes = 576
// Gt is the target group
type Gt fp12
// Random generates a random field element
func (gt *Gt) Random(reader io.Reader) (*Gt, error) {
_, err := (*fp12)(gt).Random(reader)
return gt, err
}
// FinalExponentiation performs a "final exponentiation" routine to convert the result
// of a Miller loop into an element of `Gt` with help of efficient squaring
// operation in the so-called `cyclotomic subgroup` of `Fq6` so that
// it can be compared with other elements of `Gt`.
func (gt *Gt) FinalExponentiation(a *Gt) *Gt {
var t0, t1, t2, t3, t4, t5, t6, t fp12
t0.FrobeniusMap((*fp12)(a))
t0.FrobeniusMap(&t0)
t0.FrobeniusMap(&t0)
t0.FrobeniusMap(&t0)
t0.FrobeniusMap(&t0)
t0.FrobeniusMap(&t0)
// Shouldn't happen since we enforce `a` to be non-zero but just in case
_, wasInverted := t1.Invert((*fp12)(a))
t2.Mul(&t0, &t1)
t1.Set(&t2)
t2.FrobeniusMap(&t2)
t2.FrobeniusMap(&t2)
t2.Mul(&t2, &t1)
t1.cyclotomicSquare(&t2)
t1.Conjugate(&t1)
t3.cyclotomicExp(&t2)
t4.cyclotomicSquare(&t3)
t5.Mul(&t1, &t3)
t1.cyclotomicExp(&t5)
t0.cyclotomicExp(&t1)
t6.cyclotomicExp(&t0)
t6.Mul(&t6, &t4)
t4.cyclotomicExp(&t6)
t5.Conjugate(&t5)
t4.Mul(&t4, &t5)
t4.Mul(&t4, &t2)
t5.Conjugate(&t2)
t1.Mul(&t1, &t2)
t1.FrobeniusMap(&t1)
t1.FrobeniusMap(&t1)
t1.FrobeniusMap(&t1)
t6.Mul(&t6, &t5)
t6.FrobeniusMap(&t6)
t3.Mul(&t3, &t0)
t3.FrobeniusMap(&t3)
t3.FrobeniusMap(&t3)
t3.Mul(&t3, &t1)
t3.Mul(&t3, &t6)
t.Mul(&t3, &t4)
(*fp12)(gt).CMove((*fp12)(gt), &t, wasInverted)
return gt
}
// IsZero returns 1 if gt == 0, 0 otherwise
func (gt *Gt) IsZero() int {
return (*fp12)(gt).IsZero()
}
// IsOne returns 1 if gt == 1, 0 otherwise
func (gt *Gt) IsOne() int {
return (*fp12)(gt).IsOne()
}
// SetOne gt = one
func (gt *Gt) SetOne() *Gt {
(*fp12)(gt).SetOne()
return gt
}
// Set copies a into gt
func (gt *Gt) Set(a *Gt) *Gt {
gt.A.Set(&a.A)
gt.B.Set(&a.B)
return gt
}
// Bytes returns the Gt field byte representation
func (gt *Gt) Bytes() [GtFieldBytes]byte {
var out [GtFieldBytes]byte
t := gt.A.A.A.Bytes()
copy(out[:FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.A.A.B.Bytes()
copy(out[FieldBytes:2*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.A.B.A.Bytes()
copy(out[2*FieldBytes:3*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.A.B.B.Bytes()
copy(out[3*FieldBytes:4*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.A.C.A.Bytes()
copy(out[4*FieldBytes:5*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.A.C.B.Bytes()
copy(out[5*FieldBytes:6*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.B.A.A.Bytes()
copy(out[6*FieldBytes:7*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.B.A.B.Bytes()
copy(out[7*FieldBytes:8*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.B.B.A.Bytes()
copy(out[8*FieldBytes:9*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.B.B.B.Bytes()
copy(out[9*FieldBytes:10*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.B.C.A.Bytes()
copy(out[10*FieldBytes:11*FieldBytes], internal.ReverseScalarBytes(t[:]))
t = gt.B.C.B.Bytes()
copy(out[11*FieldBytes:12*FieldBytes], internal.ReverseScalarBytes(t[:]))
return out
}
// SetBytes attempts to convert a big-endian byte representation of
// a scalar into a `Gt`, failing if the input is not canonical.
func (gt *Gt) SetBytes(input *[GtFieldBytes]byte) (*Gt, int) {
var t [FieldBytes]byte
var valid [12]int
copy(t[:], internal.ReverseScalarBytes(input[:FieldBytes]))
_, valid[0] = gt.A.A.A.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[FieldBytes:2*FieldBytes]))
_, valid[1] = gt.A.A.B.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[2*FieldBytes:3*FieldBytes]))
_, valid[2] = gt.A.B.A.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[3*FieldBytes:4*FieldBytes]))
_, valid[3] = gt.A.B.B.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[4*FieldBytes:5*FieldBytes]))
_, valid[4] = gt.A.C.A.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[5*FieldBytes:6*FieldBytes]))
_, valid[5] = gt.A.C.B.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[6*FieldBytes:7*FieldBytes]))
_, valid[6] = gt.B.A.A.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[7*FieldBytes:8*FieldBytes]))
_, valid[7] = gt.B.A.B.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[8*FieldBytes:9*FieldBytes]))
_, valid[8] = gt.B.B.A.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[9*FieldBytes:10*FieldBytes]))
_, valid[9] = gt.B.B.B.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[10*FieldBytes:11*FieldBytes]))
_, valid[10] = gt.B.C.A.SetBytes(&t)
copy(t[:], internal.ReverseScalarBytes(input[11*FieldBytes:12*FieldBytes]))
_, valid[11] = gt.B.C.B.SetBytes(&t)
return gt, valid[0] & valid[1] &
valid[2] & valid[3] &
valid[4] & valid[5] &
valid[6] & valid[7] &
valid[8] & valid[9] &
valid[10] & valid[11]
}
// Equal returns 1 if gt == rhs, 0 otherwise
func (gt *Gt) Equal(rhs *Gt) int {
return (*fp12)(gt).Equal((*fp12)(rhs))
}
// Generator returns the base point
func (gt *Gt) Generator() *Gt {
// pairing(&G1::generator(), &G2::generator())
gt.Set((*Gt)(&fp12{
A: fp6{
A: fp2{
A: fp{
0x1972e433a01f85c5,
0x97d32b76fd772538,
0xc8ce546fc96bcdf9,
0xcef63e7366d40614,
0xa611342781843780,
0x13f3448a3fc6d825,
},
B: fp{
0xd26331b02e9d6995,
0x9d68a482f7797e7d,
0x9c9b29248d39ea92,
0xf4801ca2e13107aa,
0xa16c0732bdbcb066,
0x083ca4afba360478,
},
},
B: fp2{
A: fp{
0x59e261db0916b641,
0x2716b6f4b23e960d,
0xc8e55b10a0bd9c45,
0x0bdb0bd99c4deda8,
0x8cf89ebf57fdaac5,
0x12d6b7929e777a5e,
},
B: fp{
0x5fc85188b0e15f35,
0x34a06e3a8f096365,
0xdb3126a6e02ad62c,
0xfc6f5aa97d9a990b,
0xa12f55f5eb89c210,
0x1723703a926f8889,
},
},
C: fp2{
A: fp{
0x93588f2971828778,
0x43f65b8611ab7585,
0x3183aaf5ec279fdf,
0xfa73d7e18ac99df6,
0x64e176a6a64c99b0,
0x179fa78c58388f1f,
},
B: fp{
0x672a0a11ca2aef12,
0x0d11b9b52aa3f16b,
0xa44412d0699d056e,
0xc01d0177221a5ba5,
0x66e0cede6c735529,
0x05f5a71e9fddc339,
},
},
},
B: fp6{
A: fp2{
A: fp{
0xd30a88a1b062c679,
0x5ac56a5d35fc8304,
0xd0c834a6a81f290d,
0xcd5430c2da3707c7,
0xf0c27ff780500af0,
0x09245da6e2d72eae,
},
B: fp{
0x9f2e0676791b5156,
0xe2d1c8234918fe13,
0x4c9e459f3c561bf4,
0xa3e85e53b9d3e3c1,
0x820a121e21a70020,
0x15af618341c59acc,
},
},
B: fp2{
A: fp{
0x7c95658c24993ab1,
0x73eb38721ca886b9,
0x5256d749477434bc,
0x8ba41902ea504a8b,
0x04a3d3f80c86ce6d,
0x18a64a87fb686eaa,
},
B: fp{
0xbb83e71bb920cf26,
0x2a5277ac92a73945,
0xfc0ee59f94f046a0,
0x7158cdf3786058f7,
0x7cc1061b82f945f6,
0x03f847aa9fdbe567,
},
},
C: fp2{
A: fp{
0x8078dba56134e657,
0x1cd7ec9a43998a6e,
0xb1aa599a1a993766,
0xc9a0f62f0842ee44,
0x8e159be3b605dffa,
0x0c86ba0d4af13fc2,
},
B: fp{
0xe80ff2a06a52ffb1,
0x7694ca48721a906c,
0x7583183e03b08514,
0xf567afdd40cee4e2,
0x9a6d96d2e526a5fc,
0x197e9f49861f2242,
},
},
},
}))
return gt
}
// Add adds this value to another value.
func (gt *Gt) Add(arg1, arg2 *Gt) *Gt {
(*fp12)(gt).Mul((*fp12)(arg1), (*fp12)(arg2))
return gt
}
// Double this value
func (gt *Gt) Double(a *Gt) *Gt {
(*fp12)(gt).Square((*fp12)(a))
return gt
}
// Sub subtracts the two values
func (gt *Gt) Sub(arg1, arg2 *Gt) *Gt {
var t fp12
t.Conjugate((*fp12)(arg2))
(*fp12)(gt).Mul((*fp12)(arg1), &t)
return gt
}
// Neg negates this value
func (gt *Gt) Neg(a *Gt) *Gt {
(*fp12)(gt).Conjugate((*fp12)(a))
return gt
}
// Mul multiplies this value by the input scalar
func (gt *Gt) Mul(a *Gt, s *native.Field) *Gt {
var f, p fp12
f.Set((*fp12)(a))
bytes := s.Bytes()
precomputed := [16]fp12{}
precomputed[1].Set(&f)
for i := 2; i < 16; i += 2 {
precomputed[i].Square(&precomputed[i>>1])
precomputed[i+1].Mul(&precomputed[i], &f)
}
for i := 0; i < 256; i += 4 {
// Brouwer / windowing method. window size of 4.
for j := 0; j < 4; j++ {
p.Square(&p)
}
window := bytes[32-1-i>>3] >> (4 - i&0x04) & 0x0F
p.Mul(&p, &precomputed[window])
}
(*fp12)(gt).Set(&p)
return gt
}
// Square this value
func (gt *Gt) Square(a *Gt) *Gt {
(*fp12)(gt).cyclotomicSquare((*fp12)(a))
return gt
}
// Invert this value
func (gt *Gt) Invert(a *Gt) (*Gt, int) {
_, wasInverted := (*fp12)(gt).Invert((*fp12)(a))
return gt, wasInverted
}
func fp4Square(a, b, arg1, arg2 *fp2) {
var t0, t1, t2 fp2
t0.Square(arg1)
t1.Square(arg2)
t2.MulByNonResidue(&t1)
a.Add(&t2, &t0)
t2.Add(arg1, arg2)
t2.Square(&t2)
t2.Sub(&t2, &t0)
b.Sub(&t2, &t1)
}
func (f *fp12) cyclotomicSquare(a *fp12) *fp12 {
// Adaptation of Algorithm 5.5.4, Guide to Pairing-Based Cryptography
// Faster Squaring in the Cyclotomic Subgroup of Sixth Degree Extensions
// https://eprint.iacr.org/2009/565.pdf
var z0, z1, z2, z3, z4, z5, t0, t1, t2, t3 fp2
z0.Set(&a.A.A)
z4.Set(&a.A.B)
z3.Set(&a.A.C)
z2.Set(&a.B.A)
z1.Set(&a.B.B)
z5.Set(&a.B.C)
fp4Square(&t0, &t1, &z0, &z1)
z0.Sub(&t0, &z0)
z0.Double(&z0)
z0.Add(&z0, &t0)
z1.Add(&t1, &z1)
z1.Double(&z1)
z1.Add(&z1, &t1)
fp4Square(&t0, &t1, &z2, &z3)
fp4Square(&t2, &t3, &z4, &z5)
z4.Sub(&t0, &z4)
z4.Double(&z4)
z4.Add(&z4, &t0)
z5.Add(&z5, &t1)
z5.Double(&z5)
z5.Add(&z5, &t1)
t0.MulByNonResidue(&t3)
z2.Add(&z2, &t0)
z2.Double(&z2)
z2.Add(&z2, &t0)
z3.Sub(&t2, &z3)
z3.Double(&z3)
z3.Add(&z3, &t2)
f.A.A.Set(&z0)
f.A.B.Set(&z4)
f.A.C.Set(&z3)
f.B.A.Set(&z2)
f.B.B.Set(&z1)
f.B.C.Set(&z5)
return f
}
func (f *fp12) cyclotomicExp(a *fp12) *fp12 {
var t fp12
t.SetOne()
foundOne := 0
for i := 63; i >= 0; i-- {
b := int((paramX >> i) & 1)
if foundOne == 1 {
t.cyclotomicSquare(&t)
} else {
foundOne = b
}
if b == 1 {
t.Mul(&t, a)
}
}
f.Conjugate(&t)
return f
} | pkg/core/curves/native/bls12381/gt.go | 0.806472 | 0.508727 | gt.go | starcoder |
package signals
import (
"strings"
)
func isUniqueDigit(digit string) bool {
length := len(digit)
if length == 7 || length == 4 || length == 3 || length == 2 {
return true
}
return false
}
func getUniqueDigit(digit string) int {
length := len(digit)
if length == 7 {
return 8
}
if length == 4 {
return 4
}
if length == 3 {
return 7
}
return 1
}
func getInitialMap(signal Signal) map[int]string {
mapping := map[int]string{}
for _, digit := range signal.input {
if isUniqueDigit(digit) {
mapping[getUniqueDigit(digit)] = digit
}
}
return mapping
}
func isThree(digits string, oneDigit string) bool {
containsOne := true
for _, digit := range oneDigit {
if !strings.Contains(digits, string(digit)) {
containsOne = false
}
}
return containsOne
}
func isZero(digits string, oneDigit string) bool {
containsOne := true
for _, digit := range oneDigit {
if !strings.Contains(digits, string(digit)) {
containsOne = false
}
}
return containsOne
}
func isNine(digits string, fourDigit string) bool {
containsFour := true
for _, digit := range fourDigit {
if !strings.Contains(digits, string(digit)) {
containsFour = false
}
}
return containsFour
}
func isFive(digits string, fourDigit string, oneDigit string) bool {
missedFourDigits := []string{}
containsOne := true
for _, digit := range oneDigit {
if !strings.Contains(digits, string(digit)) {
containsOne = false
}
}
for _, digit := range fourDigit {
if !strings.Contains(digits, string(digit)) {
missedFourDigits = append(missedFourDigits, string(digit))
}
}
return len(missedFourDigits) == 1 && !containsOne
}
func getDecipherMap(signal Signal) map[int]string {
mapping := getInitialMap((signal))
for _, digit := range signal.input {
if !isUniqueDigit(digit) {
length := len(digit)
if length == 6 {
if isNine(digit, mapping[4]) {
mapping[9] = digit
continue
}
if isZero(digit, mapping[1]) {
mapping[0] = digit
continue
}
mapping[6] = digit
continue
}
if length == 5 {
if isThree(digit, mapping[1]) {
mapping[3] = digit
continue
}
if isFive(digit, mapping[4], mapping[1]) {
mapping[5] = digit
continue
}
mapping[2] = digit
continue
}
}
}
return mapping
} | day8/signals/mapping.go | 0.63624 | 0.501953 | mapping.go | starcoder |
package main
import "github.com/xidongc/go-leetcode/utils"
/*
64 Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right,
which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at any point in time.
co-ordinate dp, dp[i][j] = min(dp[i-1][j], dp[i][j-1]) + grid[i][j], O(n)
Example 1:
Input: grid = [[1,3,1],[1,5,1],[4,2,1]]
Output: 7
Explanation: Because the path 1 → 3 → 1 → 1 → 1 minimizes the sum.
Example 2:
Input: grid = [[1,2,3],[4,5,6]]
Output: 12
*/
func minPathSum(grid [][]int) int {
if len(grid) == 0 || len(grid[0]) == 0 {
return 0
}
dp := make([][]int, 0)
for i := 0; i < len(grid); i ++ {
tmp := make([]int, len(grid[0]), len(grid[0]))
dp = append(dp, tmp)
if i == 0 {
dp[i][0] = grid[i][0]
} else {
dp[i][0] = grid[i][0] + dp[i-1][0]
}
}
for j := 1; j < len(grid[0]); j ++ {
dp[0][j] = grid[0][j] + dp[0][j-1]
}
for i := 1; i < len(dp); i++ {
for j := 1; j < len(dp[0]); j++ {
dp[i][j] = utils.Min(dp[i-1][j], dp[i][j-1]) + grid[i][j]
}
}
return dp[len(dp)-1][len(dp[0])-1]
}
/*
62 unique path
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diagram below).
How many possible unique paths are there?
dp[i][j] = dp[i-1][j] + dp[i][j-1]
*/
func uniquePaths(m int, n int) int {
if m <= 0 || n <= 0 {
return 0
}
dp := make([][]int, 0)
for i := 0; i < m; i ++ {
tmp := make([]int, n, n)
tmp[0] = 1
dp = append(dp, tmp)
}
for j := 1; j < n; j ++ {
dp[0][j] = 1
}
for i := 1; i < m; i ++ {
for j := 1; j < n; j ++ {
dp[i][j] = dp[i-1][j] + dp[i][j-1]
}
}
return dp[len(dp)-1][len(dp[0])-1]
}
// 63 unique paths II
// dp[i][j] = dp[i-1][j] + dp[i][j-1] if obstacleGrid[i][j] == 0 else 0
func uniquePathsWithObstacles(obstacleGrid [][]int) int {
if len(obstacleGrid) == 0 || len(obstacleGrid[0])==0 {
return 0
}
dp := make([][]int, 0)
for i := 0; i < len(obstacleGrid); i ++ {
tmp := make([]int, len(obstacleGrid[0]), len(obstacleGrid[0]))
dp = append(dp, tmp)
}
dp[0][0] = 1
if obstacleGrid[0][0] == 1 {
dp[0][0] = 0
}
for i := 1; i < len(dp); i ++ {
dp[i][0] = dp[i-1][0]
if obstacleGrid[i][0] == 1 {
dp[i][0] = 0
}
}
for j := 1; j < len(dp[0]); j ++ {
dp[0][j] = dp[0][j-1]
if obstacleGrid[0][j] == 1 {
dp[0][j] = 0
}
}
for i := 1; i < len(dp); i ++ {
for j := 1; j < len(dp[0]); j ++ {
dp[i][j] = dp[i-1][j] + dp[i][j-1]
if obstacleGrid[i][j] == 1 {
dp[i][j] = 0
}
}
}
return dp[len(dp)-1][len(dp[0])-1]
} | dp/64-min-path-sum.go | 0.655005 | 0.52543 | 64-min-path-sum.go | starcoder |
package dbase
// Row represents data stored in any row. Data can be from any type so it is
// stored in a generic way as an array of interface{}.
type Row struct {
Data []interface{}
}
// NewRow creates a new Row instance. Data from every column is provided in a
// variadic way.
func NewRow(cols ...interface{}) *Row {
row := &Row{}
for _, col := range cols {
row.Data = append(row.Data, col)
}
return row
}
// TableRow represents the full data related with a row stored in a table. It
// should include required information to be used in any transaction.
type TableRow struct {
*Row
updated bool
added bool
deleted bool
shadow *Row
}
// CleanPrivate cleans all private attributes used for transaction.
func (tbrow *TableRow) CleanPrivate() {
tbrow.updated = false
tbrow.added = false
tbrow.deleted = false
tbrow.shadow = nil
}
// SetShadow assigns a new value to the shadow row associated with the row for
// a transacton.
func (tbrow *TableRow) SetShadow(row *Row) {
tbrow.shadow = row
}
// UpdateWith sets the row as being updated in a trannsaction, with the given
// new row value.
func (tbrow *TableRow) UpdateWith(row *Row) {
tbrow.updated = true
tbrow.SetShadow(row)
}
// AddWith sets the row as being added in a transaction with the given new row.
func (tbrow *TableRow) AddWith(row *Row) {
tbrow.added = true
tbrow.SetShadow(row)
}
// IsUpdated returns if the row has been updated in a transaction.
func (tbrow *TableRow) IsUpdated() bool {
return tbrow.updated
}
// IsAdded returns if the row has been added in a transaction.
func (tbrow *TableRow) IsAdded() bool {
return tbrow.added
}
// IsDeleted returns if the row has been deleted in a transaction.
func (tbrow *TableRow) IsDeleted() bool {
return tbrow.deleted
}
// IsAnyChange returns if the row has been updated, added or deleted in a
// transaction..
func (tbrow *TableRow) IsAnyChange() bool {
return tbrow.IsUpdated() || tbrow.IsAdded() || tbrow.IsDeleted()
}
// DeleteWith sets the row as being deleted in a transaction.
func (tbrow *TableRow) DeleteWith() {
tbrow.deleted = true
tbrow.SetShadow(nil)
}
// NewTableRow creates a new TableRow instance based on column values.
func NewTableRow(cols ...interface{}) *TableRow {
return &TableRow{
Row: NewRow(cols...),
}
}
// NewTableRowFromRow creates a new TableRow instance based on the given Row
// instance..
func NewTableRowFromRow(row *Row) *TableRow {
return &TableRow{
Row: row,
}
} | dbase/row.go | 0.850469 | 0.44734 | row.go | starcoder |
package stubs
// Fragment stores a section of cells in the board
// StartRow points to the row in the main board where this section starts
// EndRow points to the next row in the main board after this section ends (like an exclusive upper bound)
type Fragment struct {
StartRow int
EndRow int
BitBoard *BitBoard
}
// Halo is a subset of a board containing all the cells required to calculate the next turn cells
// between two parts of the board
// It stores the board state using a BitBoard, to save space
type Halo struct {
BitBoard *BitBoard
Offset int
StartPtr int
EndPtr int
}
// State represents a change in the state of execution.
type State int
const (
Paused State = iota
Executing
Quitting
)
// String methods allow the different types of Events and States to be printed.
func (state State) String() string {
switch state {
case Paused:
return "Paused"
case Executing:
return "Executing"
case Quitting:
return "Quitting"
default:
return "Incorrect State"
}
}
// RPC STRINGS
// Server RPC strings
var ServerStartGame = "Server.StartGame"
var ServerRegisterKeypress = "Server.RegisterKeypress"
var ServerConnectWorker = "Server.ConnectWorker"
var ServerPing = "Server.Ping"
// Controller RPC strings
var ControllerGameStateChange = "Controller.GameStateChange"
var ControllerTurnComplete = "Controller.TurnComplete"
var ControllerFinalTurnComplete = "Controller.FinalTurnComplete"
var ControllerSaveBoard = "Controller.SaveBoard"
var ControllerReportAliveCells = "Controller.ReportAliveCells"
// Worker RPC strings
var WorkerDoTurn = "Worker.DoTurn"
var WorkerShutdown = "Worker.Shutdown"
// ServerResponse contains a result from a standard server RPC call
// Success indicates if the call executed its desired function
// Message contains any additional information
type ServerResponse struct {
Success bool
Message string
}
// StartGameRequest contains all data required for a controller to connect to a server
// and start a game
// This will send the address of the controller, along with information about the board
// and the starting board state
type StartGameRequest struct {
ControllerAddress string
Height int
Width int
MaxTurns int
Threads int
VisualUpdates bool
StartNew bool
Board *BitBoard
}
// KeypressRequest is used to send a keypress from a controller to be handled at the server
type KeypressRequest struct {
Key rune
}
// WorkerConnectRequest is passed by a worker which wishes to connect to the server
// This contains the address of the worker so the server can establish a connection
type WorkerConnectRequest struct {
WorkerAddress string
}
// StateChangeReport is passed to the controller to inform them of changes to game state
type StateChangeReport struct {
Previous State
New State
CompletedTurns int
}
// TurnCompleteReport is passed to the controller every time a turn is completed
type TurnCompleteReport struct {
CompletedTurns int
}
// BoardStateReport is passed to the controller to give them the state of the board
type BoardStateReport struct {
CompletedTurns int
Board *BitBoard
}
// AliveCellsReport is passed to the controller every 2 seconds to tell them how many
// cells are alive
type AliveCellsReport struct {
CompletedTurns int
NumAlive int
}
// DoTurnRequest is passed to workers to ask them to calculate the next turn
// It sends the whole board along with fragment pointers for their portion to calculate
type DoTurnRequest struct {
Halo Halo
Threads int
}
// DoTurnResponse is returned by workers to the server containing a fragment of the new board
type DoTurnResponse struct {
Frag Fragment
}
// Empty is used when there is no information for an RPC function to return
type Empty struct{} | stubs/stubs.go | 0.596668 | 0.468851 | stubs.go | starcoder |
package vec
import (
"math"
)
const defaultBranchingFactor = 32
// Vec builds an immutable vector using a COW tree.
func Vec(values ...int) *Vector {
return buildTree(defaultBranchingFactor, values...)
}
func buildTree(branchingFactor int, values ...int) *Vector {
size := len(values)
leafCount := int(math.Ceil(float64(size) / float64(branchingFactor)))
leaves := make([][]interface{}, leafCount)
for i := range leaves {
leaves[i] = make([]interface{}, 0, branchingFactor)
}
for i, v := range values {
n := i / branchingFactor
leaves[n] = append(leaves[n], v)
}
var root []interface{}
var depth uint = 0
level := leaves
for {
if len(level) == 1 {
break
}
depth++
parentCount := int(math.Ceil(float64(len(level)) / float64(branchingFactor)))
parents := make([][]interface{}, parentCount)
for i := range parents {
parents[i] = make([]interface{}, branchingFactor)
}
for i, v := range level {
n := i / branchingFactor
c := i % branchingFactor
parents[n][c] = v
}
level = parents
}
root = level[0]
return &Vector{
branchingFactor: branchingFactor,
depth: depth,
size: size,
root: root,
}
}
// Vector is the root structure of an immutable vector.
type Vector struct {
branchingFactor int
size int
depth uint
root []interface{}
}
// Count returns the number of entries in the vector.
func (v *Vector) Count() int {
return v.size
}
// Depth returns the tree depth of the vector.
func (v *Vector) Depth() uint {
return v.depth
}
const bits uint = 5
const width int = 1 << bits
const mask = width - 1
// Lookup retrieves the value in vector stored in position key.
func Lookup(v *Vector, idx int) interface{} {
var node = v.root
var shift = bits * v.depth
for level := shift; level > 0; level -= bits {
node = node[(idx>>uint(level))&mask].([]interface{})
}
return node[idx&mask]
}
// Update modifies the value in the vector v at index idx.
func Update(v *Vector, idx int, value interface{}) *Vector {
var newV = *v // copy value
var node = v.root
var shift = bits * v.depth
newV.root = make([]interface{}, len(v.root), v.branchingFactor)
copy(newV.root, v.root)
var pNode = newV.root
for level := shift; level > 0; level -= bits {
pos := (idx >> uint(level)) & mask
node = node[pos].([]interface{})
newNode := make([]interface{}, len(node), v.branchingFactor)
pNode[pos] = newNode
pNode = newNode
copy(newNode, node)
}
pNode[idx&mask] = value
return &newV
} | vec/vec.go | 0.83772 | 0.521715 | vec.go | starcoder |
package paths
import (
"github.com/anaseto/gruid"
)
// Astar is the interface that allows to use the A* algorithm used by the
// AstarPath function.
type Astar interface {
Dijkstra
// Estimation offers an estimation cost for a path from a position to
// another one. The estimation should always give a value lower or
// equal to the cost of the best possible path.
Estimation(gruid.Point, gruid.Point) int
}
// AstarPath returns a path from a position to another, including thoses
// positions, in the path order. It returns nil if no path was found.
func (pr *PathRange) AstarPath(ast Astar, from, to gruid.Point) []gruid.Point {
if !from.In(pr.Rg) || !to.In(pr.Rg) {
return nil
}
pr.initAstar()
nm := pr.AstarNodes
nm.Idx++
defer checkNodesIdx(nm)
nqs := pr.AstarQueue[:0]
nq := &nqs
pqInit(nq)
fromNode := nm.get(pr, from)
fromNode.Open = true
fromNode.Estimation = ast.Estimation(from, to)
pqPush(nq, fromNode)
for {
if nq.Len() == 0 {
// There's no path.
return nil
}
n := pqPop(nq)
n.Open = false
n.Closed = true
if n.P == to {
// Found a path to the goal.
path := []gruid.Point{}
pn := n
path = append(path, pn.P)
for {
if pn.P == from {
break
}
pn = nm.at(pr, pn.Parent)
path = append(path, pn.P)
}
for i := range path[:len(path)/2] {
path[i], path[len(path)-i-1] = path[len(path)-i-1], path[i]
}
return path
}
for _, q := range ast.Neighbors(n.P) {
if !q.In(pr.Rg) {
continue
}
cost := n.Cost + ast.Cost(n.P, q)
nbNode := nm.get(pr, q)
if cost < nbNode.Cost {
if nbNode.Open {
pqRemove(nq, nbNode.Idx)
}
nbNode.Open = false
nbNode.Closed = false
}
if !nbNode.Open && !nbNode.Closed {
nbNode.Cost = cost
nbNode.Open = true
nbNode.Estimation = ast.Estimation(q, to)
nbNode.Rank = cost + nbNode.Estimation
nbNode.Parent = n.P
pqPush(nq, nbNode)
}
}
}
}
func (pr *PathRange) initAstar() {
if pr.AstarNodes == nil {
pr.AstarNodes = &nodeMap{}
max := pr.Rg.Size()
pr.AstarNodes.Nodes = make([]node, max.X*max.Y)
pr.AstarQueue = make(priorityQueue, 0, max.X*max.Y)
}
}
func checkNodesIdx(nm *nodeMap) {
if nm.Idx+1 > 0 {
return
}
for i, n := range nm.Nodes {
idx := 0
if n.Idx == nm.Idx {
idx = 1
}
n.Idx = idx
nm.Nodes[i] = n
}
nm.Idx = 1
} | paths/astar.go | 0.655777 | 0.47244 | astar.go | starcoder |
package locale
import (
"encoding/binary"
"unicode/utf8"
)
// The affix type is a concatenation of multiple strings. It starts with
// the offsets for each string followed by the actual strings.
// The affix lookup consists of all affix strings concatenated.
// It is prefixed with an offset for each affix block and its id is a
// 1-based index which points to the offset.
type affix string
func (s affix) prefix() string { return string(s[2 : 2+s[0]]) }
func (s affix) suffix() string { return string(s[2+s[0] : 2+s[1]]) }
type affixID uint8
type affixLookup string
func (l affixLookup) affix(id affixID) affix {
if id == 0 {
return "\x00\x00"
}
start, end := l[id-1], l[id]
return affix(l[start:end])
}
// A pattern is a tuple consisting of the positive and negative affixes, the integer and
// fraction digits, and the grouping information. The lookup is a slice of patterns
// where the pattern id is a 1-based index in this slice.
type pattern uint64
func (p pattern) posAffixID() affixID { return affixID((p >> 32) & 0xff) }
func (p pattern) negAffixID() affixID { return affixID((p >> 24) & 0xff) }
func (p pattern) minIntDigits() int { return int((p >> 20) & 0xf) }
func (p pattern) minFracDigits() int { return int((p >> 16) & 0xf) }
func (p pattern) maxFracDigits() int { return int((p >> 12) & 0xf) }
func (p pattern) intGrouping() (int, int) { return int((p >> 8) & 0xf), int((p >> 4) & 0xf) }
func (p pattern) fracGrouping() int { return int(p & 0xf) }
type patternID uint8
type patternLookup []pattern
func (l patternLookup) pattern(id patternID) pattern {
if id == 0 || int(id) > len(l) {
return 0
}
return l[id-1]
}
// The symbols type is a concatenation of multiple strings. It starts with
// the offsets for each string followed by the actual strings.
// The symbols lookup consists of all symbols strings concatenated.
// It is prefixed with an offset for each symbols block and its id is a
// 1-based index which points to the offset.
type symbols string
func (s symbols) decimal() string { return string(s[8 : 8+s[0]]) }
func (s symbols) group() string { return string(s[8+s[0] : 8+s[1]]) }
func (s symbols) percent() string { return string(s[8+s[1] : 8+s[2]]) }
func (s symbols) minus() string { return string(s[8+s[2] : 8+s[3]]) }
func (s symbols) inf() string { return string(s[8+s[3] : 8+s[4]]) }
func (s symbols) nan() string { return string(s[8+s[4] : 8+s[5]]) }
func (s symbols) currDecimal() string { return string(s[8+s[5] : 8+s[6]]) }
func (s symbols) currGroup() string { return string(s[8+s[6] : 8+s[7]]) }
type symbolsID uint8
type symbolsLookup string
func (l symbolsLookup) symbols(id symbolsID) symbols {
if id == 0 {
return "\x00\x00\x00\x00\x00\x00\x00\x00"
}
i := (id - 1) * 2
start := binary.BigEndian.Uint16([]byte(l[i : i+2]))
end := binary.BigEndian.Uint16([]byte(l[i+2:]))
return symbols(l[start:end])
}
// The zero is used to determine the digits. A digit n in [0,9] is determined by
// adding n to the zero. The lookup is a string of all existing zero runes.
type zeroID uint8
type zeroLookup string
func (l zeroLookup) zero(id zeroID) rune {
if id == 0 || int(id) > len(l) {
return utf8.RuneError
}
ch, _ := utf8.DecodeRuneInString(string(l[id-1:]))
return ch
}
// The numbers data is a tuple consisting of a pattern id, a symbols id, and
// a zero id. The lookup maps a CLDR identity to a numbers data.
type numbers uint32
func (n numbers) patternID() patternID { return patternID((n >> 16) & 0xff) }
func (n numbers) symbolsID() symbolsID { return symbolsID((n >> 8) & 0xff) }
func (n numbers) zeroID() zeroID { return zeroID(n & 0xff) }
type numbersLookup map[tagID]numbers | internal/locale/numbers.go | 0.679285 | 0.60013 | numbers.go | starcoder |
package camera
import (
"github.com/austingebauer/go-ray-tracer/canvas"
"github.com/austingebauer/go-ray-tracer/matrix"
"github.com/austingebauer/go-ray-tracer/point"
"github.com/austingebauer/go-ray-tracer/ray"
"github.com/austingebauer/go-ray-tracer/vector"
"github.com/austingebauer/go-ray-tracer/world"
"math"
)
// Camera is a virtual Camera that can be moved around,
// zoomed in and out, and transformed around a scene.
type Camera struct {
// The horizontal size in pixels
horizontalSizeInPixels int
// The vertical size in pixels
verticalSizeInPixels int
// An angle that describes how much the camera can see
fieldOfView float64
// A matrix describing how the world should be moved/oriented relative to the camera
transform *matrix.Matrix
// The inverse of the transform matrix for this camera
inverseTransform *matrix.Matrix
// The ratio of the horizontal size of the canvas to its vertical size
aspectRatio float64
// Half of the width of the canvas
halfWidth float64
// Half of the height of the canvas
halfHeight float64
// The size, in world-space units, of the pixels on the canvas
pixelSize float64
}
// NewCamera returns a new camera having the passed horizontal
// and vertical size in pixels, and field of view angle.
func NewCamera(horizontalSize int, verticalSize int, fieldOfView float64) *Camera {
return NewCameraWithTransform(horizontalSize, verticalSize, fieldOfView,
matrix.NewIdentityMatrix(4))
}
// NewCameraWithTransform returns a new camera having the passed horizontal
// and vertical size in pixels, and field of view angle, and transform.
func NewCameraWithTransform(horizontalSize int, verticalSize int, fieldOfView float64,
transform *matrix.Matrix) *Camera {
c := &Camera{
horizontalSizeInPixels: horizontalSize,
verticalSizeInPixels: verticalSize,
fieldOfView: fieldOfView,
transform: transform,
}
c.prepareWorldSpaceUnits()
// Cache the inverse of the transform, which never
// changes and is used in rendering routines often.
inverseTransform, _ := matrix.Inverse(transform)
c.inverseTransform = inverseTransform
return c
}
// prepareWorldSpaceUnits sets attributes on this camera related to world space units.
// It sets the cameras pixel size, half its width and height, and the aspect ratio.
func (c *Camera) prepareWorldSpaceUnits() {
// Compute the width of half of the canvas by taking the tangent of half of the field of view.
// Cutting the field of view in half creates a right triangle on the canvas, which is 1 unit
// away from the camera. The adjacent is 1 and the opposite is half of the canvas.
halfView := math.Tan(c.fieldOfView / 2)
// Compute the aspect ratio
c.aspectRatio = float64(c.horizontalSizeInPixels) / float64(c.verticalSizeInPixels)
// Compute half of the width and half of the height of the canvas.
// This is different than the number of horizontal or vertical pixels.
if c.aspectRatio >= 1 {
// The horizontal size is greater than or equal to the vertical size
c.halfWidth = halfView
c.halfHeight = halfView / c.aspectRatio
} else {
// The vertical size is greater than the horizontal size
c.halfWidth = halfView * c.aspectRatio
c.halfHeight = halfView
}
// Divide half of the width * 2 by the number of horizontal pixels to get
// the pixel size. Note that the assumption here is that the pixels are
// square, so there is no need to compute the vertical size of the pixel.
c.pixelSize = (c.halfWidth * 2) / float64(c.horizontalSizeInPixels)
}
// RayForPixel returns a new ray that starts at the passed camera
// and passes through the indicated (x, y) pixel on the canvas.
func RayForPixel(c *Camera, px int, py int) (*ray.Ray, error) {
// Compute the offset from the left edge of the canvas to the pixel's center
xOffset := c.pixelSize * (float64(px) + 0.5)
YOffset := c.pixelSize * (float64(py) + 0.5)
// The untransformed coordinates of the pixel in world space.
// Note that the camera looks toward -z, so +x is to the left.
worldX := c.halfWidth - xOffset
worldY := c.halfHeight - YOffset
// Using the camera matrix, transform the canvas point and
// the origin, and then compute the ray's direction vector.
// Note that the canvas is at z=-1
pixelM := matrix.Multiply4x4(c.inverseTransform,
matrix.PointToMatrix(point.NewPoint(worldX, worldY, -1)))
originM := matrix.Multiply4x4(c.inverseTransform,
matrix.PointToMatrix(point.NewPoint(0, 0, 0)))
pixelPt, err := matrix.MatrixToPoint(pixelM)
if err != nil {
return nil, err
}
originPt, err := matrix.MatrixToPoint(originM)
if err != nil {
return nil, err
}
directionVec := vector.Normalize(*point.Subtract(*pixelPt, *originPt))
return ray.NewRay(*originPt, *directionVec), nil
}
// Render uses the passed camera to render the passed world into a canvas.
func Render(c *Camera, w *world.World) (*canvas.Canvas, error) {
image := canvas.NewCanvas(c.horizontalSizeInPixels, c.verticalSizeInPixels)
// For each pixel of the camera
for y := 0; y < c.verticalSizeInPixels; y++ {
for x := 0; x < c.horizontalSizeInPixels; x++ {
// Compute the ray for the current pixel
r, err := RayForPixel(c, x, y)
if err != nil {
return nil, err
}
// Intersect the ray with the world to get the color at the intersection
c, err := world.ColorAt(w, r)
if err != nil {
return nil, err
}
// Write the color to the canvas at the current pixel
err = image.WritePixel(x, y, *c)
if err != nil {
return nil, err
}
}
}
return image, nil
} | camera/camera.go | 0.891315 | 0.701483 | camera.go | starcoder |
package kmeans
import (
"fmt"
"image"
"image/color"
"math"
"math/rand"
"runtime"
"sync"
)
type Mean = []float64
type SegmentData = struct {
Sum []uint64
Count int
}
func Kmeans(k int, img image.Image, means []Mean, prevVariance float64, iter int, maxIter int, tol float64) []Mean {
if means == nil {
means = createInitialMeans(k, img)
}
availableRoutines := runtime.NumCPU()
resourcesLock := sync.Mutex{}
routineReady := make(chan bool)
variance := 0.0
segmentMap := make(map[int]*SegmentData)
for idx := 0; idx < k; idx++ {
segmentMap[idx] = &SegmentData{Sum: []uint64{0, 0, 0}, Count: 0}
}
for x := 0; x < img.Bounds().Max.X; x++ {
if availableRoutines == 0 {
<-routineReady
availableRoutines = availableRoutines + 1
}
availableRoutines = availableRoutines - 1
go func(internalX int) {
internalSegmentMap := make(map[int]*SegmentData)
for idx := 0; idx < k; idx++ {
internalSegmentMap[idx] = &SegmentData{Sum: []uint64{0, 0, 0}, Count: 0}
}
internalVariance := 0.0
for y := 0; y < img.Bounds().Max.Y; y++ {
dist, segment := FindSegment(img.At(internalX, y), means)
r, g, b, _ := img.At(internalX, y).RGBA()
internalSegmentMap[segment].Sum[0] = internalSegmentMap[segment].Sum[0] + uint64(r)
internalSegmentMap[segment].Sum[1] = internalSegmentMap[segment].Sum[1] + uint64(g)
internalSegmentMap[segment].Sum[2] = internalSegmentMap[segment].Sum[2] + uint64(b)
internalSegmentMap[segment].Count = internalSegmentMap[segment].Count + 1
internalVariance = internalVariance + dist
}
resourcesLock.Lock()
for segmIdx, segmentData := range internalSegmentMap {
for idx, v := range segmentData.Sum {
segmentMap[segmIdx].Sum[idx] = segmentMap[segmIdx].Sum[idx] + v
}
segmentMap[segmIdx].Count = segmentMap[segmIdx].Count + segmentData.Count
}
variance = variance + internalVariance
routineReady <- true
resourcesLock.Unlock()
}(x)
}
for availableRoutines < runtime.NumCPU() {
<-routineReady
availableRoutines = availableRoutines + 1
}
means = computeMeans(segmentMap)
deviation := math.Abs(prevVariance - variance)
fmt.Println(variance)
if deviation < tol || iter >= maxIter {
return means
}
iter++
return Kmeans(k, img, means, variance, iter, maxIter, tol)
}
func computeMeans(segmentMap map[int]*SegmentData) []Mean {
res := make([]Mean, len(segmentMap))
for idx, segmentData := range segmentMap {
mean := make([]float64, 3)
for idx := range mean {
mean[idx] = float64(segmentData.Sum[idx]) / float64(segmentData.Count)
}
res[idx] = mean
}
return res
}
func FindSegment(color color.Color, means []Mean) (float64, int) {
var res *float64
var segment int
for idx, m := range means {
dist := computeDistance(color, m)
if res == nil {
res = &dist
segment = idx
} else if dist < *res {
segment = idx
*res = dist
}
}
return *res, segment
}
func computeDistance(color color.Color, mean Mean) float64 {
r, g, b, _ := color.RGBA()
return math.Pow(mean[0]-float64(r), 2.0) +
math.Pow(mean[1]-float64(g), 2.0) +
math.Pow(mean[2]-float64(b), 2.0)
}
func createInitialMeans(k int, img image.Image) []Mean {
means := make([]Mean, 0)
for i := 0; i < k; i++ {
x := rand.Intn(img.Bounds().Max.X)
y := rand.Intn(img.Bounds().Max.Y)
r, g, b, _ := img.At(x, y).RGBA()
means = append(means, []float64{float64(r), float64(g), float64(b)})
}
return means
} | kmeans/kmeans.go | 0.554953 | 0.424889 | kmeans.go | starcoder |
package mud
import (
"fmt"
"time"
)
const (
//MobRegenTime marks how long the routine sleep between regens
MobRegenTime = 1 * time.Minute
//MobSpawnTime marks how long does it take for a mob to reswpawn
MobSpawnTime = 5 * time.Minute
)
func (m *Mob) finishMobRoutine() bool {
select {
case <-worldShutDown:
return true
default:
return false
}
}
// MobList represents a list of enemies
type MobList []*Mob
// Mob represents one single enemy
type Mob struct {
// ID represents the type of monster. It is also the name shown to the player
ID string
// Stats are the stats of the mob
Stats Stats
// MaxHP denotes the Maximum Health points
MaxHP int
// CurrentHP denotes the current Health points
CurrentHP int
// Experience how many experience points the mob provides
Experience int
// Effects show all the magical effects that the mob is currently under
Effects EffectList
// Drops contains all the items dropped by the mob
Drops []*Drop
// DeadAt tells when the monster was defeated
DeadAt time.Time
}
// Drop represents a drop from a monster with the probability to drop
type Drop struct {
// Item is the item to drop
Item Item
// Probability is the chance to get the item as x out of 10000
Probability int
}
// Spawn creates a new mob using another mob as template
func (m *Mob) Spawn() *Mob {
newMob := *m
newMob.Effects = EffectList{}
newMob.CurrentHP = newMob.MaxHP
newMob.start()
return &newMob
}
// Show returns the string of how the user is seen
func (m *Mob) Show(canSeeHidden, canSeeInvisible bool) string {
if (!canSeeHidden && m.IsHidden()) ||
(!canSeeInvisible && m.IsInvisible()) {
return ""
}
return fmt.Sprintf("A %s is here.", m.ID)
}
// IsHidden returns whether the character is hidden
func (m *Mob) IsHidden() bool {
return m.Effects.GrantHidden()
}
// IsInvisible returns whether the character is invisible
func (m *Mob) IsInvisible() bool {
return m.Effects.GrantInvisible()
}
// GetAttack returns the attack of the mob
func (m *Mob) GetAttack() int {
str := m.GetCurrentStat(Strength)
attEffectModifiers := m.Effects.GetAttackModifiers()
return min(0, str+attEffectModifiers)
}
// GetCurrentStat returns the current stat of the mob
func (m *Mob) GetCurrentStat(s Stat) int {
base := m.Stats[s]
effectModifiers := m.Effects.GetStatModifiers(s)
return min(0, base+effectModifiers)
}
// GetCurrentDefense returns the current defense of the mob
func (m *Mob) GetCurrentDefense() int {
return m.GetCurrentStat(Constitution)
}
// Dead kills the mob
func (m *Mob) Dead() {
m.DeadAt = time.Now()
}
// start runs the mob routine
func (m *Mob) start() {
go func() {
for {
if m.finishMobRoutine() {
return
}
if m.CurrentHP <= 0 && time.Now().Unix() > m.DeadAt.Add(MobSpawnTime).Unix() {
m.CurrentHP = m.MaxHP
}
if m.CurrentHP > 0 {
toRegen := max(1, int(float64(m.MaxHP)*0.1))
m.CurrentHP = min(m.MaxHP, m.CurrentHP+toRegen)
}
time.Sleep(MobRegenTime)
}
}()
} | server/mud/mob.go | 0.719285 | 0.401365 | mob.go | starcoder |
package iso639_3
// LanguagesPart3 lookup table. Keys are ISO 639-3 codes
var LanguagesPart3 = map[string]Language{
"aaa": {Part3: "aaa", Scope: 'I', LanguageType: 'L', Name: "Ghotuo"},
"aab": {Part3: "aab", Scope: 'I', LanguageType: 'L', Name: "Alumu-Tesu"},
"aac": {Part3: "aac", Scope: 'I', LanguageType: 'L', Name: "Ari"},
"aad": {Part3: "aad", Scope: 'I', LanguageType: 'L', Name: "Amal"},
"aae": {Part3: "aae", Scope: 'I', LanguageType: 'L', Name: "Arbëreshë Albanian"},
"aaf": {Part3: "aaf", Scope: 'I', LanguageType: 'L', Name: "Aranadan"},
"aag": {Part3: "aag", Scope: 'I', LanguageType: 'L', Name: "Ambrak"},
"aah": {Part3: "aah", Scope: 'I', LanguageType: 'L', Name: "Abu' Arapesh"},
"aai": {Part3: "aai", Scope: 'I', LanguageType: 'L', Name: "Arifama-Miniafia"},
"aak": {Part3: "aak", Scope: 'I', LanguageType: 'L', Name: "Ankave"},
"aal": {Part3: "aal", Scope: 'I', LanguageType: 'L', Name: "Afade"},
"aan": {Part3: "aan", Scope: 'I', LanguageType: 'L', Name: "Anambé"},
"aao": {Part3: "aao", Scope: 'I', LanguageType: 'L', Name: "Algerian Saharan Arabic"},
"aap": {Part3: "aap", Scope: 'I', LanguageType: 'L', Name: "Pará Arára"},
"aaq": {Part3: "aaq", Scope: 'I', LanguageType: 'E', Name: "Eastern Abnaki"},
"aar": {Part3: "aar", Part2B: "aar", Part2T: "aar", Part1: "aa", Scope: 'I', LanguageType: 'L', Name: "Afar"},
"aas": {Part3: "aas", Scope: 'I', LanguageType: 'L', Name: "Aasáx"},
"aat": {Part3: "aat", Scope: 'I', LanguageType: 'L', Name: "Arvanitika Albanian"},
"aau": {Part3: "aau", Scope: 'I', LanguageType: 'L', Name: "Abau"},
"aaw": {Part3: "aaw", Scope: 'I', LanguageType: 'L', Name: "Solong"},
"aax": {Part3: "aax", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aaz": {Part3: "aaz", Scope: 'I', LanguageType: 'L', Name: "Amarasi"},
"aba": {Part3: "aba", Scope: 'I', LanguageType: 'L', Name: "Abé"},
"abb": {Part3: "abb", Scope: 'I', LanguageType: 'L', Name: "Bankon"},
"abc": {Part3: "abc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"abd": {Part3: "abd", Scope: 'I', LanguageType: 'L', Name: "Manide"},
"abe": {Part3: "abe", Scope: 'I', LanguageType: 'L', Name: "Western Abnaki"},
"abf": {Part3: "abf", Scope: 'I', LanguageType: 'L', Name: "Abai Sungai"},
"abg": {Part3: "abg", Scope: 'I', LanguageType: 'L', Name: "Abaga"},
"abh": {Part3: "abh", Scope: 'I', LanguageType: 'L', Name: "Tajiki Arabic"},
"abi": {Part3: "abi", Scope: 'I', LanguageType: 'L', Name: "Abidji"},
"abj": {Part3: "abj", Scope: 'I', LanguageType: 'E', Name: "Aka-Bea"},
"abk": {Part3: "abk", Part2B: "abk", Part2T: "abk", Part1: "ab", Scope: 'I', LanguageType: 'L', Name: "Abkhazian"},
"abl": {Part3: "abl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"abm": {Part3: "abm", Scope: 'I', LanguageType: 'L', Name: "Abanyom"},
"abn": {Part3: "abn", Scope: 'I', LanguageType: 'L', Name: "Abua"},
"abo": {Part3: "abo", Scope: 'I', LanguageType: 'L', Name: "Abon"},
"abp": {Part3: "abp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"abq": {Part3: "abq", Scope: 'I', LanguageType: 'L', Name: "Abaza"},
"abr": {Part3: "abr", Scope: 'I', LanguageType: 'L', Name: "Abron"},
"abs": {Part3: "abs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"abt": {Part3: "abt", Scope: 'I', LanguageType: 'L', Name: "Ambulas"},
"abu": {Part3: "abu", Scope: 'I', LanguageType: 'L', Name: "Abure"},
"abv": {Part3: "abv", Scope: 'I', LanguageType: 'L', Name: "Baharna Arabic"},
"abw": {Part3: "abw", Scope: 'I', LanguageType: 'L', Name: "Pal"},
"abx": {Part3: "abx", Scope: 'I', LanguageType: 'L', Name: "Inabaknon"},
"aby": {Part3: "aby", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"abz": {Part3: "abz", Scope: 'I', LanguageType: 'L', Name: "Abui"},
"aca": {Part3: "aca", Scope: 'I', LanguageType: 'L', Name: "Achagua"},
"acb": {Part3: "acb", Scope: 'I', LanguageType: 'L', Name: "Áncá"},
"acd": {Part3: "acd", Scope: 'I', LanguageType: 'L', Name: "Gikyode"},
"ace": {Part3: "ace", Part2B: "ace", Part2T: "ace", Scope: 'I', LanguageType: 'L', Name: "Achinese"},
"acf": {Part3: "acf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ach": {Part3: "ach", Part2B: "ach", Part2T: "ach", Scope: 'I', LanguageType: 'L', Name: "Acoli"},
"aci": {Part3: "aci", Scope: 'I', LanguageType: 'E', Name: "Aka-Cari"},
"ack": {Part3: "ack", Scope: 'I', LanguageType: 'E', Name: "Aka-Kora"},
"acl": {Part3: "acl", Scope: 'I', LanguageType: 'E', Name: "Akar-Bale"},
"acm": {Part3: "acm", Scope: 'I', LanguageType: 'L', Name: "Mesopotamian Arabic"},
"acn": {Part3: "acn", Scope: 'I', LanguageType: 'L', Name: "Achang"},
"acp": {Part3: "acp", Scope: 'I', LanguageType: 'L', Name: "Eastern Acipa"},
"acq": {Part3: "acq", Scope: 'I', LanguageType: 'L', Name: "Ta'izzi-<NAME>"},
"acr": {Part3: "acr", Scope: 'I', LanguageType: 'L', Name: "Achi"},
"acs": {Part3: "acs", Scope: 'I', LanguageType: 'E', Name: "Acroá"},
"act": {Part3: "act", Scope: 'I', LanguageType: 'L', Name: "Achterhoeks"},
"acu": {Part3: "acu", Scope: 'I', LanguageType: 'L', Name: "Achuar-Shiwiar"},
"acv": {Part3: "acv", Scope: 'I', LanguageType: 'L', Name: "Achumawi"},
"acw": {Part3: "acw", Scope: 'I', LanguageType: 'L', Name: "Hijazi Arabic"},
"acx": {Part3: "acx", Scope: 'I', LanguageType: 'L', Name: "Omani Arabic"},
"acy": {Part3: "acy", Scope: 'I', LanguageType: 'L', Name: "Cypriot Arabic"},
"acz": {Part3: "acz", Scope: 'I', LanguageType: 'L', Name: "Acheron"},
"ada": {Part3: "ada", Part2B: "ada", Part2T: "ada", Scope: 'I', LanguageType: 'L', Name: "Adangme"},
"adb": {Part3: "adb", Scope: 'I', LanguageType: 'L', Name: "Atauran"},
"add": {Part3: "add", Scope: 'I', LanguageType: 'L', Name: "Lidzonka"},
"ade": {Part3: "ade", Scope: 'I', LanguageType: 'L', Name: "Adele"},
"adf": {Part3: "adf", Scope: 'I', LanguageType: 'L', Name: "Dhofari Arabic"},
"adg": {Part3: "adg", Scope: 'I', LanguageType: 'L', Name: "Andegerebinha"},
"adh": {Part3: "adh", Scope: 'I', LanguageType: 'L', Name: "Adhola"},
"adi": {Part3: "adi", Scope: 'I', LanguageType: 'L', Name: "Adi"},
"adj": {Part3: "adj", Scope: 'I', LanguageType: 'L', Name: "Adioukrou"},
"adl": {Part3: "adl", Scope: 'I', LanguageType: 'L', Name: "Galo"},
"adn": {Part3: "adn", Scope: 'I', LanguageType: 'L', Name: "Adang"},
"ado": {Part3: "ado", Scope: 'I', LanguageType: 'L', Name: "Abu"},
"adq": {Part3: "adq", Scope: 'I', LanguageType: 'L', Name: "Adangbe"},
"adr": {Part3: "adr", Scope: 'I', LanguageType: 'L', Name: "Adonara"},
"ads": {Part3: "ads", Scope: 'I', LanguageType: 'L', Name: "Adamorobe Sign Language"},
"adt": {Part3: "adt", Scope: 'I', LanguageType: 'L', Name: "Adnyamathanha"},
"adu": {Part3: "adu", Scope: 'I', LanguageType: 'L', Name: "Aduge"},
"adw": {Part3: "adw", Scope: 'I', LanguageType: 'L', Name: "Amundava"},
"adx": {Part3: "adx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ady": {Part3: "ady", Part2B: "ady", Part2T: "ady", Scope: 'I', LanguageType: 'L', Name: "Adyghe"},
"adz": {Part3: "adz", Scope: 'I', LanguageType: 'L', Name: "Adzera"},
"aea": {Part3: "aea", Scope: 'I', LanguageType: 'E', Name: "Areba"},
"aeb": {Part3: "aeb", Scope: 'I', LanguageType: 'L', Name: "Tunisian Arabic"},
"aec": {Part3: "aec", Scope: 'I', LanguageType: 'L', Name: "Saidi Arabic"},
"aed": {Part3: "aed", Scope: 'I', LanguageType: 'L', Name: "Argentine Sign Language"},
"aee": {Part3: "aee", Scope: 'I', LanguageType: 'L', Name: "Northeast Pashai"},
"aek": {Part3: "aek", Scope: 'I', LanguageType: 'L', Name: "Haeke"},
"ael": {Part3: "ael", Scope: 'I', LanguageType: 'L', Name: "Ambele"},
"aem": {Part3: "aem", Scope: 'I', LanguageType: 'L', Name: "Arem"},
"aen": {Part3: "aen", Scope: 'I', LanguageType: 'L', Name: "Armenian Sign Language"},
"aeq": {Part3: "aeq", Scope: 'I', LanguageType: 'L', Name: "Aer"},
"aer": {Part3: "aer", Scope: 'I', LanguageType: 'L', Name: "Eastern Arrernte"},
"aes": {Part3: "aes", Scope: 'I', LanguageType: 'E', Name: "Alsea"},
"aeu": {Part3: "aeu", Scope: 'I', LanguageType: 'L', Name: "Akeu"},
"aew": {Part3: "aew", Scope: 'I', LanguageType: 'L', Name: "Ambakich"},
"aey": {Part3: "aey", Scope: 'I', LanguageType: 'L', Name: "Amele"},
"aez": {Part3: "aez", Scope: 'I', LanguageType: 'L', Name: "Aeka"},
"afb": {Part3: "afb", Scope: 'I', LanguageType: 'L', Name: "Gulf Arabic"},
"afd": {Part3: "afd", Scope: 'I', LanguageType: 'L', Name: "Andai"},
"afe": {Part3: "afe", Scope: 'I', LanguageType: 'L', Name: "Putukwam"},
"afg": {Part3: "afg", Scope: 'I', LanguageType: 'L', Name: "Afghan Sign Language"},
"afh": {Part3: "afh", Part2B: "afh", Part2T: "afh", Scope: 'I', LanguageType: 'C', Name: "Afrihili"},
"afi": {Part3: "afi", Scope: 'I', LanguageType: 'L', Name: "Akrukay"},
"afk": {Part3: "afk", Scope: 'I', LanguageType: 'L', Name: "Nanubae"},
"afn": {Part3: "afn", Scope: 'I', LanguageType: 'L', Name: "Defaka"},
"afo": {Part3: "afo", Scope: 'I', LanguageType: 'L', Name: "Eloyi"},
"afp": {Part3: "afp", Scope: 'I', LanguageType: 'L', Name: "Tapei"},
"afr": {Part3: "afr", Part2B: "afr", Part2T: "afr", Part1: "af", Scope: 'I', LanguageType: 'L', Name: "Afrikaans"},
"afs": {Part3: "afs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aft": {Part3: "aft", Scope: 'I', LanguageType: 'L', Name: "Afitti"},
"afu": {Part3: "afu", Scope: 'I', LanguageType: 'L', Name: "Awutu"},
"afz": {Part3: "afz", Scope: 'I', LanguageType: 'L', Name: "Obokuitai"},
"aga": {Part3: "aga", Scope: 'I', LanguageType: 'E', Name: "Aguano"},
"agb": {Part3: "agb", Scope: 'I', LanguageType: 'L', Name: "Legbo"},
"agc": {Part3: "agc", Scope: 'I', LanguageType: 'L', Name: "Agatu"},
"agd": {Part3: "agd", Scope: 'I', LanguageType: 'L', Name: "Agarabi"},
"age": {Part3: "age", Scope: 'I', LanguageType: 'L', Name: "Angal"},
"agf": {Part3: "agf", Scope: 'I', LanguageType: 'L', Name: "Arguni"},
"agg": {Part3: "agg", Scope: 'I', LanguageType: 'L', Name: "Angor"},
"agh": {Part3: "agh", Scope: 'I', LanguageType: 'L', Name: "Ngelima"},
"agi": {Part3: "agi", Scope: 'I', LanguageType: 'L', Name: "Agariya"},
"agj": {Part3: "agj", Scope: 'I', LanguageType: 'L', Name: "Argobba"},
"agk": {Part3: "agk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"agl": {Part3: "agl", Scope: 'I', LanguageType: 'L', Name: "Fembe"},
"agm": {Part3: "agm", Scope: 'I', LanguageType: 'L', Name: "Angaataha"},
"agn": {Part3: "agn", Scope: 'I', LanguageType: 'L', Name: "Agutaynen"},
"ago": {Part3: "ago", Scope: 'I', LanguageType: 'L', Name: "Tainae"},
"agq": {Part3: "agq", Scope: 'I', LanguageType: 'L', Name: "Aghem"},
"agr": {Part3: "agr", Scope: 'I', LanguageType: 'L', Name: "Aguaruna"},
"ags": {Part3: "ags", Scope: 'I', LanguageType: 'L', Name: "Esimbi"},
"agt": {Part3: "agt", Scope: 'I', LanguageType: 'L', Name: "Central Cagayan Agta"},
"agu": {Part3: "agu", Scope: 'I', LanguageType: 'L', Name: "Aguacateco"},
"agv": {Part3: "agv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"agw": {Part3: "agw", Scope: 'I', LanguageType: 'L', Name: "Kahua"},
"agx": {Part3: "agx", Scope: 'I', LanguageType: 'L', Name: "Aghul"},
"agy": {Part3: "agy", Scope: 'I', LanguageType: 'L', Name: "Southern Alta"},
"agz": {Part3: "agz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aha": {Part3: "aha", Scope: 'I', LanguageType: 'L', Name: "Ahanta"},
"ahb": {Part3: "ahb", Scope: 'I', LanguageType: 'L', Name: "Axamb"},
"ahg": {Part3: "ahg", Scope: 'I', LanguageType: 'L', Name: "Qimant"},
"ahh": {Part3: "ahh", Scope: 'I', LanguageType: 'L', Name: "Aghu"},
"ahi": {Part3: "ahi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ahk": {Part3: "ahk", Scope: 'I', LanguageType: 'L', Name: "Akha"},
"ahl": {Part3: "ahl", Scope: 'I', LanguageType: 'L', Name: "Igo"},
"ahm": {Part3: "ahm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ahn": {Part3: "ahn", Scope: 'I', LanguageType: 'L', Name: "Àhàn"},
"aho": {Part3: "aho", Scope: 'I', LanguageType: 'E', Name: "Ahom"},
"ahp": {Part3: "ahp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ahr": {Part3: "ahr", Scope: 'I', LanguageType: 'L', Name: "Ahirani"},
"ahs": {Part3: "ahs", Scope: 'I', LanguageType: 'L', Name: "Ashe"},
"aht": {Part3: "aht", Scope: 'I', LanguageType: 'L', Name: "Ahtena"},
"aia": {Part3: "aia", Scope: 'I', LanguageType: 'L', Name: "Arosi"},
"aib": {Part3: "aib", Scope: 'I', LanguageType: 'L', Name: "Ainu (China)"},
"aic": {Part3: "aic", Scope: 'I', LanguageType: 'L', Name: "Ainbai"},
"aid": {Part3: "aid", Scope: 'I', LanguageType: 'E', Name: "Alngith"},
"aie": {Part3: "aie", Scope: 'I', LanguageType: 'L', Name: "Amara"},
"aif": {Part3: "aif", Scope: 'I', LanguageType: 'L', Name: "Agi"},
"aig": {Part3: "aig", Scope: 'I', LanguageType: 'L', Name: "Antigua and Bar<NAME>"},
"aih": {Part3: "aih", Scope: 'I', LanguageType: 'L', Name: "Ai-Cham"},
"aii": {Part3: "aii", Scope: 'I', LanguageType: 'L', Name: "<NAME>-Aramaic"},
"aij": {Part3: "aij", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aik": {Part3: "aik", Scope: 'I', LanguageType: 'L', Name: "Ake"},
"ail": {Part3: "ail", Scope: 'I', LanguageType: 'L', Name: "Aimele"},
"aim": {Part3: "aim", Scope: 'I', LanguageType: 'L', Name: "Aimol"},
"ain": {Part3: "ain", Part2B: "ain", Part2T: "ain", Scope: 'I', LanguageType: 'L', Name: "Ainu (Japan)"},
"aio": {Part3: "aio", Scope: 'I', LanguageType: 'L', Name: "Aiton"},
"aip": {Part3: "aip", Scope: 'I', LanguageType: 'L', Name: "Burumakok"},
"aiq": {Part3: "aiq", Scope: 'I', LanguageType: 'L', Name: "Aimaq"},
"air": {Part3: "air", Scope: 'I', LanguageType: 'L', Name: "Airoran"},
"ait": {Part3: "ait", Scope: 'I', LanguageType: 'E', Name: "Arikem"},
"aiw": {Part3: "aiw", Scope: 'I', LanguageType: 'L', Name: "Aari"},
"aix": {Part3: "aix", Scope: 'I', LanguageType: 'L', Name: "Aighon"},
"aiy": {Part3: "aiy", Scope: 'I', LanguageType: 'L', Name: "Ali"},
"aja": {Part3: "aja", Scope: 'I', LanguageType: 'L', Name: "Aja (South Sudan)"},
"ajg": {Part3: "ajg", Scope: 'I', LanguageType: 'L', Name: "Aja (Benin)"},
"aji": {Part3: "aji", Scope: 'I', LanguageType: 'L', Name: "Ajië"},
"ajn": {Part3: "ajn", Scope: 'I', LanguageType: 'L', Name: "Andajin"},
"ajp": {Part3: "ajp", Scope: 'I', LanguageType: 'L', Name: "South Levantine Arabic"},
"ajt": {Part3: "ajt", Scope: 'I', LanguageType: 'L', Name: "Judeo-Tunisian Arabic"},
"aju": {Part3: "aju", Scope: 'I', LanguageType: 'L', Name: "Judeo-Moroccan Arabic"},
"ajw": {Part3: "ajw", Scope: 'I', LanguageType: 'E', Name: "Ajawa"},
"ajz": {Part3: "ajz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aka": {Part3: "aka", Part2B: "aka", Part2T: "aka", Part1: "ak", Scope: 'M', LanguageType: 'L', Name: "Akan"},
"akb": {Part3: "akb", Scope: 'I', LanguageType: 'L', Name: "B<NAME>kola"},
"akc": {Part3: "akc", Scope: 'I', LanguageType: 'L', Name: "Mpur"},
"akd": {Part3: "akd", Scope: 'I', LanguageType: 'L', Name: "Ukpet-Ehom"},
"ake": {Part3: "ake", Scope: 'I', LanguageType: 'L', Name: "Akawaio"},
"akf": {Part3: "akf", Scope: 'I', LanguageType: 'L', Name: "Akpa"},
"akg": {Part3: "akg", Scope: 'I', LanguageType: 'L', Name: "Anakalangu"},
"akh": {Part3: "akh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aki": {Part3: "aki", Scope: 'I', LanguageType: 'L', Name: "Aiome"},
"akj": {Part3: "akj", Scope: 'I', LanguageType: 'E', Name: "Aka-Jeru"},
"akk": {Part3: "akk", Part2B: "akk", Part2T: "akk", Scope: 'I', LanguageType: 'A', Name: "Akkadian"},
"akl": {Part3: "akl", Scope: 'I', LanguageType: 'L', Name: "Aklanon"},
"akm": {Part3: "akm", Scope: 'I', LanguageType: 'E', Name: "Aka-Bo"},
"ako": {Part3: "ako", Scope: 'I', LanguageType: 'L', Name: "Akurio"},
"akp": {Part3: "akp", Scope: 'I', LanguageType: 'L', Name: "Siwu"},
"akq": {Part3: "akq", Scope: 'I', LanguageType: 'L', Name: "Ak"},
"akr": {Part3: "akr", Scope: 'I', LanguageType: 'L', Name: "Araki"},
"aks": {Part3: "aks", Scope: 'I', LanguageType: 'L', Name: "Akaselem"},
"akt": {Part3: "akt", Scope: 'I', LanguageType: 'L', Name: "Akolet"},
"aku": {Part3: "aku", Scope: 'I', LanguageType: 'L', Name: "Akum"},
"akv": {Part3: "akv", Scope: 'I', LanguageType: 'L', Name: "Akhvakh"},
"akw": {Part3: "akw", Scope: 'I', LanguageType: 'L', Name: "Akwa"},
"akx": {Part3: "akx", Scope: 'I', LanguageType: 'E', Name: "Aka-Kede"},
"aky": {Part3: "aky", Scope: 'I', LanguageType: 'E', Name: "Aka-Kol"},
"akz": {Part3: "akz", Scope: 'I', LanguageType: 'L', Name: "Alabama"},
"ala": {Part3: "ala", Scope: 'I', LanguageType: 'L', Name: "Alago"},
"alc": {Part3: "alc", Scope: 'I', LanguageType: 'L', Name: "Qawasqar"},
"ald": {Part3: "ald", Scope: 'I', LanguageType: 'L', Name: "Alladian"},
"ale": {Part3: "ale", Part2B: "ale", Part2T: "ale", Scope: 'I', LanguageType: 'L', Name: "Aleut"},
"alf": {Part3: "alf", Scope: 'I', LanguageType: 'L', Name: "Alege"},
"alh": {Part3: "alh", Scope: 'I', LanguageType: 'L', Name: "Alawa"},
"ali": {Part3: "ali", Scope: 'I', LanguageType: 'L', Name: "Amaimon"},
"alj": {Part3: "alj", Scope: 'I', LanguageType: 'L', Name: "Alangan"},
"alk": {Part3: "alk", Scope: 'I', LanguageType: 'L', Name: "Alak"},
"all": {Part3: "all", Scope: 'I', LanguageType: 'L', Name: "Allar"},
"alm": {Part3: "alm", Scope: 'I', LanguageType: 'L', Name: "Amblong"},
"aln": {Part3: "aln", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"alo": {Part3: "alo", Scope: 'I', LanguageType: 'L', Name: "Larike-Wakasihu"},
"alp": {Part3: "alp", Scope: 'I', LanguageType: 'L', Name: "Alune"},
"alq": {Part3: "alq", Scope: 'I', LanguageType: 'L', Name: "Algonquin"},
"alr": {Part3: "alr", Scope: 'I', LanguageType: 'L', Name: "Alutor"},
"als": {Part3: "als", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"alt": {Part3: "alt", Part2B: "alt", Part2T: "alt", Scope: 'I', LanguageType: 'L', Name: "Southern Altai"},
"alu": {Part3: "alu", Scope: 'I', LanguageType: 'L', Name: "'Are'are"},
"alw": {Part3: "alw", Scope: 'I', LanguageType: 'L', Name: "Alaba-K’abeena"},
"alx": {Part3: "alx", Scope: 'I', LanguageType: 'L', Name: "Amol"},
"aly": {Part3: "aly", Scope: 'I', LanguageType: 'L', Name: "Alyawarr"},
"alz": {Part3: "alz", Scope: 'I', LanguageType: 'L', Name: "Alur"},
"ama": {Part3: "ama", Scope: 'I', LanguageType: 'E', Name: "Amanayé"},
"amb": {Part3: "amb", Scope: 'I', LanguageType: 'L', Name: "Ambo"},
"amc": {Part3: "amc", Scope: 'I', LanguageType: 'L', Name: "Amahuaca"},
"ame": {Part3: "ame", Scope: 'I', LanguageType: 'L', Name: "Yanesha'"},
"amf": {Part3: "amf", Scope: 'I', LanguageType: 'L', Name: "Hamer-Banna"},
"amg": {Part3: "amg", Scope: 'I', LanguageType: 'L', Name: "Amurdak"},
"amh": {Part3: "amh", Part2B: "amh", Part2T: "amh", Part1: "am", Scope: 'I', LanguageType: 'L', Name: "Amharic"},
"ami": {Part3: "ami", Scope: 'I', LanguageType: 'L', Name: "Amis"},
"amj": {Part3: "amj", Scope: 'I', LanguageType: 'L', Name: "Amdang"},
"amk": {Part3: "amk", Scope: 'I', LanguageType: 'L', Name: "Ambai"},
"aml": {Part3: "aml", Scope: 'I', LanguageType: 'L', Name: "War-Jaintia"},
"amm": {Part3: "amm", Scope: 'I', LanguageType: 'L', Name: "Ama (Papua New Guinea)"},
"amn": {Part3: "amn", Scope: 'I', LanguageType: 'L', Name: "Amanab"},
"amo": {Part3: "amo", Scope: 'I', LanguageType: 'L', Name: "Amo"},
"amp": {Part3: "amp", Scope: 'I', LanguageType: 'L', Name: "Alamblak"},
"amq": {Part3: "amq", Scope: 'I', LanguageType: 'L', Name: "Amahai"},
"amr": {Part3: "amr", Scope: 'I', LanguageType: 'L', Name: "Amarakaeri"},
"ams": {Part3: "ams", Scope: 'I', LanguageType: 'L', Name: "Southern Amami-Oshima"},
"amt": {Part3: "amt", Scope: 'I', LanguageType: 'L', Name: "Amto"},
"amu": {Part3: "amu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"amv": {Part3: "amv", Scope: 'I', LanguageType: 'L', Name: "Ambelau"},
"amw": {Part3: "amw", Scope: 'I', LanguageType: 'L', Name: "Western Neo-Aramaic"},
"amx": {Part3: "amx", Scope: 'I', LanguageType: 'L', Name: "Anmatyerre"},
"amy": {Part3: "amy", Scope: 'I', LanguageType: 'L', Name: "Ami"},
"amz": {Part3: "amz", Scope: 'I', LanguageType: 'E', Name: "Atampaya"},
"ana": {Part3: "ana", Scope: 'I', LanguageType: 'E', Name: "Andaqui"},
"anb": {Part3: "anb", Scope: 'I', LanguageType: 'E', Name: "Andoa"},
"anc": {Part3: "anc", Scope: 'I', LanguageType: 'L', Name: "Ngas"},
"and": {Part3: "and", Scope: 'I', LanguageType: 'L', Name: "Ansus"},
"ane": {Part3: "ane", Scope: 'I', LanguageType: 'L', Name: "Xârâcùù"},
"anf": {Part3: "anf", Scope: 'I', LanguageType: 'L', Name: "Animere"},
"ang": {Part3: "ang", Part2B: "ang", Part2T: "ang", Scope: 'I', LanguageType: 'H', Name: "Old English (ca. 450-1100)"},
"anh": {Part3: "anh", Scope: 'I', LanguageType: 'L', Name: "Nend"},
"ani": {Part3: "ani", Scope: 'I', LanguageType: 'L', Name: "Andi"},
"anj": {Part3: "anj", Scope: 'I', LanguageType: 'L', Name: "Anor"},
"ank": {Part3: "ank", Scope: 'I', LanguageType: 'L', Name: "Goemai"},
"anl": {Part3: "anl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"anm": {Part3: "anm", Scope: 'I', LanguageType: 'L', Name: "Anal"},
"ann": {Part3: "ann", Scope: 'I', LanguageType: 'L', Name: "Obolo"},
"ano": {Part3: "ano", Scope: 'I', LanguageType: 'L', Name: "Andoque"},
"anp": {Part3: "anp", Part2B: "anp", Part2T: "anp", Scope: 'I', LanguageType: 'L', Name: "Angika"},
"anq": {Part3: "anq", Scope: 'I', LanguageType: 'L', Name: "Jarawa (India)"},
"anr": {Part3: "anr", Scope: 'I', LanguageType: 'L', Name: "Andh"},
"ans": {Part3: "ans", Scope: 'I', LanguageType: 'E', Name: "Anserma"},
"ant": {Part3: "ant", Scope: 'I', LanguageType: 'L', Name: "Antakarinya"},
"anu": {Part3: "anu", Scope: 'I', LanguageType: 'L', Name: "Anuak"},
"anv": {Part3: "anv", Scope: 'I', LanguageType: 'L', Name: "Denya"},
"anw": {Part3: "anw", Scope: 'I', LanguageType: 'L', Name: "Anaang"},
"anx": {Part3: "anx", Scope: 'I', LanguageType: 'L', Name: "Andra-Hus"},
"any": {Part3: "any", Scope: 'I', LanguageType: 'L', Name: "Anyin"},
"anz": {Part3: "anz", Scope: 'I', LanguageType: 'L', Name: "Anem"},
"aoa": {Part3: "aoa", Scope: 'I', LanguageType: 'L', Name: "Angolar"},
"aob": {Part3: "aob", Scope: 'I', LanguageType: 'L', Name: "Abom"},
"aoc": {Part3: "aoc", Scope: 'I', LanguageType: 'L', Name: "Pemon"},
"aod": {Part3: "aod", Scope: 'I', LanguageType: 'L', Name: "Andarum"},
"aoe": {Part3: "aoe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aof": {Part3: "aof", Scope: 'I', LanguageType: 'L', Name: "Bragat"},
"aog": {Part3: "aog", Scope: 'I', LanguageType: 'L', Name: "Angoram"},
"aoi": {Part3: "aoi", Scope: 'I', LanguageType: 'L', Name: "Anindilyakwa"},
"aoj": {Part3: "aoj", Scope: 'I', LanguageType: 'L', Name: "Mufian"},
"aok": {Part3: "aok", Scope: 'I', LanguageType: 'L', Name: "Arhö"},
"aol": {Part3: "aol", Scope: 'I', LanguageType: 'L', Name: "Alor"},
"aom": {Part3: "aom", Scope: 'I', LanguageType: 'L', Name: "Ömie"},
"aon": {Part3: "aon", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aor": {Part3: "aor", Scope: 'I', LanguageType: 'E', Name: "Aore"},
"aos": {Part3: "aos", Scope: 'I', LanguageType: 'L', Name: "Taikat"},
"aot": {Part3: "aot", Scope: 'I', LanguageType: 'L', Name: "Atong (India)"},
"aou": {Part3: "aou", Scope: 'I', LanguageType: 'L', Name: "A'ou"},
"aox": {Part3: "aox", Scope: 'I', LanguageType: 'L', Name: "Atorada"},
"aoz": {Part3: "aoz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"apb": {Part3: "apb", Scope: 'I', LanguageType: 'L', Name: "Sa'a"},
"apc": {Part3: "apc", Scope: 'I', LanguageType: 'L', Name: "North Levantine Arabic"},
"apd": {Part3: "apd", Scope: 'I', LanguageType: 'L', Name: "Sudanese Arabic"},
"ape": {Part3: "ape", Scope: 'I', LanguageType: 'L', Name: "Bukiyip"},
"apf": {Part3: "apf", Scope: 'I', LanguageType: 'L', Name: "Pahanan Agta"},
"apg": {Part3: "apg", Scope: 'I', LanguageType: 'L', Name: "Ampanang"},
"aph": {Part3: "aph", Scope: 'I', LanguageType: 'L', Name: "Athpariya"},
"api": {Part3: "api", Scope: 'I', LanguageType: 'L', Name: "Apiaká"},
"apj": {Part3: "apj", Scope: 'I', LanguageType: 'L', Name: "Jicarilla Apache"},
"apk": {Part3: "apk", Scope: 'I', LanguageType: 'L', Name: "Kiowa Apache"},
"apl": {Part3: "apl", Scope: 'I', LanguageType: 'L', Name: "Lipan Apache"},
"apm": {Part3: "apm", Scope: 'I', LanguageType: 'L', Name: "Mescalero-Chiricahua Apache"},
"apn": {Part3: "apn", Scope: 'I', LanguageType: 'L', Name: "Apinayé"},
"apo": {Part3: "apo", Scope: 'I', LanguageType: 'L', Name: "Ambul"},
"app": {Part3: "app", Scope: 'I', LanguageType: 'L', Name: "Apma"},
"apq": {Part3: "apq", Scope: 'I', LanguageType: 'L', Name: "A-Pucikwar"},
"apr": {Part3: "apr", Scope: 'I', LanguageType: 'L', Name: "Arop-Lokep"},
"aps": {Part3: "aps", Scope: 'I', LanguageType: 'L', Name: "Arop-Sissano"},
"apt": {Part3: "apt", Scope: 'I', LanguageType: 'L', Name: "Apatani"},
"apu": {Part3: "apu", Scope: 'I', LanguageType: 'L', Name: "Apurinã"},
"apv": {Part3: "apv", Scope: 'I', LanguageType: 'E', Name: "Alapmunte"},
"apw": {Part3: "apw", Scope: 'I', LanguageType: 'L', Name: "Western Apache"},
"apx": {Part3: "apx", Scope: 'I', LanguageType: 'L', Name: "Aputai"},
"apy": {Part3: "apy", Scope: 'I', LanguageType: 'L', Name: "Apalaí"},
"apz": {Part3: "apz", Scope: 'I', LanguageType: 'L', Name: "Safeyoka"},
"aqc": {Part3: "aqc", Scope: 'I', LanguageType: 'L', Name: "Archi"},
"aqd": {Part3: "aqd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aqg": {Part3: "aqg", Scope: 'I', LanguageType: 'L', Name: "Arigidi"},
"aqk": {Part3: "aqk", Scope: 'I', LanguageType: 'L', Name: "Aninka"},
"aqm": {Part3: "aqm", Scope: 'I', LanguageType: 'L', Name: "Atohwaim"},
"aqn": {Part3: "aqn", Scope: 'I', LanguageType: 'L', Name: "Northern Alta"},
"aqp": {Part3: "aqp", Scope: 'I', LanguageType: 'E', Name: "Atakapa"},
"aqr": {Part3: "aqr", Scope: 'I', LanguageType: 'L', Name: "Arhâ"},
"aqt": {Part3: "aqt", Scope: 'I', LanguageType: 'L', Name: "Angaité"},
"aqz": {Part3: "aqz", Scope: 'I', LanguageType: 'L', Name: "Akuntsu"},
"ara": {Part3: "ara", Part2B: "ara", Part2T: "ara", Part1: "ar", Scope: 'M', LanguageType: 'L', Name: "Arabic"},
"arb": {Part3: "arb", Scope: 'I', LanguageType: 'L', Name: "Standard Arabic"},
"arc": {Part3: "arc", Part2B: "arc", Part2T: "arc", Scope: 'I', LanguageType: 'A', Name: "Official Aramaic (700-300 BCE)"},
"ard": {Part3: "ard", Scope: 'I', LanguageType: 'E', Name: "Arabana"},
"are": {Part3: "are", Scope: 'I', LanguageType: 'L', Name: "Western Arrarnta"},
"arg": {Part3: "arg", Part2B: "arg", Part2T: "arg", Part1: "an", Scope: 'I', LanguageType: 'L', Name: "Aragonese"},
"arh": {Part3: "arh", Scope: 'I', LanguageType: 'L', Name: "Arhuaco"},
"ari": {Part3: "ari", Scope: 'I', LanguageType: 'L', Name: "Arikara"},
"arj": {Part3: "arj", Scope: 'I', LanguageType: 'E', Name: "Arapaso"},
"ark": {Part3: "ark", Scope: 'I', LanguageType: 'L', Name: "Arikapú"},
"arl": {Part3: "arl", Scope: 'I', LanguageType: 'L', Name: "Arabela"},
"arn": {Part3: "arn", Part2B: "arn", Part2T: "arn", Scope: 'I', LanguageType: 'L', Name: "Mapudungun"},
"aro": {Part3: "aro", Scope: 'I', LanguageType: 'L', Name: "Araona"},
"arp": {Part3: "arp", Part2B: "arp", Part2T: "arp", Scope: 'I', LanguageType: 'L', Name: "Arapaho"},
"arq": {Part3: "arq", Scope: 'I', LanguageType: 'L', Name: "Algerian Arabic"},
"arr": {Part3: "arr", Scope: 'I', LanguageType: 'L', Name: "Karo (Brazil)"},
"ars": {Part3: "ars", Scope: 'I', LanguageType: 'L', Name: "Najdi Arabic"},
"aru": {Part3: "aru", Scope: 'I', LanguageType: 'E', Name: "Aruá (Amazonas State)"},
"arv": {Part3: "arv", Scope: 'I', LanguageType: 'L', Name: "Arbore"},
"arw": {Part3: "arw", Part2B: "arw", Part2T: "arw", Scope: 'I', LanguageType: 'L', Name: "Arawak"},
"arx": {Part3: "arx", Scope: 'I', LanguageType: 'L', Name: "Aruá (Rodonia State)"},
"ary": {Part3: "ary", Scope: 'I', LanguageType: 'L', Name: "Moroccan Arabic"},
"arz": {Part3: "arz", Scope: 'I', LanguageType: 'L', Name: "Egyptian Arabic"},
"asa": {Part3: "asa", Scope: 'I', LanguageType: 'L', Name: "Asu (Tanzania)"},
"asb": {Part3: "asb", Scope: 'I', LanguageType: 'L', Name: "Assiniboine"},
"asc": {Part3: "asc", Scope: 'I', LanguageType: 'L', Name: "Casuarina Coast Asmat"},
"ase": {Part3: "ase", Scope: 'I', LanguageType: 'L', Name: "American Sign Language"},
"asf": {Part3: "asf", Scope: 'I', LanguageType: 'L', Name: "Auslan"},
"asg": {Part3: "asg", Scope: 'I', LanguageType: 'L', Name: "Cishingini"},
"ash": {Part3: "ash", Scope: 'I', LanguageType: 'E', Name: "Abishira"},
"asi": {Part3: "asi", Scope: 'I', LanguageType: 'L', Name: "Buruwai"},
"asj": {Part3: "asj", Scope: 'I', LanguageType: 'L', Name: "Sari"},
"ask": {Part3: "ask", Scope: 'I', LanguageType: 'L', Name: "Ashkun"},
"asl": {Part3: "asl", Scope: 'I', LanguageType: 'L', Name: "Asilulu"},
"asm": {Part3: "asm", Part2B: "asm", Part2T: "asm", Part1: "as", Scope: 'I', LanguageType: 'L', Name: "Assamese"},
"asn": {Part3: "asn", Scope: 'I', LanguageType: 'L', Name: "Xingú Asuriní"},
"aso": {Part3: "aso", Scope: 'I', LanguageType: 'L', Name: "Dano"},
"asp": {Part3: "asp", Scope: 'I', LanguageType: 'L', Name: "Algerian Sign Language"},
"asq": {Part3: "asq", Scope: 'I', LanguageType: 'L', Name: "Austrian Sign Language"},
"asr": {Part3: "asr", Scope: 'I', LanguageType: 'L', Name: "Asuri"},
"ass": {Part3: "ass", Scope: 'I', LanguageType: 'L', Name: "Ipulo"},
"ast": {Part3: "ast", Part2B: "ast", Part2T: "ast", Scope: 'I', LanguageType: 'L', Name: "Asturian"},
"asu": {Part3: "asu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"asv": {Part3: "asv", Scope: 'I', LanguageType: 'L', Name: "Asoa"},
"asw": {Part3: "asw", Scope: 'I', LanguageType: 'L', Name: "Australian Aborigines Sign Language"},
"asx": {Part3: "asx", Scope: 'I', LanguageType: 'L', Name: "Muratayak"},
"asy": {Part3: "asy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"asz": {Part3: "asz", Scope: 'I', LanguageType: 'L', Name: "As"},
"ata": {Part3: "ata", Scope: 'I', LanguageType: 'L', Name: "Pele-Ata"},
"atb": {Part3: "atb", Scope: 'I', LanguageType: 'L', Name: "Zaiwa"},
"atc": {Part3: "atc", Scope: 'I', LanguageType: 'E', Name: "Atsahuaca"},
"atd": {Part3: "atd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ate": {Part3: "ate", Scope: 'I', LanguageType: 'L', Name: "Atemble"},
"atg": {Part3: "atg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ati": {Part3: "ati", Scope: 'I', LanguageType: 'L', Name: "Attié"},
"atj": {Part3: "atj", Scope: 'I', LanguageType: 'L', Name: "Atikamekw"},
"atk": {Part3: "atk", Scope: 'I', LanguageType: 'L', Name: "Ati"},
"atl": {Part3: "atl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"atm": {Part3: "atm", Scope: 'I', LanguageType: 'L', Name: "Ata"},
"atn": {Part3: "atn", Scope: 'I', LanguageType: 'L', Name: "Ashtiani"},
"ato": {Part3: "ato", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"atp": {Part3: "atp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"atq": {Part3: "atq", Scope: 'I', LanguageType: 'L', Name: "Aralle-Tabulahan"},
"atr": {Part3: "atr", Scope: 'I', LanguageType: 'L', Name: "Waimiri-Atroari"},
"ats": {Part3: "ats", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"att": {Part3: "att", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"atu": {Part3: "atu", Scope: 'I', LanguageType: 'L', Name: "Reel"},
"atv": {Part3: "atv", Scope: 'I', LanguageType: 'L', Name: "Northern Altai"},
"atw": {Part3: "atw", Scope: 'I', LanguageType: 'L', Name: "Atsugewi"},
"atx": {Part3: "atx", Scope: 'I', LanguageType: 'L', Name: "Arutani"},
"aty": {Part3: "aty", Scope: 'I', LanguageType: 'L', Name: "Aneityum"},
"atz": {Part3: "atz", Scope: 'I', LanguageType: 'L', Name: "Arta"},
"aua": {Part3: "aua", Scope: 'I', LanguageType: 'L', Name: "Asumboa"},
"aub": {Part3: "aub", Scope: 'I', LanguageType: 'L', Name: "Alugu"},
"auc": {Part3: "auc", Scope: 'I', LanguageType: 'L', Name: "Waorani"},
"aud": {Part3: "aud", Scope: 'I', LanguageType: 'L', Name: "Anuta"},
"aug": {Part3: "aug", Scope: 'I', LanguageType: 'L', Name: "Aguna"},
"auh": {Part3: "auh", Scope: 'I', LanguageType: 'L', Name: "Aushi"},
"aui": {Part3: "aui", Scope: 'I', LanguageType: 'L', Name: "Anuki"},
"auj": {Part3: "auj", Scope: 'I', LanguageType: 'L', Name: "Awjilah"},
"auk": {Part3: "auk", Scope: 'I', LanguageType: 'L', Name: "Heyo"},
"aul": {Part3: "aul", Scope: 'I', LanguageType: 'L', Name: "Aulua"},
"aum": {Part3: "aum", Scope: 'I', LanguageType: 'L', Name: "Asu (Nigeria)"},
"aun": {Part3: "aun", Scope: 'I', LanguageType: 'L', Name: "Mol<NAME>"},
"auo": {Part3: "auo", Scope: 'I', LanguageType: 'E', Name: "Auyokawa"},
"aup": {Part3: "aup", Scope: 'I', LanguageType: 'L', Name: "Makayam"},
"auq": {Part3: "auq", Scope: 'I', LanguageType: 'L', Name: "Anus"},
"aur": {Part3: "aur", Scope: 'I', LanguageType: 'L', Name: "Aruek"},
"aut": {Part3: "aut", Scope: 'I', LanguageType: 'L', Name: "Austral"},
"auu": {Part3: "auu", Scope: 'I', LanguageType: 'L', Name: "Auye"},
"auw": {Part3: "auw", Scope: 'I', LanguageType: 'L', Name: "Awyi"},
"aux": {Part3: "aux", Scope: 'I', LanguageType: 'E', Name: "Aurá"},
"auy": {Part3: "auy", Scope: 'I', LanguageType: 'L', Name: "Awiyaana"},
"auz": {Part3: "auz", Scope: 'I', LanguageType: 'L', Name: "Uzbeki Arabic"},
"ava": {Part3: "ava", Part2B: "ava", Part2T: "ava", Part1: "av", Scope: 'I', LanguageType: 'L', Name: "Avaric"},
"avb": {Part3: "avb", Scope: 'I', LanguageType: 'L', Name: "Avau"},
"avd": {Part3: "avd", Scope: 'I', LanguageType: 'L', Name: "Alviri-Vidari"},
"ave": {Part3: "ave", Part2B: "ave", Part2T: "ave", Part1: "ae", Scope: 'I', LanguageType: 'A', Name: "Avestan"},
"avi": {Part3: "avi", Scope: 'I', LanguageType: 'L', Name: "Avikam"},
"avk": {Part3: "avk", Scope: 'I', LanguageType: 'C', Name: "Kotava"},
"avl": {Part3: "avl", Scope: 'I', LanguageType: 'L', Name: "Eastern Egyptian Bedawi Arabic"},
"avm": {Part3: "avm", Scope: 'I', LanguageType: 'E', Name: "Angkamuthi"},
"avn": {Part3: "avn", Scope: 'I', LanguageType: 'L', Name: "Avatime"},
"avo": {Part3: "avo", Scope: 'I', LanguageType: 'E', Name: "Agavotaguerra"},
"avs": {Part3: "avs", Scope: 'I', LanguageType: 'E', Name: "Aushiri"},
"avt": {Part3: "avt", Scope: 'I', LanguageType: 'L', Name: "Au"},
"avu": {Part3: "avu", Scope: 'I', LanguageType: 'L', Name: "Avokaya"},
"avv": {Part3: "avv", Scope: 'I', LanguageType: 'L', Name: "Avá-Canoeiro"},
"awa": {Part3: "awa", Part2B: "awa", Part2T: "awa", Scope: 'I', LanguageType: 'L', Name: "Awadhi"},
"awb": {Part3: "awb", Scope: 'I', LanguageType: 'L', Name: "Awa (Papua New Guinea)"},
"awc": {Part3: "awc", Scope: 'I', LanguageType: 'L', Name: "Cicipu"},
"awe": {Part3: "awe", Scope: 'I', LanguageType: 'L', Name: "Awetí"},
"awg": {Part3: "awg", Scope: 'I', LanguageType: 'E', Name: "Anguthimri"},
"awh": {Part3: "awh", Scope: 'I', LanguageType: 'L', Name: "Awbono"},
"awi": {Part3: "awi", Scope: 'I', LanguageType: 'L', Name: "Aekyom"},
"awk": {Part3: "awk", Scope: 'I', LanguageType: 'E', Name: "Awabakal"},
"awm": {Part3: "awm", Scope: 'I', LanguageType: 'L', Name: "Arawum"},
"awn": {Part3: "awn", Scope: 'I', LanguageType: 'L', Name: "Awngi"},
"awo": {Part3: "awo", Scope: 'I', LanguageType: 'L', Name: "Awak"},
"awr": {Part3: "awr", Scope: 'I', LanguageType: 'L', Name: "Awera"},
"aws": {Part3: "aws", Scope: 'I', LanguageType: 'L', Name: "South Awyu"},
"awt": {Part3: "awt", Scope: 'I', LanguageType: 'L', Name: "Araweté"},
"awu": {Part3: "awu", Scope: 'I', LanguageType: 'L', Name: "Central Awyu"},
"awv": {Part3: "awv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aww": {Part3: "aww", Scope: 'I', LanguageType: 'L', Name: "Awun"},
"awx": {Part3: "awx", Scope: 'I', LanguageType: 'L', Name: "Awara"},
"awy": {Part3: "awy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"axb": {Part3: "axb", Scope: 'I', LanguageType: 'E', Name: "Abipon"},
"axe": {Part3: "axe", Scope: 'I', LanguageType: 'E', Name: "Ayerrerenge"},
"axg": {Part3: "axg", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"axk": {Part3: "axk", Scope: 'I', LanguageType: 'L', Name: "Yaka (Central African Republic)"},
"axl": {Part3: "axl", Scope: 'I', LanguageType: 'E', Name: "Lower Southern Aranda"},
"axm": {Part3: "axm", Scope: 'I', LanguageType: 'H', Name: "Middle Armenian"},
"axx": {Part3: "axx", Scope: 'I', LanguageType: 'L', Name: "Xârâgurè"},
"aya": {Part3: "aya", Scope: 'I', LanguageType: 'L', Name: "Awar"},
"ayb": {Part3: "ayb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ayc": {Part3: "ayc", Scope: 'I', LanguageType: 'L', Name: "Southern Aymara"},
"ayd": {Part3: "ayd", Scope: 'I', LanguageType: 'E', Name: "Ayabadhu"},
"aye": {Part3: "aye", Scope: 'I', LanguageType: 'L', Name: "Ayere"},
"ayg": {Part3: "ayg", Scope: 'I', LanguageType: 'L', Name: "Ginyanga"},
"ayh": {Part3: "ayh", Scope: 'I', LanguageType: 'L', Name: "Hadrami Arabic"},
"ayi": {Part3: "ayi", Scope: 'I', LanguageType: 'L', Name: "Leyigha"},
"ayk": {Part3: "ayk", Scope: 'I', LanguageType: 'L', Name: "Akuku"},
"ayl": {Part3: "ayl", Scope: 'I', LanguageType: 'L', Name: "Libyan Arabic"},
"aym": {Part3: "aym", Part2B: "aym", Part2T: "aym", Part1: "ay", Scope: 'M', LanguageType: 'L', Name: "Aymara"},
"ayn": {Part3: "ayn", Scope: 'I', LanguageType: 'L', Name: "Sanaani Arabic"},
"ayo": {Part3: "ayo", Scope: 'I', LanguageType: 'L', Name: "Ayoreo"},
"ayp": {Part3: "ayp", Scope: 'I', LanguageType: 'L', Name: "North Mesopotamian Arabic"},
"ayq": {Part3: "ayq", Scope: 'I', LanguageType: 'L', Name: "Ayi (Papua New Guinea)"},
"ayr": {Part3: "ayr", Scope: 'I', LanguageType: 'L', Name: "Central Aymara"},
"ays": {Part3: "ays", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ayt": {Part3: "ayt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ayu": {Part3: "ayu", Scope: 'I', LanguageType: 'L', Name: "Ayu"},
"ayz": {Part3: "ayz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"aza": {Part3: "aza", Scope: 'I', LanguageType: 'L', Name: "Azha"},
"azb": {Part3: "azb", Scope: 'I', LanguageType: 'L', Name: "South Azerbaijani"},
"azd": {Part3: "azd", Scope: 'I', LanguageType: 'L', Name: "Eastern Durango Nahuatl"},
"aze": {Part3: "aze", Part2B: "aze", Part2T: "aze", Part1: "az", Scope: 'M', LanguageType: 'L', Name: "Azerbaijani"},
"azg": {Part3: "azg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"azj": {Part3: "azj", Scope: 'I', LanguageType: 'L', Name: "North Azerbaijani"},
"azm": {Part3: "azm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"azn": {Part3: "azn", Scope: 'I', LanguageType: 'L', Name: "Western Durango Nahuatl"},
"azo": {Part3: "azo", Scope: 'I', LanguageType: 'L', Name: "Awing"},
"azt": {Part3: "azt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"azz": {Part3: "azz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"baa": {Part3: "baa", Scope: 'I', LanguageType: 'L', Name: "Babatana"},
"bab": {Part3: "bab", Scope: 'I', LanguageType: 'L', Name: "Bainouk-Gunyuño"},
"bac": {Part3: "bac", Scope: 'I', LanguageType: 'L', Name: "Badui"},
"bae": {Part3: "bae", Scope: 'I', LanguageType: 'E', Name: "Baré"},
"baf": {Part3: "baf", Scope: 'I', LanguageType: 'L', Name: "Nubaca"},
"bag": {Part3: "bag", Scope: 'I', LanguageType: 'L', Name: "Tuki"},
"bah": {Part3: "bah", Scope: 'I', LanguageType: 'L', Name: "Bahamas Creole English"},
"baj": {Part3: "baj", Scope: 'I', LanguageType: 'L', Name: "Barakai"},
"bak": {Part3: "bak", Part2B: "bak", Part2T: "bak", Part1: "ba", Scope: 'I', LanguageType: 'L', Name: "Bashkir"},
"bal": {Part3: "bal", Part2B: "bal", Part2T: "bal", Scope: 'M', LanguageType: 'L', Name: "Baluchi"},
"bam": {Part3: "bam", Part2B: "bam", Part2T: "bam", Part1: "bm", Scope: 'I', LanguageType: 'L', Name: "Bambara"},
"ban": {Part3: "ban", Part2B: "ban", Part2T: "ban", Scope: 'I', LanguageType: 'L', Name: "Balinese"},
"bao": {Part3: "bao", Scope: 'I', LanguageType: 'L', Name: "Waimaha"},
"bap": {Part3: "bap", Scope: 'I', LanguageType: 'L', Name: "Bantawa"},
"bar": {Part3: "bar", Scope: 'I', LanguageType: 'L', Name: "Bavarian"},
"bas": {Part3: "bas", Part2B: "bas", Part2T: "bas", Scope: 'I', LanguageType: 'L', Name: "Basa (Cameroon)"},
"bau": {Part3: "bau", Scope: 'I', LanguageType: 'L', Name: "Bada (Nigeria)"},
"bav": {Part3: "bav", Scope: 'I', LanguageType: 'L', Name: "Vengo"},
"baw": {Part3: "baw", Scope: 'I', LanguageType: 'L', Name: "Bambili-Bambui"},
"bax": {Part3: "bax", Scope: 'I', LanguageType: 'L', Name: "Bamun"},
"bay": {Part3: "bay", Scope: 'I', LanguageType: 'L', Name: "Batuley"},
"bba": {Part3: "bba", Scope: 'I', LanguageType: 'L', Name: "Baatonum"},
"bbb": {Part3: "bbb", Scope: 'I', LanguageType: 'L', Name: "Barai"},
"bbc": {Part3: "bbc", Scope: 'I', LanguageType: 'L', Name: "Batak Toba"},
"bbd": {Part3: "bbd", Scope: 'I', LanguageType: 'L', Name: "Bau"},
"bbe": {Part3: "bbe", Scope: 'I', LanguageType: 'L', Name: "Bangba"},
"bbf": {Part3: "bbf", Scope: 'I', LanguageType: 'L', Name: "Baibai"},
"bbg": {Part3: "bbg", Scope: 'I', LanguageType: 'L', Name: "Barama"},
"bbh": {Part3: "bbh", Scope: 'I', LanguageType: 'L', Name: "Bugan"},
"bbi": {Part3: "bbi", Scope: 'I', LanguageType: 'L', Name: "Barombi"},
"bbj": {Part3: "bbj", Scope: 'I', LanguageType: 'L', Name: "Ghomálá'"},
"bbk": {Part3: "bbk", Scope: 'I', LanguageType: 'L', Name: "Babanki"},
"bbl": {Part3: "bbl", Scope: 'I', LanguageType: 'L', Name: "Bats"},
"bbm": {Part3: "bbm", Scope: 'I', LanguageType: 'L', Name: "Babango"},
"bbn": {Part3: "bbn", Scope: 'I', LanguageType: 'L', Name: "Uneapa"},
"bbo": {Part3: "bbo", Scope: 'I', LanguageType: 'L', Name: "Northern Bobo Madaré"},
"bbp": {Part3: "bbp", Scope: 'I', LanguageType: 'L', Name: "West Central Banda"},
"bbq": {Part3: "bbq", Scope: 'I', LanguageType: 'L', Name: "Bamali"},
"bbr": {Part3: "bbr", Scope: 'I', LanguageType: 'L', Name: "Girawa"},
"bbs": {Part3: "bbs", Scope: 'I', LanguageType: 'L', Name: "Bakpinka"},
"bbt": {Part3: "bbt", Scope: 'I', LanguageType: 'L', Name: "Mburku"},
"bbu": {Part3: "bbu", Scope: 'I', LanguageType: 'L', Name: "Kulung (Nigeria)"},
"bbv": {Part3: "bbv", Scope: 'I', LanguageType: 'L', Name: "Karnai"},
"bbw": {Part3: "bbw", Scope: 'I', LanguageType: 'L', Name: "Baba"},
"bbx": {Part3: "bbx", Scope: 'I', LanguageType: 'L', Name: "Bubia"},
"bby": {Part3: "bby", Scope: 'I', LanguageType: 'L', Name: "Befang"},
"bca": {Part3: "bca", Scope: 'I', LanguageType: 'L', Name: "Central Bai"},
"bcb": {Part3: "bcb", Scope: 'I', LanguageType: 'L', Name: "Bainouk-Samik"},
"bcc": {Part3: "bcc", Scope: 'I', LanguageType: 'L', Name: "Southern Balochi"},
"bcd": {Part3: "bcd", Scope: 'I', LanguageType: 'L', Name: "North Babar"},
"bce": {Part3: "bce", Scope: 'I', LanguageType: 'L', Name: "Bamenyam"},
"bcf": {Part3: "bcf", Scope: 'I', LanguageType: 'L', Name: "Bamu"},
"bcg": {Part3: "bcg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bch": {Part3: "bch", Scope: 'I', LanguageType: 'L', Name: "Bariai"},
"bci": {Part3: "bci", Scope: 'I', LanguageType: 'L', Name: "Baoulé"},
"bcj": {Part3: "bcj", Scope: 'I', LanguageType: 'L', Name: "Bardi"},
"bck": {Part3: "bck", Scope: 'I', LanguageType: 'L', Name: "Bunuba"},
"bcl": {Part3: "bcl", Scope: 'I', LanguageType: 'L', Name: "Central Bikol"},
"bcm": {Part3: "bcm", Scope: 'I', LanguageType: 'L', Name: "Bannoni"},
"bcn": {Part3: "bcn", Scope: 'I', LanguageType: 'L', Name: "Bali (Nigeria)"},
"bco": {Part3: "bco", Scope: 'I', LanguageType: 'L', Name: "Kaluli"},
"bcp": {Part3: "bcp", Scope: 'I', LanguageType: 'L', Name: "Bali (Democratic Republic of Congo)"},
"bcq": {Part3: "bcq", Scope: 'I', LanguageType: 'L', Name: "Bench"},
"bcr": {Part3: "bcr", Scope: 'I', LanguageType: 'L', Name: "Babine"},
"bcs": {Part3: "bcs", Scope: 'I', LanguageType: 'L', Name: "Kohumono"},
"bct": {Part3: "bct", Scope: 'I', LanguageType: 'L', Name: "Bendi"},
"bcu": {Part3: "bcu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bcv": {Part3: "bcv", Scope: 'I', LanguageType: 'L', Name: "Shoo-Minda-Nye"},
"bcw": {Part3: "bcw", Scope: 'I', LanguageType: 'L', Name: "Bana"},
"bcy": {Part3: "bcy", Scope: 'I', LanguageType: 'L', Name: "Bacama"},
"bcz": {Part3: "bcz", Scope: 'I', LanguageType: 'L', Name: "Bainouk-Gunyaamolo"},
"bda": {Part3: "bda", Scope: 'I', LanguageType: 'L', Name: "Bayot"},
"bdb": {Part3: "bdb", Scope: 'I', LanguageType: 'L', Name: "Basap"},
"bdc": {Part3: "bdc", Scope: 'I', LanguageType: 'L', Name: "Emberá-Baudó"},
"bdd": {Part3: "bdd", Scope: 'I', LanguageType: 'L', Name: "Bunama"},
"bde": {Part3: "bde", Scope: 'I', LanguageType: 'L', Name: "Bade"},
"bdf": {Part3: "bdf", Scope: 'I', LanguageType: 'L', Name: "Biage"},
"bdg": {Part3: "bdg", Scope: 'I', LanguageType: 'L', Name: "Bonggi"},
"bdh": {Part3: "bdh", Scope: 'I', LanguageType: 'L', Name: "Baka (South Sudan)"},
"bdi": {Part3: "bdi", Scope: 'I', LanguageType: 'L', Name: "Burun"},
"bdj": {Part3: "bdj", Scope: 'I', LanguageType: 'L', Name: "Bai (South Sudan)"},
"bdk": {Part3: "bdk", Scope: 'I', LanguageType: 'L', Name: "Budukh"},
"bdl": {Part3: "bdl", Scope: 'I', LanguageType: 'L', Name: "Indonesian Bajau"},
"bdm": {Part3: "bdm", Scope: 'I', LanguageType: 'L', Name: "Buduma"},
"bdn": {Part3: "bdn", Scope: 'I', LanguageType: 'L', Name: "Baldemu"},
"bdo": {Part3: "bdo", Scope: 'I', LanguageType: 'L', Name: "Morom"},
"bdp": {Part3: "bdp", Scope: 'I', LanguageType: 'L', Name: "Bende"},
"bdq": {Part3: "bdq", Scope: 'I', LanguageType: 'L', Name: "Bahnar"},
"bdr": {Part3: "bdr", Scope: 'I', LanguageType: 'L', Name: "West Coast Bajau"},
"bds": {Part3: "bds", Scope: 'I', LanguageType: 'L', Name: "Burunge"},
"bdt": {Part3: "bdt", Scope: 'I', LanguageType: 'L', Name: "Bokoto"},
"bdu": {Part3: "bdu", Scope: 'I', LanguageType: 'L', Name: "Oroko"},
"bdv": {Part3: "bdv", Scope: 'I', LanguageType: 'L', Name: "B<NAME>"},
"bdw": {Part3: "bdw", Scope: 'I', LanguageType: 'L', Name: "Baham"},
"bdx": {Part3: "bdx", Scope: 'I', LanguageType: 'L', Name: "Budong-Budong"},
"bdy": {Part3: "bdy", Scope: 'I', LanguageType: 'L', Name: "Bandjalang"},
"bdz": {Part3: "bdz", Scope: 'I', LanguageType: 'L', Name: "Badeshi"},
"bea": {Part3: "bea", Scope: 'I', LanguageType: 'L', Name: "Beaver"},
"beb": {Part3: "beb", Scope: 'I', LanguageType: 'L', Name: "Bebele"},
"bec": {Part3: "bec", Scope: 'I', LanguageType: 'L', Name: "Iceve-Maci"},
"bed": {Part3: "bed", Scope: 'I', LanguageType: 'L', Name: "Bedoanas"},
"bee": {Part3: "bee", Scope: 'I', LanguageType: 'L', Name: "Byangsi"},
"bef": {Part3: "bef", Scope: 'I', LanguageType: 'L', Name: "Benabena"},
"beg": {Part3: "beg", Scope: 'I', LanguageType: 'L', Name: "Belait"},
"beh": {Part3: "beh", Scope: 'I', LanguageType: 'L', Name: "Biali"},
"bei": {Part3: "bei", Scope: 'I', LanguageType: 'L', Name: "Bekati'"},
"bej": {Part3: "bej", Part2B: "bej", Part2T: "bej", Scope: 'I', LanguageType: 'L', Name: "Beja"},
"bek": {Part3: "bek", Scope: 'I', LanguageType: 'L', Name: "Bebeli"},
"bel": {Part3: "bel", Part2B: "bel", Part2T: "bel", Part1: "be", Scope: 'I', LanguageType: 'L', Name: "Belarusian"},
"bem": {Part3: "bem", Part2B: "bem", Part2T: "bem", Scope: 'I', LanguageType: 'L', Name: "Bemba (Zambia)"},
"ben": {Part3: "ben", Part2B: "ben", Part2T: "ben", Part1: "bn", Scope: 'I', LanguageType: 'L', Name: "Bengali"},
"beo": {Part3: "beo", Scope: 'I', LanguageType: 'L', Name: "Beami"},
"bep": {Part3: "bep", Scope: 'I', LanguageType: 'L', Name: "Besoa"},
"beq": {Part3: "beq", Scope: 'I', LanguageType: 'L', Name: "Beembe"},
"bes": {Part3: "bes", Scope: 'I', LanguageType: 'L', Name: "Besme"},
"bet": {Part3: "bet", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"beu": {Part3: "beu", Scope: 'I', LanguageType: 'L', Name: "Blagar"},
"bev": {Part3: "bev", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bew": {Part3: "bew", Scope: 'I', LanguageType: 'L', Name: "Betawi"},
"bex": {Part3: "bex", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bey": {Part3: "bey", Scope: 'I', LanguageType: 'L', Name: "Beli (Papua New Guinea)"},
"bez": {Part3: "bez", Scope: 'I', LanguageType: 'L', Name: "Bena (Tanzania)"},
"bfa": {Part3: "bfa", Scope: 'I', LanguageType: 'L', Name: "Bari"},
"bfb": {Part3: "bfb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bfc": {Part3: "bfc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bfd": {Part3: "bfd", Scope: 'I', LanguageType: 'L', Name: "Bafut"},
"bfe": {Part3: "bfe", Scope: 'I', LanguageType: 'L', Name: "Betaf"},
"bff": {Part3: "bff", Scope: 'I', LanguageType: 'L', Name: "Bofi"},
"bfg": {Part3: "bfg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bfh": {Part3: "bfh", Scope: 'I', LanguageType: 'L', Name: "Blafe"},
"bfi": {Part3: "bfi", Scope: 'I', LanguageType: 'L', Name: "British Sign Language"},
"bfj": {Part3: "bfj", Scope: 'I', LanguageType: 'L', Name: "Bafanji"},
"bfk": {Part3: "bfk", Scope: 'I', LanguageType: 'L', Name: "Ban Khor Sign Language"},
"bfl": {Part3: "bfl", Scope: 'I', LanguageType: 'L', Name: "Banda-Ndélé"},
"bfm": {Part3: "bfm", Scope: 'I', LanguageType: 'L', Name: "Mmen"},
"bfn": {Part3: "bfn", Scope: 'I', LanguageType: 'L', Name: "Bunak"},
"bfo": {Part3: "bfo", Scope: 'I', LanguageType: 'L', Name: "Malba Birifor"},
"bfp": {Part3: "bfp", Scope: 'I', LanguageType: 'L', Name: "Beba"},
"bfq": {Part3: "bfq", Scope: 'I', LanguageType: 'L', Name: "Badaga"},
"bfr": {Part3: "bfr", Scope: 'I', LanguageType: 'L', Name: "Bazigar"},
"bfs": {Part3: "bfs", Scope: 'I', LanguageType: 'L', Name: "Southern Bai"},
"bft": {Part3: "bft", Scope: 'I', LanguageType: 'L', Name: "Balti"},
"bfu": {Part3: "bfu", Scope: 'I', LanguageType: 'L', Name: "Gahri"},
"bfw": {Part3: "bfw", Scope: 'I', LanguageType: 'L', Name: "Bondo"},
"bfx": {Part3: "bfx", Scope: 'I', LanguageType: 'L', Name: "Bantayanon"},
"bfy": {Part3: "bfy", Scope: 'I', LanguageType: 'L', Name: "Bagheli"},
"bfz": {Part3: "bfz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bga": {Part3: "bga", Scope: 'I', LanguageType: 'L', Name: "Gwamhi-Wuri"},
"bgb": {Part3: "bgb", Scope: 'I', LanguageType: 'L', Name: "Bobongko"},
"bgc": {Part3: "bgc", Scope: 'I', LanguageType: 'L', Name: "Haryanvi"},
"bgd": {Part3: "bgd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bge": {Part3: "bge", Scope: 'I', LanguageType: 'L', Name: "Bauria"},
"bgf": {Part3: "bgf", Scope: 'I', LanguageType: 'L', Name: "Bangandu"},
"bgg": {Part3: "bgg", Scope: 'I', LanguageType: 'L', Name: "Bugun"},
"bgi": {Part3: "bgi", Scope: 'I', LanguageType: 'L', Name: "Giangan"},
"bgj": {Part3: "bgj", Scope: 'I', LanguageType: 'L', Name: "Bangolan"},
"bgk": {Part3: "bgk", Scope: 'I', LanguageType: 'L', Name: "Bit"},
"bgl": {Part3: "bgl", Scope: 'I', LanguageType: 'L', Name: "Bo (Laos)"},
"bgn": {Part3: "bgn", Scope: 'I', LanguageType: 'L', Name: "Western Balochi"},
"bgo": {Part3: "bgo", Scope: 'I', LanguageType: 'L', Name: "Baga Koga"},
"bgp": {Part3: "bgp", Scope: 'I', LanguageType: 'L', Name: "Eastern Balochi"},
"bgq": {Part3: "bgq", Scope: 'I', LanguageType: 'L', Name: "Bagri"},
"bgr": {Part3: "bgr", Scope: 'I', LanguageType: 'L', Name: "B<NAME>"},
"bgs": {Part3: "bgs", Scope: 'I', LanguageType: 'L', Name: "Tagabawa"},
"bgt": {Part3: "bgt", Scope: 'I', LanguageType: 'L', Name: "Bughotu"},
"bgu": {Part3: "bgu", Scope: 'I', LanguageType: 'L', Name: "Mbongno"},
"bgv": {Part3: "bgv", Scope: 'I', LanguageType: 'L', Name: "Warkay-Bipim"},
"bgw": {Part3: "bgw", Scope: 'I', LanguageType: 'L', Name: "Bhatri"},
"bgx": {Part3: "bgx", Scope: 'I', LanguageType: 'L', Name: "Balkan Gagauz Turkish"},
"bgy": {Part3: "bgy", Scope: 'I', LanguageType: 'L', Name: "Benggoi"},
"bgz": {Part3: "bgz", Scope: 'I', LanguageType: 'L', Name: "Banggai"},
"bha": {Part3: "bha", Scope: 'I', LanguageType: 'L', Name: "Bharia"},
"bhb": {Part3: "bhb", Scope: 'I', LanguageType: 'L', Name: "Bhili"},
"bhc": {Part3: "bhc", Scope: 'I', LanguageType: 'L', Name: "Biga"},
"bhd": {Part3: "bhd", Scope: 'I', LanguageType: 'L', Name: "Bhadrawahi"},
"bhe": {Part3: "bhe", Scope: 'I', LanguageType: 'L', Name: "Bhaya"},
"bhf": {Part3: "bhf", Scope: 'I', LanguageType: 'L', Name: "Odiai"},
"bhg": {Part3: "bhg", Scope: 'I', LanguageType: 'L', Name: "Binandere"},
"bhh": {Part3: "bhh", Scope: 'I', LanguageType: 'L', Name: "Bukharic"},
"bhi": {Part3: "bhi", Scope: 'I', LanguageType: 'L', Name: "Bhilali"},
"bhj": {Part3: "bhj", Scope: 'I', LanguageType: 'L', Name: "Bahing"},
"bhl": {Part3: "bhl", Scope: 'I', LanguageType: 'L', Name: "Bimin"},
"bhm": {Part3: "bhm", Scope: 'I', LanguageType: 'L', Name: "Bathari"},
"bhn": {Part3: "bhn", Scope: 'I', LanguageType: 'L', Name: "Bohtan Neo-Aramaic"},
"bho": {Part3: "bho", Part2B: "bho", Part2T: "bho", Scope: 'I', LanguageType: 'L', Name: "Bhojpuri"},
"bhp": {Part3: "bhp", Scope: 'I', LanguageType: 'L', Name: "Bima"},
"bhq": {Part3: "bhq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bhr": {Part3: "bhr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bhs": {Part3: "bhs", Scope: 'I', LanguageType: 'L', Name: "Buwal"},
"bht": {Part3: "bht", Scope: 'I', LanguageType: 'L', Name: "Bhattiyali"},
"bhu": {Part3: "bhu", Scope: 'I', LanguageType: 'L', Name: "Bhunjia"},
"bhv": {Part3: "bhv", Scope: 'I', LanguageType: 'L', Name: "Bahau"},
"bhw": {Part3: "bhw", Scope: 'I', LanguageType: 'L', Name: "Biak"},
"bhx": {Part3: "bhx", Scope: 'I', LanguageType: 'L', Name: "Bhalay"},
"bhy": {Part3: "bhy", Scope: 'I', LanguageType: 'L', Name: "Bhele"},
"bhz": {Part3: "bhz", Scope: 'I', LanguageType: 'L', Name: "Bada (Indonesia)"},
"bia": {Part3: "bia", Scope: 'I', LanguageType: 'L', Name: "Badimaya"},
"bib": {Part3: "bib", Scope: 'I', LanguageType: 'L', Name: "Bissa"},
"bid": {Part3: "bid", Scope: 'I', LanguageType: 'L', Name: "Bidiyo"},
"bie": {Part3: "bie", Scope: 'I', LanguageType: 'L', Name: "Bepour"},
"bif": {Part3: "bif", Scope: 'I', LanguageType: 'L', Name: "Biafada"},
"big": {Part3: "big", Scope: 'I', LanguageType: 'L', Name: "Biangai"},
"bik": {Part3: "bik", Part2B: "bik", Part2T: "bik", Scope: 'M', LanguageType: 'L', Name: "Bikol"},
"bil": {Part3: "bil", Scope: 'I', LanguageType: 'L', Name: "Bile"},
"bim": {Part3: "bim", Scope: 'I', LanguageType: 'L', Name: "Bimoba"},
"bin": {Part3: "bin", Part2B: "bin", Part2T: "bin", Scope: 'I', LanguageType: 'L', Name: "Bini"},
"bio": {Part3: "bio", Scope: 'I', LanguageType: 'L', Name: "Nai"},
"bip": {Part3: "bip", Scope: 'I', LanguageType: 'L', Name: "Bila"},
"biq": {Part3: "biq", Scope: 'I', LanguageType: 'L', Name: "Bipi"},
"bir": {Part3: "bir", Scope: 'I', LanguageType: 'L', Name: "Bisorio"},
"bis": {Part3: "bis", Part2B: "bis", Part2T: "bis", Part1: "bi", Scope: 'I', LanguageType: 'L', Name: "Bislama"},
"bit": {Part3: "bit", Scope: 'I', LanguageType: 'L', Name: "Berinomo"},
"biu": {Part3: "biu", Scope: 'I', LanguageType: 'L', Name: "Biete"},
"biv": {Part3: "biv", Scope: 'I', LanguageType: 'L', Name: "Southern Birifor"},
"biw": {Part3: "biw", Scope: 'I', LanguageType: 'L', Name: "Kol (Cameroon)"},
"bix": {Part3: "bix", Scope: 'I', LanguageType: 'L', Name: "Bijori"},
"biy": {Part3: "biy", Scope: 'I', LanguageType: 'L', Name: "Birhor"},
"biz": {Part3: "biz", Scope: 'I', LanguageType: 'L', Name: "Baloi"},
"bja": {Part3: "bja", Scope: 'I', LanguageType: 'L', Name: "Budza"},
"bjb": {Part3: "bjb", Scope: 'I', LanguageType: 'E', Name: "Banggarla"},
"bjc": {Part3: "bjc", Scope: 'I', LanguageType: 'L', Name: "Bariji"},
"bje": {Part3: "bje", Scope: 'I', LanguageType: 'L', Name: "Biao-<NAME>"},
"bjf": {Part3: "bjf", Scope: 'I', LanguageType: 'L', Name: "Barzani Jewish Neo-Aramaic"},
"bjg": {Part3: "bjg", Scope: 'I', LanguageType: 'L', Name: "Bidyogo"},
"bjh": {Part3: "bjh", Scope: 'I', LanguageType: 'L', Name: "Bahinemo"},
"bji": {Part3: "bji", Scope: 'I', LanguageType: 'L', Name: "Burji"},
"bjj": {Part3: "bjj", Scope: 'I', LanguageType: 'L', Name: "Kanauji"},
"bjk": {Part3: "bjk", Scope: 'I', LanguageType: 'L', Name: "Barok"},
"bjl": {Part3: "bjl", Scope: 'I', LanguageType: 'L', Name: "Bulu (Papua New Guinea)"},
"bjm": {Part3: "bjm", Scope: 'I', LanguageType: 'L', Name: "Bajelani"},
"bjn": {Part3: "bjn", Scope: 'I', LanguageType: 'L', Name: "Banjar"},
"bjo": {Part3: "bjo", Scope: 'I', LanguageType: 'L', Name: "Mid-Southern Banda"},
"bjp": {Part3: "bjp", Scope: 'I', LanguageType: 'L', Name: "Fanamaket"},
"bjr": {Part3: "bjr", Scope: 'I', LanguageType: 'L', Name: "Binumarien"},
"bjs": {Part3: "bjs", Scope: 'I', LanguageType: 'L', Name: "Bajan"},
"bjt": {Part3: "bjt", Scope: 'I', LanguageType: 'L', Name: "Balanta-Ganja"},
"bju": {Part3: "bju", Scope: 'I', LanguageType: 'L', Name: "Busuu"},
"bjv": {Part3: "bjv", Scope: 'I', LanguageType: 'L', Name: "Bedjond"},
"bjw": {Part3: "bjw", Scope: 'I', LanguageType: 'L', Name: "Bakwé"},
"bjx": {Part3: "bjx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bjy": {Part3: "bjy", Scope: 'I', LanguageType: 'E', Name: "Bayali"},
"bjz": {Part3: "bjz", Scope: 'I', LanguageType: 'L', Name: "Baruga"},
"bka": {Part3: "bka", Scope: 'I', LanguageType: 'L', Name: "Kyak"},
"bkc": {Part3: "bkc", Scope: 'I', LanguageType: 'L', Name: "Baka (Cameroon)"},
"bkd": {Part3: "bkd", Scope: 'I', LanguageType: 'L', Name: "Binukid"},
"bkf": {Part3: "bkf", Scope: 'I', LanguageType: 'L', Name: "Beeke"},
"bkg": {Part3: "bkg", Scope: 'I', LanguageType: 'L', Name: "Buraka"},
"bkh": {Part3: "bkh", Scope: 'I', LanguageType: 'L', Name: "Bakoko"},
"bki": {Part3: "bki", Scope: 'I', LanguageType: 'L', Name: "Baki"},
"bkj": {Part3: "bkj", Scope: 'I', LanguageType: 'L', Name: "Pande"},
"bkk": {Part3: "bkk", Scope: 'I', LanguageType: 'L', Name: "Brokskat"},
"bkl": {Part3: "bkl", Scope: 'I', LanguageType: 'L', Name: "Berik"},
"bkm": {Part3: "bkm", Scope: 'I', LanguageType: 'L', Name: "Kom (Cameroon)"},
"bkn": {Part3: "bkn", Scope: 'I', LanguageType: 'L', Name: "Bukitan"},
"bko": {Part3: "bko", Scope: 'I', LanguageType: 'L', Name: "Kwa'"},
"bkp": {Part3: "bkp", Scope: 'I', LanguageType: 'L', Name: "Boko (Democratic Republic of Congo)"},
"bkq": {Part3: "bkq", Scope: 'I', LanguageType: 'L', Name: "Bakairí"},
"bkr": {Part3: "bkr", Scope: 'I', LanguageType: 'L', Name: "Bakumpai"},
"bks": {Part3: "bks", Scope: 'I', LanguageType: 'L', Name: "Northern Sorsoganon"},
"bkt": {Part3: "bkt", Scope: 'I', LanguageType: 'L', Name: "Boloki"},
"bku": {Part3: "bku", Scope: 'I', LanguageType: 'L', Name: "Buhid"},
"bkv": {Part3: "bkv", Scope: 'I', LanguageType: 'L', Name: "Bekwarra"},
"bkw": {Part3: "bkw", Scope: 'I', LanguageType: 'L', Name: "Bekwel"},
"bkx": {Part3: "bkx", Scope: 'I', LanguageType: 'L', Name: "Baikeno"},
"bky": {Part3: "bky", Scope: 'I', LanguageType: 'L', Name: "Bokyi"},
"bkz": {Part3: "bkz", Scope: 'I', LanguageType: 'L', Name: "Bungku"},
"bla": {Part3: "bla", Part2B: "bla", Part2T: "bla", Scope: 'I', LanguageType: 'L', Name: "Siksika"},
"blb": {Part3: "blb", Scope: 'I', LanguageType: 'L', Name: "Bilua"},
"blc": {Part3: "blc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bld": {Part3: "bld", Scope: 'I', LanguageType: 'L', Name: "Bolango"},
"ble": {Part3: "ble", Scope: 'I', LanguageType: 'L', Name: "Balanta-Kentohe"},
"blf": {Part3: "blf", Scope: 'I', LanguageType: 'L', Name: "Buol"},
"blh": {Part3: "blh", Scope: 'I', LanguageType: 'L', Name: "Kuwaa"},
"bli": {Part3: "bli", Scope: 'I', LanguageType: 'L', Name: "Bolia"},
"blj": {Part3: "blj", Scope: 'I', LanguageType: 'L', Name: "Bolongan"},
"blk": {Part3: "blk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bll": {Part3: "bll", Scope: 'I', LanguageType: 'E', Name: "Biloxi"},
"blm": {Part3: "blm", Scope: 'I', LanguageType: 'L', Name: "Beli (South Sudan)"},
"bln": {Part3: "bln", Scope: 'I', LanguageType: 'L', Name: "Southern Catanduanes Bikol"},
"blo": {Part3: "blo", Scope: 'I', LanguageType: 'L', Name: "Anii"},
"blp": {Part3: "blp", Scope: 'I', LanguageType: 'L', Name: "Blablanga"},
"blq": {Part3: "blq", Scope: 'I', LanguageType: 'L', Name: "Baluan-Pam"},
"blr": {Part3: "blr", Scope: 'I', LanguageType: 'L', Name: "Blang"},
"bls": {Part3: "bls", Scope: 'I', LanguageType: 'L', Name: "Balaesang"},
"blt": {Part3: "blt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"blv": {Part3: "blv", Scope: 'I', LanguageType: 'L', Name: "Kibala"},
"blw": {Part3: "blw", Scope: 'I', LanguageType: 'L', Name: "Balangao"},
"blx": {Part3: "blx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bly": {Part3: "bly", Scope: 'I', LanguageType: 'L', Name: "Notre"},
"blz": {Part3: "blz", Scope: 'I', LanguageType: 'L', Name: "Balantak"},
"bma": {Part3: "bma", Scope: 'I', LanguageType: 'L', Name: "Lame"},
"bmb": {Part3: "bmb", Scope: 'I', LanguageType: 'L', Name: "Bembe"},
"bmc": {Part3: "bmc", Scope: 'I', LanguageType: 'L', Name: "Biem"},
"bmd": {Part3: "bmd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bme": {Part3: "bme", Scope: 'I', LanguageType: 'L', Name: "Limassa"},
"bmf": {Part3: "bmf", Scope: 'I', LanguageType: 'L', Name: "Bom-Kim"},
"bmg": {Part3: "bmg", Scope: 'I', LanguageType: 'L', Name: "Bamwe"},
"bmh": {Part3: "bmh", Scope: 'I', LanguageType: 'L', Name: "Kein"},
"bmi": {Part3: "bmi", Scope: 'I', LanguageType: 'L', Name: "Bagirmi"},
"bmj": {Part3: "bmj", Scope: 'I', LanguageType: 'L', Name: "Bote-Majhi"},
"bmk": {Part3: "bmk", Scope: 'I', LanguageType: 'L', Name: "Ghayavi"},
"bml": {Part3: "bml", Scope: 'I', LanguageType: 'L', Name: "Bomboli"},
"bmm": {Part3: "bmm", Scope: 'I', LanguageType: 'L', Name: "Northern Betsimisaraka Malagasy"},
"bmn": {Part3: "bmn", Scope: 'I', LanguageType: 'E', Name: "Bina (Papua New Guinea)"},
"bmo": {Part3: "bmo", Scope: 'I', LanguageType: 'L', Name: "Bambalang"},
"bmp": {Part3: "bmp", Scope: 'I', LanguageType: 'L', Name: "Bulgebi"},
"bmq": {Part3: "bmq", Scope: 'I', LanguageType: 'L', Name: "Bomu"},
"bmr": {Part3: "bmr", Scope: 'I', LanguageType: 'L', Name: "Muinane"},
"bms": {Part3: "bms", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bmt": {Part3: "bmt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bmu": {Part3: "bmu", Scope: 'I', LanguageType: 'L', Name: "Somba-Siawari"},
"bmv": {Part3: "bmv", Scope: 'I', LanguageType: 'L', Name: "Bum"},
"bmw": {Part3: "bmw", Scope: 'I', LanguageType: 'L', Name: "Bomwali"},
"bmx": {Part3: "bmx", Scope: 'I', LanguageType: 'L', Name: "Baimak"},
"bmz": {Part3: "bmz", Scope: 'I', LanguageType: 'L', Name: "Baramu"},
"bna": {Part3: "bna", Scope: 'I', LanguageType: 'L', Name: "Bonerate"},
"bnb": {Part3: "bnb", Scope: 'I', LanguageType: 'L', Name: "Bookan"},
"bnc": {Part3: "bnc", Scope: 'M', LanguageType: 'L', Name: "Bontok"},
"bnd": {Part3: "bnd", Scope: 'I', LanguageType: 'L', Name: "Banda (Indonesia)"},
"bne": {Part3: "bne", Scope: 'I', LanguageType: 'L', Name: "Bintauna"},
"bnf": {Part3: "bnf", Scope: 'I', LanguageType: 'L', Name: "Masiwang"},
"bng": {Part3: "bng", Scope: 'I', LanguageType: 'L', Name: "Benga"},
"bni": {Part3: "bni", Scope: 'I', LanguageType: 'L', Name: "Bangi"},
"bnj": {Part3: "bnj", Scope: 'I', LanguageType: 'L', Name: "Eastern Tawbuid"},
"bnk": {Part3: "bnk", Scope: 'I', LanguageType: 'L', Name: "Bierebo"},
"bnl": {Part3: "bnl", Scope: 'I', LanguageType: 'L', Name: "Boon"},
"bnm": {Part3: "bnm", Scope: 'I', LanguageType: 'L', Name: "Batanga"},
"bnn": {Part3: "bnn", Scope: 'I', LanguageType: 'L', Name: "Bunun"},
"bno": {Part3: "bno", Scope: 'I', LanguageType: 'L', Name: "Bantoanon"},
"bnp": {Part3: "bnp", Scope: 'I', LanguageType: 'L', Name: "Bola"},
"bnq": {Part3: "bnq", Scope: 'I', LanguageType: 'L', Name: "Bantik"},
"bnr": {Part3: "bnr", Scope: 'I', LanguageType: 'L', Name: "Butmas-Tur"},
"bns": {Part3: "bns", Scope: 'I', LanguageType: 'L', Name: "Bundeli"},
"bnu": {Part3: "bnu", Scope: 'I', LanguageType: 'L', Name: "Bentong"},
"bnv": {Part3: "bnv", Scope: 'I', LanguageType: 'L', Name: "Bonerif"},
"bnw": {Part3: "bnw", Scope: 'I', LanguageType: 'L', Name: "Bisis"},
"bnx": {Part3: "bnx", Scope: 'I', LanguageType: 'L', Name: "Bangubangu"},
"bny": {Part3: "bny", Scope: 'I', LanguageType: 'L', Name: "Bintulu"},
"bnz": {Part3: "bnz", Scope: 'I', LanguageType: 'L', Name: "Beezen"},
"boa": {Part3: "boa", Scope: 'I', LanguageType: 'L', Name: "Bora"},
"bob": {Part3: "bob", Scope: 'I', LanguageType: 'L', Name: "Aweer"},
"bod": {Part3: "bod", Part2B: "tib", Part2T: "bod", Part1: "bo", Scope: 'I', LanguageType: 'L', Name: "Tibetan"},
"boe": {Part3: "boe", Scope: 'I', LanguageType: 'L', Name: "Mundabli"},
"bof": {Part3: "bof", Scope: 'I', LanguageType: 'L', Name: "Bolon"},
"bog": {Part3: "bog", Scope: 'I', LanguageType: 'L', Name: "Bamako Sign Language"},
"boh": {Part3: "boh", Scope: 'I', LanguageType: 'L', Name: "Boma"},
"boi": {Part3: "boi", Scope: 'I', LanguageType: 'E', Name: "Barbareño"},
"boj": {Part3: "boj", Scope: 'I', LanguageType: 'L', Name: "Anjam"},
"bok": {Part3: "bok", Scope: 'I', LanguageType: 'L', Name: "Bonjo"},
"bol": {Part3: "bol", Scope: 'I', LanguageType: 'L', Name: "Bole"},
"bom": {Part3: "bom", Scope: 'I', LanguageType: 'L', Name: "Berom"},
"bon": {Part3: "bon", Scope: 'I', LanguageType: 'L', Name: "Bine"},
"boo": {Part3: "boo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bop": {Part3: "bop", Scope: 'I', LanguageType: 'L', Name: "Bonkiman"},
"boq": {Part3: "boq", Scope: 'I', LanguageType: 'L', Name: "Bogaya"},
"bor": {Part3: "bor", Scope: 'I', LanguageType: 'L', Name: "Borôro"},
"bos": {Part3: "bos", Part2B: "bos", Part2T: "bos", Part1: "bs", Scope: 'I', LanguageType: 'L', Name: "Bosnian"},
"bot": {Part3: "bot", Scope: 'I', LanguageType: 'L', Name: "Bongo"},
"bou": {Part3: "bou", Scope: 'I', LanguageType: 'L', Name: "Bondei"},
"bov": {Part3: "bov", Scope: 'I', LanguageType: 'L', Name: "Tuwuli"},
"bow": {Part3: "bow", Scope: 'I', LanguageType: 'E', Name: "Rema"},
"box": {Part3: "box", Scope: 'I', LanguageType: 'L', Name: "Buamu"},
"boy": {Part3: "boy", Scope: 'I', LanguageType: 'L', Name: "Bodo (Central African Republic)"},
"boz": {Part3: "boz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bpa": {Part3: "bpa", Scope: 'I', LanguageType: 'L', Name: "Daakaka"},
"bpd": {Part3: "bpd", Scope: 'I', LanguageType: 'L', Name: "Banda-Banda"},
"bpe": {Part3: "bpe", Scope: 'I', LanguageType: 'L', Name: "Bauni"},
"bpg": {Part3: "bpg", Scope: 'I', LanguageType: 'L', Name: "Bonggo"},
"bph": {Part3: "bph", Scope: 'I', LanguageType: 'L', Name: "Botlikh"},
"bpi": {Part3: "bpi", Scope: 'I', LanguageType: 'L', Name: "Bagupi"},
"bpj": {Part3: "bpj", Scope: 'I', LanguageType: 'L', Name: "Binji"},
"bpk": {Part3: "bpk", Scope: 'I', LanguageType: 'L', Name: "Orowe"},
"bpl": {Part3: "bpl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bpm": {Part3: "bpm", Scope: 'I', LanguageType: 'L', Name: "Biyom"},
"bpn": {Part3: "bpn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bpo": {Part3: "bpo", Scope: 'I', LanguageType: 'L', Name: "Anasi"},
"bpp": {Part3: "bpp", Scope: 'I', LanguageType: 'L', Name: "Kaure"},
"bpq": {Part3: "bpq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bpr": {Part3: "bpr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bps": {Part3: "bps", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bpt": {Part3: "bpt", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"bpu": {Part3: "bpu", Scope: 'I', LanguageType: 'L', Name: "Bongu"},
"bpv": {Part3: "bpv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bpw": {Part3: "bpw", Scope: 'I', LanguageType: 'L', Name: "Bo (Papua New Guinea)"},
"bpx": {Part3: "bpx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bpy": {Part3: "bpy", Scope: 'I', LanguageType: 'L', Name: "Bishnupriya"},
"bpz": {Part3: "bpz", Scope: 'I', LanguageType: 'L', Name: "Bilba"},
"bqa": {Part3: "bqa", Scope: 'I', LanguageType: 'L', Name: "Tchumbuli"},
"bqb": {Part3: "bqb", Scope: 'I', LanguageType: 'L', Name: "Bagusa"},
"bqc": {Part3: "bqc", Scope: 'I', LanguageType: 'L', Name: "Boko (Benin)"},
"bqd": {Part3: "bqd", Scope: 'I', LanguageType: 'L', Name: "Bung"},
"bqf": {Part3: "bqf", Scope: 'I', LanguageType: 'E', Name: "Baga Kaloum"},
"bqg": {Part3: "bqg", Scope: 'I', LanguageType: 'L', Name: "Bago-Kusuntu"},
"bqh": {Part3: "bqh", Scope: 'I', LanguageType: 'L', Name: "Baima"},
"bqi": {Part3: "bqi", Scope: 'I', LanguageType: 'L', Name: "Bakhtiari"},
"bqj": {Part3: "bqj", Scope: 'I', LanguageType: 'L', Name: "Bandial"},
"bqk": {Part3: "bqk", Scope: 'I', LanguageType: 'L', Name: "Banda-Mbrès"},
"bql": {Part3: "bql", Scope: 'I', LanguageType: 'L', Name: "Bilakura"},
"bqm": {Part3: "bqm", Scope: 'I', LanguageType: 'L', Name: "Wumboko"},
"bqn": {Part3: "bqn", Scope: 'I', LanguageType: 'L', Name: "Bulgarian Sign Language"},
"bqo": {Part3: "bqo", Scope: 'I', LanguageType: 'L', Name: "Balo"},
"bqp": {Part3: "bqp", Scope: 'I', LanguageType: 'L', Name: "Busa"},
"bqq": {Part3: "bqq", Scope: 'I', LanguageType: 'L', Name: "Biritai"},
"bqr": {Part3: "bqr", Scope: 'I', LanguageType: 'L', Name: "Burusu"},
"bqs": {Part3: "bqs", Scope: 'I', LanguageType: 'L', Name: "Bosngun"},
"bqt": {Part3: "bqt", Scope: 'I', LanguageType: 'L', Name: "Bamukumbit"},
"bqu": {Part3: "bqu", Scope: 'I', LanguageType: 'L', Name: "Boguru"},
"bqv": {Part3: "bqv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bqw": {Part3: "bqw", Scope: 'I', LanguageType: 'L', Name: "Buru (Nigeria)"},
"bqx": {Part3: "bqx", Scope: 'I', LanguageType: 'L', Name: "Baangi"},
"bqy": {Part3: "bqy", Scope: 'I', LanguageType: 'L', Name: "Bengkala Sign Language"},
"bqz": {Part3: "bqz", Scope: 'I', LanguageType: 'L', Name: "Bakaka"},
"bra": {Part3: "bra", Part2B: "bra", Part2T: "bra", Scope: 'I', LanguageType: 'L', Name: "Braj"},
"brb": {Part3: "brb", Scope: 'I', LanguageType: 'L', Name: "Lave"},
"brc": {Part3: "brc", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"brd": {Part3: "brd", Scope: 'I', LanguageType: 'L', Name: "Baraamu"},
"bre": {Part3: "bre", Part2B: "bre", Part2T: "bre", Part1: "br", Scope: 'I', LanguageType: 'L', Name: "Breton"},
"brf": {Part3: "brf", Scope: 'I', LanguageType: 'L', Name: "Bira"},
"brg": {Part3: "brg", Scope: 'I', LanguageType: 'L', Name: "Baure"},
"brh": {Part3: "brh", Scope: 'I', LanguageType: 'L', Name: "Brahui"},
"bri": {Part3: "bri", Scope: 'I', LanguageType: 'L', Name: "Mokpwe"},
"brj": {Part3: "brj", Scope: 'I', LanguageType: 'L', Name: "Bieria"},
"brk": {Part3: "brk", Scope: 'I', LanguageType: 'E', Name: "Birked"},
"brl": {Part3: "brl", Scope: 'I', LanguageType: 'L', Name: "Birwa"},
"brm": {Part3: "brm", Scope: 'I', LanguageType: 'L', Name: "Barambu"},
"brn": {Part3: "brn", Scope: 'I', LanguageType: 'L', Name: "Boruca"},
"bro": {Part3: "bro", Scope: 'I', LanguageType: 'L', Name: "Brokkat"},
"brp": {Part3: "brp", Scope: 'I', LanguageType: 'L', Name: "Barapasi"},
"brq": {Part3: "brq", Scope: 'I', LanguageType: 'L', Name: "Breri"},
"brr": {Part3: "brr", Scope: 'I', LanguageType: 'L', Name: "Birao"},
"brs": {Part3: "brs", Scope: 'I', LanguageType: 'L', Name: "Baras"},
"brt": {Part3: "brt", Scope: 'I', LanguageType: 'L', Name: "Bitare"},
"bru": {Part3: "bru", Scope: 'I', LanguageType: 'L', Name: "Eastern Bru"},
"brv": {Part3: "brv", Scope: 'I', LanguageType: 'L', Name: "Western Bru"},
"brw": {Part3: "brw", Scope: 'I', LanguageType: 'L', Name: "Bellari"},
"brx": {Part3: "brx", Scope: 'I', LanguageType: 'L', Name: "Bodo (India)"},
"bry": {Part3: "bry", Scope: 'I', LanguageType: 'L', Name: "Burui"},
"brz": {Part3: "brz", Scope: 'I', LanguageType: 'L', Name: "Bilbil"},
"bsa": {Part3: "bsa", Scope: 'I', LanguageType: 'L', Name: "Abinomn"},
"bsb": {Part3: "bsb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bsc": {Part3: "bsc", Scope: 'I', LanguageType: 'L', Name: "Bassari"},
"bse": {Part3: "bse", Scope: 'I', LanguageType: 'L', Name: "Wushi"},
"bsf": {Part3: "bsf", Scope: 'I', LanguageType: 'L', Name: "Bauchi"},
"bsg": {Part3: "bsg", Scope: 'I', LanguageType: 'L', Name: "Bashkardi"},
"bsh": {Part3: "bsh", Scope: 'I', LanguageType: 'L', Name: "Kati"},
"bsi": {Part3: "bsi", Scope: 'I', LanguageType: 'L', Name: "Bassossi"},
"bsj": {Part3: "bsj", Scope: 'I', LanguageType: 'L', Name: "Bangwinji"},
"bsk": {Part3: "bsk", Scope: 'I', LanguageType: 'L', Name: "Burushaski"},
"bsl": {Part3: "bsl", Scope: 'I', LanguageType: 'E', Name: "Basa-Gumna"},
"bsm": {Part3: "bsm", Scope: 'I', LanguageType: 'L', Name: "Busami"},
"bsn": {Part3: "bsn", Scope: 'I', LanguageType: 'L', Name: "Barasana-Eduria"},
"bso": {Part3: "bso", Scope: 'I', LanguageType: 'L', Name: "Buso"},
"bsp": {Part3: "bsp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bsq": {Part3: "bsq", Scope: 'I', LanguageType: 'L', Name: "Bassa"},
"bsr": {Part3: "bsr", Scope: 'I', LanguageType: 'L', Name: "Bassa-Kontagora"},
"bss": {Part3: "bss", Scope: 'I', LanguageType: 'L', Name: "Akoose"},
"bst": {Part3: "bst", Scope: 'I', LanguageType: 'L', Name: "Basketo"},
"bsu": {Part3: "bsu", Scope: 'I', LanguageType: 'L', Name: "Bahonsuai"},
"bsv": {Part3: "bsv", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"bsw": {Part3: "bsw", Scope: 'I', LanguageType: 'L', Name: "Baiso"},
"bsx": {Part3: "bsx", Scope: 'I', LanguageType: 'L', Name: "Yangkam"},
"bsy": {Part3: "bsy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bta": {Part3: "bta", Scope: 'I', LanguageType: 'L', Name: "Bata"},
"btc": {Part3: "btc", Scope: 'I', LanguageType: 'L', Name: "Bati (Cameroon)"},
"btd": {Part3: "btd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bte": {Part3: "bte", Scope: 'I', LanguageType: 'E', Name: "Gamo-Ningi"},
"btf": {Part3: "btf", Scope: 'I', LanguageType: 'L', Name: "Birgit"},
"btg": {Part3: "btg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bth": {Part3: "bth", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bti": {Part3: "bti", Scope: 'I', LanguageType: 'L', Name: "Burate"},
"btj": {Part3: "btj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"btm": {Part3: "btm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"btn": {Part3: "btn", Scope: 'I', LanguageType: 'L', Name: "Ratagnon"},
"bto": {Part3: "bto", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"btp": {Part3: "btp", Scope: 'I', LanguageType: 'L', Name: "Budibud"},
"btq": {Part3: "btq", Scope: 'I', LanguageType: 'L', Name: "Batek"},
"btr": {Part3: "btr", Scope: 'I', LanguageType: 'L', Name: "Baetora"},
"bts": {Part3: "bts", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"btt": {Part3: "btt", Scope: 'I', LanguageType: 'L', Name: "Bete-Bendi"},
"btu": {Part3: "btu", Scope: 'I', LanguageType: 'L', Name: "Batu"},
"btv": {Part3: "btv", Scope: 'I', LanguageType: 'L', Name: "Bateri"},
"btw": {Part3: "btw", Scope: 'I', LanguageType: 'L', Name: "Butuanon"},
"btx": {Part3: "btx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bty": {Part3: "bty", Scope: 'I', LanguageType: 'L', Name: "Bobot"},
"btz": {Part3: "btz", Scope: 'I', LanguageType: 'L', Name: "Batak Alas-Kluet"},
"bua": {Part3: "bua", Part2B: "bua", Part2T: "bua", Scope: 'M', LanguageType: 'L', Name: "Buriat"},
"bub": {Part3: "bub", Scope: 'I', LanguageType: 'L', Name: "Bua"},
"buc": {Part3: "buc", Scope: 'I', LanguageType: 'L', Name: "Bushi"},
"bud": {Part3: "bud", Scope: 'I', LanguageType: 'L', Name: "Ntcham"},
"bue": {Part3: "bue", Scope: 'I', LanguageType: 'E', Name: "Beothuk"},
"buf": {Part3: "buf", Scope: 'I', LanguageType: 'L', Name: "Bushoong"},
"bug": {Part3: "bug", Part2B: "bug", Part2T: "bug", Scope: 'I', LanguageType: 'L', Name: "Buginese"},
"buh": {Part3: "buh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bui": {Part3: "bui", Scope: 'I', LanguageType: 'L', Name: "Bongili"},
"buj": {Part3: "buj", Scope: 'I', LanguageType: 'L', Name: "Basa-Gurmana"},
"buk": {Part3: "buk", Scope: 'I', LanguageType: 'L', Name: "Bugawac"},
"bul": {Part3: "bul", Part2B: "bul", Part2T: "bul", Part1: "bg", Scope: 'I', LanguageType: 'L', Name: "Bulgarian"},
"bum": {Part3: "bum", Scope: 'I', LanguageType: 'L', Name: "Bulu (Cameroon)"},
"bun": {Part3: "bun", Scope: 'I', LanguageType: 'L', Name: "Sherbro"},
"buo": {Part3: "buo", Scope: 'I', LanguageType: 'L', Name: "Terei"},
"bup": {Part3: "bup", Scope: 'I', LanguageType: 'L', Name: "Busoa"},
"buq": {Part3: "buq", Scope: 'I', LanguageType: 'L', Name: "Brem"},
"bus": {Part3: "bus", Scope: 'I', LanguageType: 'L', Name: "Bokobaru"},
"but": {Part3: "but", Scope: 'I', LanguageType: 'L', Name: "Bungain"},
"buu": {Part3: "buu", Scope: 'I', LanguageType: 'L', Name: "Budu"},
"buv": {Part3: "buv", Scope: 'I', LanguageType: 'L', Name: "Bun"},
"buw": {Part3: "buw", Scope: 'I', LanguageType: 'L', Name: "Bubi"},
"bux": {Part3: "bux", Scope: 'I', LanguageType: 'L', Name: "Boghom"},
"buy": {Part3: "buy", Scope: 'I', LanguageType: 'L', Name: "Bullom So"},
"buz": {Part3: "buz", Scope: 'I', LanguageType: 'L', Name: "Bukwen"},
"bva": {Part3: "bva", Scope: 'I', LanguageType: 'L', Name: "Barein"},
"bvb": {Part3: "bvb", Scope: 'I', LanguageType: 'L', Name: "Bube"},
"bvc": {Part3: "bvc", Scope: 'I', LanguageType: 'L', Name: "Baelelea"},
"bvd": {Part3: "bvd", Scope: 'I', LanguageType: 'L', Name: "Baeggu"},
"bve": {Part3: "bve", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bvf": {Part3: "bvf", Scope: 'I', LanguageType: 'L', Name: "Boor"},
"bvg": {Part3: "bvg", Scope: 'I', LanguageType: 'L', Name: "Bonkeng"},
"bvh": {Part3: "bvh", Scope: 'I', LanguageType: 'L', Name: "Bure"},
"bvi": {Part3: "bvi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bvj": {Part3: "bvj", Scope: 'I', LanguageType: 'L', Name: "Baan"},
"bvk": {Part3: "bvk", Scope: 'I', LanguageType: 'L', Name: "Bukat"},
"bvl": {Part3: "bvl", Scope: 'I', LanguageType: 'L', Name: "Bolivian Sign Language"},
"bvm": {Part3: "bvm", Scope: 'I', LanguageType: 'L', Name: "Bamunka"},
"bvn": {Part3: "bvn", Scope: 'I', LanguageType: 'L', Name: "Buna"},
"bvo": {Part3: "bvo", Scope: 'I', LanguageType: 'L', Name: "Bolgo"},
"bvp": {Part3: "bvp", Scope: 'I', LanguageType: 'L', Name: "Bumang"},
"bvq": {Part3: "bvq", Scope: 'I', LanguageType: 'L', Name: "Birri"},
"bvr": {Part3: "bvr", Scope: 'I', LanguageType: 'L', Name: "Burarra"},
"bvt": {Part3: "bvt", Scope: 'I', LanguageType: 'L', Name: "Bati (Indonesia)"},
"bvu": {Part3: "bvu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bvv": {Part3: "bvv", Scope: 'I', LanguageType: 'E', Name: "Baniva"},
"bvw": {Part3: "bvw", Scope: 'I', LanguageType: 'L', Name: "Boga"},
"bvx": {Part3: "bvx", Scope: 'I', LanguageType: 'L', Name: "Dibole"},
"bvy": {Part3: "bvy", Scope: 'I', LanguageType: 'L', Name: "Baybayanon"},
"bvz": {Part3: "bvz", Scope: 'I', LanguageType: 'L', Name: "Bauzi"},
"bwa": {Part3: "bwa", Scope: 'I', LanguageType: 'L', Name: "Bwatoo"},
"bwb": {Part3: "bwb", Scope: 'I', LanguageType: 'L', Name: "Namosi-Naitasiri-Serua"},
"bwc": {Part3: "bwc", Scope: 'I', LanguageType: 'L', Name: "Bwile"},
"bwd": {Part3: "bwd", Scope: 'I', LanguageType: 'L', Name: "Bwaidoka"},
"bwe": {Part3: "bwe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bwf": {Part3: "bwf", Scope: 'I', LanguageType: 'L', Name: "Boselewa"},
"bwg": {Part3: "bwg", Scope: 'I', LanguageType: 'L', Name: "Barwe"},
"bwh": {Part3: "bwh", Scope: 'I', LanguageType: 'L', Name: "Bishuo"},
"bwi": {Part3: "bwi", Scope: 'I', LanguageType: 'L', Name: "Baniwa"},
"bwj": {Part3: "bwj", Scope: 'I', LanguageType: 'L', Name: "Láá L<NAME>"},
"bwk": {Part3: "bwk", Scope: 'I', LanguageType: 'L', Name: "Bauwaki"},
"bwl": {Part3: "bwl", Scope: 'I', LanguageType: 'L', Name: "Bwela"},
"bwm": {Part3: "bwm", Scope: 'I', LanguageType: 'L', Name: "Biwat"},
"bwn": {Part3: "bwn", Scope: 'I', LanguageType: 'L', Name: "Wunai Bunu"},
"bwo": {Part3: "bwo", Scope: 'I', LanguageType: 'L', Name: "Boro (Ethiopia)"},
"bwp": {Part3: "bwp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bwq": {Part3: "bwq", Scope: 'I', LanguageType: 'L', Name: "Southern Bobo Madaré"},
"bwr": {Part3: "bwr", Scope: 'I', LanguageType: 'L', Name: "Bura-Pabir"},
"bws": {Part3: "bws", Scope: 'I', LanguageType: 'L', Name: "Bomboma"},
"bwt": {Part3: "bwt", Scope: 'I', LanguageType: 'L', Name: "Bafaw-Balong"},
"bwu": {Part3: "bwu", Scope: 'I', LanguageType: 'L', Name: "Buli (Ghana)"},
"bww": {Part3: "bww", Scope: 'I', LanguageType: 'L', Name: "Bwa"},
"bwx": {Part3: "bwx", Scope: 'I', LanguageType: 'L', Name: "Bu-Nao Bunu"},
"bwy": {Part3: "bwy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bwz": {Part3: "bwz", Scope: 'I', LanguageType: 'L', Name: "Bwisi"},
"bxa": {Part3: "bxa", Scope: 'I', LanguageType: 'L', Name: "Tairaha"},
"bxb": {Part3: "bxb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bxc": {Part3: "bxc", Scope: 'I', LanguageType: 'L', Name: "Molengue"},
"bxd": {Part3: "bxd", Scope: 'I', LanguageType: 'L', Name: "Pela"},
"bxe": {Part3: "bxe", Scope: 'I', LanguageType: 'L', Name: "Birale"},
"bxf": {Part3: "bxf", Scope: 'I', LanguageType: 'L', Name: "Bilur"},
"bxg": {Part3: "bxg", Scope: 'I', LanguageType: 'L', Name: "Bangala"},
"bxh": {Part3: "bxh", Scope: 'I', LanguageType: 'L', Name: "Buhutu"},
"bxi": {Part3: "bxi", Scope: 'I', LanguageType: 'E', Name: "Pirlatapa"},
"bxj": {Part3: "bxj", Scope: 'I', LanguageType: 'L', Name: "Bayungu"},
"bxk": {Part3: "bxk", Scope: 'I', LanguageType: 'L', Name: "Bukusu"},
"bxl": {Part3: "bxl", Scope: 'I', LanguageType: 'L', Name: "Jalkunan"},
"bxm": {Part3: "bxm", Scope: 'I', LanguageType: 'L', Name: "Mongolia Buriat"},
"bxn": {Part3: "bxn", Scope: 'I', LanguageType: 'L', Name: "Burduna"},
"bxo": {Part3: "bxo", Scope: 'I', LanguageType: 'L', Name: "Barikanchi"},
"bxp": {Part3: "bxp", Scope: 'I', LanguageType: 'L', Name: "Bebil"},
"bxq": {Part3: "bxq", Scope: 'I', LanguageType: 'L', Name: "Beele"},
"bxr": {Part3: "bxr", Scope: 'I', LanguageType: 'L', Name: "Russia Buriat"},
"bxs": {Part3: "bxs", Scope: 'I', LanguageType: 'L', Name: "Busam"},
"bxu": {Part3: "bxu", Scope: 'I', LanguageType: 'L', Name: "China Buriat"},
"bxv": {Part3: "bxv", Scope: 'I', LanguageType: 'L', Name: "Berakou"},
"bxw": {Part3: "bxw", Scope: 'I', LanguageType: 'L', Name: "Bankagooma"},
"bxz": {Part3: "bxz", Scope: 'I', LanguageType: 'L', Name: "Binahari"},
"bya": {Part3: "bya", Scope: 'I', LanguageType: 'L', Name: "Batak"},
"byb": {Part3: "byb", Scope: 'I', LanguageType: 'L', Name: "Bikya"},
"byc": {Part3: "byc", Scope: 'I', LanguageType: 'L', Name: "Ubaghara"},
"byd": {Part3: "byd", Scope: 'I', LanguageType: 'L', Name: "Benyadu'"},
"bye": {Part3: "bye", Scope: 'I', LanguageType: 'L', Name: "Pouye"},
"byf": {Part3: "byf", Scope: 'I', LanguageType: 'L', Name: "Bete"},
"byg": {Part3: "byg", Scope: 'I', LanguageType: 'E', Name: "Baygo"},
"byh": {Part3: "byh", Scope: 'I', LanguageType: 'L', Name: "Bhujel"},
"byi": {Part3: "byi", Scope: 'I', LanguageType: 'L', Name: "Buyu"},
"byj": {Part3: "byj", Scope: 'I', LanguageType: 'L', Name: "Bina (Nigeria)"},
"byk": {Part3: "byk", Scope: 'I', LanguageType: 'L', Name: "Biao"},
"byl": {Part3: "byl", Scope: 'I', LanguageType: 'L', Name: "Bayono"},
"bym": {Part3: "bym", Scope: 'I', LanguageType: 'L', Name: "Bidjara"},
"byn": {Part3: "byn", Part2B: "byn", Part2T: "byn", Scope: 'I', LanguageType: 'L', Name: "Bilin"},
"byo": {Part3: "byo", Scope: 'I', LanguageType: 'L', Name: "Biyo"},
"byp": {Part3: "byp", Scope: 'I', LanguageType: 'L', Name: "Bumaji"},
"byq": {Part3: "byq", Scope: 'I', LanguageType: 'E', Name: "Basay"},
"byr": {Part3: "byr", Scope: 'I', LanguageType: 'L', Name: "Baruya"},
"bys": {Part3: "bys", Scope: 'I', LanguageType: 'L', Name: "Burak"},
"byt": {Part3: "byt", Scope: 'I', LanguageType: 'E', Name: "Berti"},
"byv": {Part3: "byv", Scope: 'I', LanguageType: 'L', Name: "Medumba"},
"byw": {Part3: "byw", Scope: 'I', LanguageType: 'L', Name: "Belhariya"},
"byx": {Part3: "byx", Scope: 'I', LanguageType: 'L', Name: "Qaqet"},
"byz": {Part3: "byz", Scope: 'I', LanguageType: 'L', Name: "Banaro"},
"bza": {Part3: "bza", Scope: 'I', LanguageType: 'L', Name: "Bandi"},
"bzb": {Part3: "bzb", Scope: 'I', LanguageType: 'L', Name: "Andio"},
"bzc": {Part3: "bzc", Scope: 'I', LanguageType: 'L', Name: "Southern Betsimisaraka Malagasy"},
"bzd": {Part3: "bzd", Scope: 'I', LanguageType: 'L', Name: "Bribri"},
"bze": {Part3: "bze", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bzf": {Part3: "bzf", Scope: 'I', LanguageType: 'L', Name: "Boikin"},
"bzg": {Part3: "bzg", Scope: 'I', LanguageType: 'L', Name: "Babuza"},
"bzh": {Part3: "bzh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"bzi": {Part3: "bzi", Scope: 'I', LanguageType: 'L', Name: "Bisu"},
"bzj": {Part3: "bzj", Scope: 'I', LanguageType: 'L', Name: "Belize Kriol English"},
"bzk": {Part3: "bzk", Scope: 'I', LanguageType: 'L', Name: "Nicaragua Creole English"},
"bzl": {Part3: "bzl", Scope: 'I', LanguageType: 'L', Name: "Boano (Sulawesi)"},
"bzm": {Part3: "bzm", Scope: 'I', LanguageType: 'L', Name: "Bolondo"},
"bzn": {Part3: "bzn", Scope: 'I', LanguageType: 'L', Name: "Boano (Maluku)"},
"bzo": {Part3: "bzo", Scope: 'I', LanguageType: 'L', Name: "Bozaba"},
"bzp": {Part3: "bzp", Scope: 'I', LanguageType: 'L', Name: "Kemberano"},
"bzq": {Part3: "bzq", Scope: 'I', LanguageType: 'L', Name: "Buli (Indonesia)"},
"bzr": {Part3: "bzr", Scope: 'I', LanguageType: 'E', Name: "Biri"},
"bzs": {Part3: "bzs", Scope: 'I', LanguageType: 'L', Name: "Brazilian Sign Language"},
"bzt": {Part3: "bzt", Scope: 'I', LanguageType: 'C', Name: "Brithenig"},
"bzu": {Part3: "bzu", Scope: 'I', LanguageType: 'L', Name: "Burmeso"},
"bzv": {Part3: "bzv", Scope: 'I', LanguageType: 'L', Name: "Naami"},
"bzw": {Part3: "bzw", Scope: 'I', LanguageType: 'L', Name: "Basa (Nigeria)"},
"bzx": {Part3: "bzx", Scope: 'I', LanguageType: 'L', Name: "Kɛlɛngaxo Bozo"},
"bzy": {Part3: "bzy", Scope: 'I', LanguageType: 'L', Name: "Obanliku"},
"bzz": {Part3: "bzz", Scope: 'I', LanguageType: 'L', Name: "Evant"},
"caa": {Part3: "caa", Scope: 'I', LanguageType: 'L', Name: "Chortí"},
"cab": {Part3: "cab", Scope: 'I', LanguageType: 'L', Name: "Garifuna"},
"cac": {Part3: "cac", Scope: 'I', LanguageType: 'L', Name: "Chuj"},
"cad": {Part3: "cad", Part2B: "cad", Part2T: "cad", Scope: 'I', LanguageType: 'L', Name: "Caddo"},
"cae": {Part3: "cae", Scope: 'I', LanguageType: 'L', Name: "Lehar"},
"caf": {Part3: "caf", Scope: 'I', LanguageType: 'L', Name: "Southern Carrier"},
"cag": {Part3: "cag", Scope: 'I', LanguageType: 'L', Name: "Nivaclé"},
"cah": {Part3: "cah", Scope: 'I', LanguageType: 'L', Name: "Cahuarano"},
"caj": {Part3: "caj", Scope: 'I', LanguageType: 'E', Name: "Chané"},
"cak": {Part3: "cak", Scope: 'I', LanguageType: 'L', Name: "Kaqchikel"},
"cal": {Part3: "cal", Scope: 'I', LanguageType: 'L', Name: "Carolinian"},
"cam": {Part3: "cam", Scope: 'I', LanguageType: 'L', Name: "Cemuhî"},
"can": {Part3: "can", Scope: 'I', LanguageType: 'L', Name: "Chambri"},
"cao": {Part3: "cao", Scope: 'I', LanguageType: 'L', Name: "Chácobo"},
"cap": {Part3: "cap", Scope: 'I', LanguageType: 'L', Name: "Chipaya"},
"caq": {Part3: "caq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"car": {Part3: "car", Part2B: "car", Part2T: "car", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cas": {Part3: "cas", Scope: 'I', LanguageType: 'L', Name: "Tsimané"},
"cat": {Part3: "cat", Part2B: "cat", Part2T: "cat", Part1: "ca", Scope: 'I', LanguageType: 'L', Name: "Catalan"},
"cav": {Part3: "cav", Scope: 'I', LanguageType: 'L', Name: "Cavineña"},
"caw": {Part3: "caw", Scope: 'I', LanguageType: 'L', Name: "Callawalla"},
"cax": {Part3: "cax", Scope: 'I', LanguageType: 'L', Name: "Chiquitano"},
"cay": {Part3: "cay", Scope: 'I', LanguageType: 'L', Name: "Cayuga"},
"caz": {Part3: "caz", Scope: 'I', LanguageType: 'E', Name: "Canichana"},
"cbb": {Part3: "cbb", Scope: 'I', LanguageType: 'L', Name: "Cabiyarí"},
"cbc": {Part3: "cbc", Scope: 'I', LanguageType: 'L', Name: "Carapana"},
"cbd": {Part3: "cbd", Scope: 'I', LanguageType: 'L', Name: "Carijona"},
"cbg": {Part3: "cbg", Scope: 'I', LanguageType: 'L', Name: "Chimila"},
"cbi": {Part3: "cbi", Scope: 'I', LanguageType: 'L', Name: "Chachi"},
"cbj": {Part3: "cbj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cbk": {Part3: "cbk", Scope: 'I', LanguageType: 'L', Name: "Chavacano"},
"cbl": {Part3: "cbl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cbn": {Part3: "cbn", Scope: 'I', LanguageType: 'L', Name: "Nyahkur"},
"cbo": {Part3: "cbo", Scope: 'I', LanguageType: 'L', Name: "Izora"},
"cbq": {Part3: "cbq", Scope: 'I', LanguageType: 'L', Name: "Tsucuba"},
"cbr": {Part3: "cbr", Scope: 'I', LanguageType: 'L', Name: "Cashibo-Cacataibo"},
"cbs": {Part3: "cbs", Scope: 'I', LanguageType: 'L', Name: "Cashinahua"},
"cbt": {Part3: "cbt", Scope: 'I', LanguageType: 'L', Name: "Chayahuita"},
"cbu": {Part3: "cbu", Scope: 'I', LanguageType: 'L', Name: "Candoshi-Shapra"},
"cbv": {Part3: "cbv", Scope: 'I', LanguageType: 'L', Name: "Cacua"},
"cbw": {Part3: "cbw", Scope: 'I', LanguageType: 'L', Name: "Kinabalian"},
"cby": {Part3: "cby", Scope: 'I', LanguageType: 'L', Name: "Carabayo"},
"ccc": {Part3: "ccc", Scope: 'I', LanguageType: 'L', Name: "Chamicuro"},
"ccd": {Part3: "ccd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cce": {Part3: "cce", Scope: 'I', LanguageType: 'L', Name: "Chopi"},
"ccg": {Part3: "ccg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cch": {Part3: "cch", Scope: 'I', LanguageType: 'L', Name: "Atsam"},
"ccj": {Part3: "ccj", Scope: 'I', LanguageType: 'L', Name: "Kasanga"},
"ccl": {Part3: "ccl", Scope: 'I', LanguageType: 'L', Name: "Cutchi-Swahili"},
"ccm": {Part3: "ccm", Scope: 'I', LanguageType: 'L', Name: "<NAME> Malay"},
"cco": {Part3: "cco", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ccp": {Part3: "ccp", Scope: 'I', LanguageType: 'L', Name: "Chakma"},
"ccr": {Part3: "ccr", Scope: 'I', LanguageType: 'E', Name: "Cacaopera"},
"cda": {Part3: "cda", Scope: 'I', LanguageType: 'L', Name: "Choni"},
"cde": {Part3: "cde", Scope: 'I', LanguageType: 'L', Name: "Chenchu"},
"cdf": {Part3: "cdf", Scope: 'I', LanguageType: 'L', Name: "Chiru"},
"cdh": {Part3: "cdh", Scope: 'I', LanguageType: 'L', Name: "Chambeali"},
"cdi": {Part3: "cdi", Scope: 'I', LanguageType: 'L', Name: "Chodri"},
"cdj": {Part3: "cdj", Scope: 'I', LanguageType: 'L', Name: "Churahi"},
"cdm": {Part3: "cdm", Scope: 'I', LanguageType: 'L', Name: "Chepang"},
"cdn": {Part3: "cdn", Scope: 'I', LanguageType: 'L', Name: "Chaudangsi"},
"cdo": {Part3: "cdo", Scope: 'I', LanguageType: 'L', Name: "Min Dong Chinese"},
"cdr": {Part3: "cdr", Scope: 'I', LanguageType: 'L', Name: "Cinda-Regi-Tiyal"},
"cds": {Part3: "cds", Scope: 'I', LanguageType: 'L', Name: "Chadian Sign Language"},
"cdy": {Part3: "cdy", Scope: 'I', LanguageType: 'L', Name: "Chadong"},
"cdz": {Part3: "cdz", Scope: 'I', LanguageType: 'L', Name: "Koda"},
"cea": {Part3: "cea", Scope: 'I', LanguageType: 'E', Name: "Lower Chehalis"},
"ceb": {Part3: "ceb", Part2B: "ceb", Part2T: "ceb", Scope: 'I', LanguageType: 'L', Name: "Cebuano"},
"ceg": {Part3: "ceg", Scope: 'I', LanguageType: 'L', Name: "Chamacoco"},
"cek": {Part3: "cek", Scope: 'I', LanguageType: 'L', Name: "Eastern Khumi Chin"},
"cen": {Part3: "cen", Scope: 'I', LanguageType: 'L', Name: "Cen"},
"ces": {Part3: "ces", Part2B: "cze", Part2T: "ces", Part1: "cs", Scope: 'I', LanguageType: 'L', Name: "Czech"},
"cet": {Part3: "cet", Scope: 'I', LanguageType: 'L', Name: "Centúúm"},
"cey": {Part3: "cey", Scope: 'I', LanguageType: 'L', Name: "Ekai Chin"},
"cfa": {Part3: "cfa", Scope: 'I', LanguageType: 'L', Name: "Dijim-Bwilim"},
"cfd": {Part3: "cfd", Scope: 'I', LanguageType: 'L', Name: "Cara"},
"cfg": {Part3: "cfg", Scope: 'I', LanguageType: 'L', Name: "Como Karim"},
"cfm": {Part3: "cfm", Scope: 'I', LanguageType: 'L', Name: "Falam Chin"},
"cga": {Part3: "cga", Scope: 'I', LanguageType: 'L', Name: "Changriwa"},
"cgc": {Part3: "cgc", Scope: 'I', LanguageType: 'L', Name: "Kagayanen"},
"cgg": {Part3: "cgg", Scope: 'I', LanguageType: 'L', Name: "Chiga"},
"cgk": {Part3: "cgk", Scope: 'I', LanguageType: 'L', Name: "Chocangacakha"},
"cha": {Part3: "cha", Part2B: "cha", Part2T: "cha", Part1: "ch", Scope: 'I', LanguageType: 'L', Name: "Chamorro"},
"chb": {Part3: "chb", Part2B: "chb", Part2T: "chb", Scope: 'I', LanguageType: 'E', Name: "Chibcha"},
"chc": {Part3: "chc", Scope: 'I', LanguageType: 'E', Name: "Catawba"},
"chd": {Part3: "chd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"che": {Part3: "che", Part2B: "che", Part2T: "che", Part1: "ce", Scope: 'I', LanguageType: 'L', Name: "Chechen"},
"chf": {Part3: "chf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"chg": {Part3: "chg", Part2B: "chg", Part2T: "chg", Scope: 'I', LanguageType: 'E', Name: "Chagatai"},
"chh": {Part3: "chh", Scope: 'I', LanguageType: 'E', Name: "Chinook"},
"chj": {Part3: "chj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"chk": {Part3: "chk", Part2B: "chk", Part2T: "chk", Scope: 'I', LanguageType: 'L', Name: "Chuukese"},
"chl": {Part3: "chl", Scope: 'I', LanguageType: 'L', Name: "Cahuilla"},
"chm": {Part3: "chm", Part2B: "chm", Part2T: "chm", Scope: 'M', LanguageType: 'L', Name: "Mari (Russia)"},
"chn": {Part3: "chn", Part2B: "chn", Part2T: "chn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cho": {Part3: "cho", Part2B: "cho", Part2T: "cho", Scope: 'I', LanguageType: 'L', Name: "Choctaw"},
"chp": {Part3: "chp", Part2B: "chp", Part2T: "chp", Scope: 'I', LanguageType: 'L', Name: "Chipewyan"},
"chq": {Part3: "chq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"chr": {Part3: "chr", Part2B: "chr", Part2T: "chr", Scope: 'I', LanguageType: 'L', Name: "Cherokee"},
"cht": {Part3: "cht", Scope: 'I', LanguageType: 'E', Name: "Cholón"},
"chu": {Part3: "chu", Part2B: "chu", Part2T: "chu", Part1: "cu", Scope: 'I', LanguageType: 'A', Name: "<NAME>"},
"chv": {Part3: "chv", Part2B: "chv", Part2T: "chv", Part1: "cv", Scope: 'I', LanguageType: 'L', Name: "Chuvash"},
"chw": {Part3: "chw", Scope: 'I', LanguageType: 'L', Name: "Chuwabu"},
"chx": {Part3: "chx", Scope: 'I', LanguageType: 'L', Name: "Chantyal"},
"chy": {Part3: "chy", Part2B: "chy", Part2T: "chy", Scope: 'I', LanguageType: 'L', Name: "Cheyenne"},
"chz": {Part3: "chz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cia": {Part3: "cia", Scope: 'I', LanguageType: 'L', Name: "Cia-Cia"},
"cib": {Part3: "cib", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cic": {Part3: "cic", Scope: 'I', LanguageType: 'L', Name: "Chickasaw"},
"cid": {Part3: "cid", Scope: 'I', LanguageType: 'E', Name: "Chimariko"},
"cie": {Part3: "cie", Scope: 'I', LanguageType: 'L', Name: "Cineni"},
"cih": {Part3: "cih", Scope: 'I', LanguageType: 'L', Name: "Chinali"},
"cik": {Part3: "cik", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cim": {Part3: "cim", Scope: 'I', LanguageType: 'L', Name: "Cimbrian"},
"cin": {Part3: "cin", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cip": {Part3: "cip", Scope: 'I', LanguageType: 'L', Name: "Chiapanec"},
"cir": {Part3: "cir", Scope: 'I', LanguageType: 'L', Name: "Tiri"},
"ciw": {Part3: "ciw", Scope: 'I', LanguageType: 'L', Name: "Chippewa"},
"ciy": {Part3: "ciy", Scope: 'I', LanguageType: 'L', Name: "Chaima"},
"cja": {Part3: "cja", Scope: 'I', LanguageType: 'L', Name: "Western Cham"},
"cje": {Part3: "cje", Scope: 'I', LanguageType: 'L', Name: "Chru"},
"cjh": {Part3: "cjh", Scope: 'I', LanguageType: 'E', Name: "Upper Chehalis"},
"cji": {Part3: "cji", Scope: 'I', LanguageType: 'L', Name: "Chamalal"},
"cjk": {Part3: "cjk", Scope: 'I', LanguageType: 'L', Name: "Chokwe"},
"cjm": {Part3: "cjm", Scope: 'I', LanguageType: 'L', Name: "Eastern Cham"},
"cjn": {Part3: "cjn", Scope: 'I', LanguageType: 'L', Name: "Chenapian"},
"cjo": {Part3: "cjo", Scope: 'I', LanguageType: 'L', Name: "Ashéninka Pajonal"},
"cjp": {Part3: "cjp", Scope: 'I', LanguageType: 'L', Name: "Cabécar"},
"cjs": {Part3: "cjs", Scope: 'I', LanguageType: 'L', Name: "Shor"},
"cjv": {Part3: "cjv", Scope: 'I', LanguageType: 'L', Name: "Chuave"},
"cjy": {Part3: "cjy", Scope: 'I', LanguageType: 'L', Name: "Jinyu Chinese"},
"ckb": {Part3: "ckb", Scope: 'I', LanguageType: 'L', Name: "Central Kurdish"},
"ckh": {Part3: "ckh", Scope: 'I', LanguageType: 'L', Name: "Chak"},
"ckl": {Part3: "ckl", Scope: 'I', LanguageType: 'L', Name: "Cibak"},
"ckm": {Part3: "ckm", Scope: 'I', LanguageType: 'L', Name: "Chakavian"},
"ckn": {Part3: "ckn", Scope: 'I', LanguageType: 'L', Name: "Kaang Chin"},
"cko": {Part3: "cko", Scope: 'I', LanguageType: 'L', Name: "Anufo"},
"ckq": {Part3: "ckq", Scope: 'I', LanguageType: 'L', Name: "Kajakse"},
"ckr": {Part3: "ckr", Scope: 'I', LanguageType: 'L', Name: "Kairak"},
"cks": {Part3: "cks", Scope: 'I', LanguageType: 'L', Name: "Tayo"},
"ckt": {Part3: "ckt", Scope: 'I', LanguageType: 'L', Name: "Chukot"},
"cku": {Part3: "cku", Scope: 'I', LanguageType: 'L', Name: "Koasati"},
"ckv": {Part3: "ckv", Scope: 'I', LanguageType: 'L', Name: "Kavalan"},
"ckx": {Part3: "ckx", Scope: 'I', LanguageType: 'L', Name: "Caka"},
"cky": {Part3: "cky", Scope: 'I', LanguageType: 'L', Name: "Cakfem-Mushere"},
"ckz": {Part3: "ckz", Scope: 'I', LanguageType: 'L', Name: "Cakchiquel-Quiché Mixed Language"},
"cla": {Part3: "cla", Scope: 'I', LanguageType: 'L', Name: "Ron"},
"clc": {Part3: "clc", Scope: 'I', LanguageType: 'L', Name: "Chilcotin"},
"cld": {Part3: "cld", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cle": {Part3: "cle", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"clh": {Part3: "clh", Scope: 'I', LanguageType: 'L', Name: "Chilisso"},
"cli": {Part3: "cli", Scope: 'I', LanguageType: 'L', Name: "Chakali"},
"clj": {Part3: "clj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"clk": {Part3: "clk", Scope: 'I', LanguageType: 'L', Name: "Idu-Mishmi"},
"cll": {Part3: "cll", Scope: 'I', LanguageType: 'L', Name: "Chala"},
"clm": {Part3: "clm", Scope: 'I', LanguageType: 'L', Name: "Clallam"},
"clo": {Part3: "clo", Scope: 'I', LanguageType: 'L', Name: "Lowland Oaxaca Chontal"},
"clt": {Part3: "clt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"clu": {Part3: "clu", Scope: 'I', LanguageType: 'L', Name: "Caluyanun"},
"clw": {Part3: "clw", Scope: 'I', LanguageType: 'L', Name: "Chulym"},
"cly": {Part3: "cly", Scope: 'I', LanguageType: 'L', Name: "Eastern Highland Chatino"},
"cma": {Part3: "cma", Scope: 'I', LanguageType: 'L', Name: "Maa"},
"cme": {Part3: "cme", Scope: 'I', LanguageType: 'L', Name: "Cerma"},
"cmg": {Part3: "cmg", Scope: 'I', LanguageType: 'H', Name: "Classical Mongolian"},
"cmi": {Part3: "cmi", Scope: 'I', LanguageType: 'L', Name: "Emberá-Chamí"},
"cml": {Part3: "cml", Scope: 'I', LanguageType: 'L', Name: "Campalagian"},
"cmm": {Part3: "cmm", Scope: 'I', LanguageType: 'E', Name: "Michigamea"},
"cmn": {Part3: "cmn", Scope: 'I', LanguageType: 'L', Name: "Mandarin Chinese"},
"cmo": {Part3: "cmo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cmr": {Part3: "cmr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cms": {Part3: "cms", Scope: 'I', LanguageType: 'A', Name: "Messapic"},
"cmt": {Part3: "cmt", Scope: 'I', LanguageType: 'L', Name: "Camtho"},
"cna": {Part3: "cna", Scope: 'I', LanguageType: 'L', Name: "Changthang"},
"cnb": {Part3: "cnb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cnc": {Part3: "cnc", Scope: 'I', LanguageType: 'L', Name: "Côông"},
"cng": {Part3: "cng", Scope: 'I', LanguageType: 'L', Name: "Northern Qiang"},
"cnh": {Part3: "cnh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cni": {Part3: "cni", Scope: 'I', LanguageType: 'L', Name: "Asháninka"},
"cnk": {Part3: "cnk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cnl": {Part3: "cnl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cno": {Part3: "cno", Scope: 'I', LanguageType: 'L', Name: "Con"},
"cnp": {Part3: "cnp", Scope: 'I', LanguageType: 'L', Name: "Northern Ping Chinese"},
"cnr": {Part3: "cnr", Part2B: "cnr", Part2T: "cnr", Scope: 'I', LanguageType: 'L', Name: "Montenegrin"},
"cns": {Part3: "cns", Scope: 'I', LanguageType: 'L', Name: "Central Asmat"},
"cnt": {Part3: "cnt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cnu": {Part3: "cnu", Scope: 'I', LanguageType: 'L', Name: "Chenoua"},
"cnw": {Part3: "cnw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cnx": {Part3: "cnx", Scope: 'I', LanguageType: 'H', Name: "Middle Cornish"},
"coa": {Part3: "coa", Scope: 'I', LanguageType: 'L', Name: "Cocos Islands Malay"},
"cob": {Part3: "cob", Scope: 'I', LanguageType: 'E', Name: "Chicomuceltec"},
"coc": {Part3: "coc", Scope: 'I', LanguageType: 'L', Name: "Cocopa"},
"cod": {Part3: "cod", Scope: 'I', LanguageType: 'L', Name: "Cocama-Cocamilla"},
"coe": {Part3: "coe", Scope: 'I', LanguageType: 'L', Name: "Koreguaje"},
"cof": {Part3: "cof", Scope: 'I', LanguageType: 'L', Name: "Colorado"},
"cog": {Part3: "cog", Scope: 'I', LanguageType: 'L', Name: "Chong"},
"coh": {Part3: "coh", Scope: 'I', LanguageType: 'L', Name: "Chonyi-Dzihana-Kauma"},
"coj": {Part3: "coj", Scope: 'I', LanguageType: 'E', Name: "Cochimi"},
"cok": {Part3: "cok", Scope: 'I', LanguageType: 'L', Name: "Santa Teresa Cora"},
"col": {Part3: "col", Scope: 'I', LanguageType: 'L', Name: "Columbia-Wenatchi"},
"com": {Part3: "com", Scope: 'I', LanguageType: 'L', Name: "Comanche"},
"con": {Part3: "con", Scope: 'I', LanguageType: 'L', Name: "Cofán"},
"coo": {Part3: "coo", Scope: 'I', LanguageType: 'L', Name: "Comox"},
"cop": {Part3: "cop", Part2B: "cop", Part2T: "cop", Scope: 'I', LanguageType: 'E', Name: "Coptic"},
"coq": {Part3: "coq", Scope: 'I', LanguageType: 'E', Name: "Coquille"},
"cor": {Part3: "cor", Part2B: "cor", Part2T: "cor", Part1: "kw", Scope: 'I', LanguageType: 'L', Name: "Cornish"},
"cos": {Part3: "cos", Part2B: "cos", Part2T: "cos", Part1: "co", Scope: 'I', LanguageType: 'L', Name: "Corsican"},
"cot": {Part3: "cot", Scope: 'I', LanguageType: 'L', Name: "Caquinte"},
"cou": {Part3: "cou", Scope: 'I', LanguageType: 'L', Name: "Wamey"},
"cov": {Part3: "cov", Scope: 'I', LanguageType: 'L', Name: "C<NAME>iao"},
"cow": {Part3: "cow", Scope: 'I', LanguageType: 'E', Name: "Cowlitz"},
"cox": {Part3: "cox", Scope: 'I', LanguageType: 'L', Name: "Nanti"},
"coz": {Part3: "coz", Scope: 'I', LanguageType: 'L', Name: "Chochotec"},
"cpa": {Part3: "cpa", Scope: 'I', LanguageType: 'L', Name: "Palantla Chinantec"},
"cpb": {Part3: "cpb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cpc": {Part3: "cpc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cpg": {Part3: "cpg", Scope: 'I', LanguageType: 'E', Name: "Cappadocian Greek"},
"cpi": {Part3: "cpi", Scope: 'I', LanguageType: 'L', Name: "Chinese Pidgin English"},
"cpn": {Part3: "cpn", Scope: 'I', LanguageType: 'L', Name: "Cherepon"},
"cpo": {Part3: "cpo", Scope: 'I', LanguageType: 'L', Name: "Kpeego"},
"cps": {Part3: "cps", Scope: 'I', LanguageType: 'L', Name: "Capiznon"},
"cpu": {Part3: "cpu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cpx": {Part3: "cpx", Scope: 'I', LanguageType: 'L', Name: "Pu-Xian Chinese"},
"cpy": {Part3: "cpy", Scope: 'I', LanguageType: 'L', Name: "South Ucayali Ashéninka"},
"cqd": {Part3: "cqd", Scope: 'I', LanguageType: 'L', Name: "Chuanqiandian Cluster Miao"},
"cra": {Part3: "cra", Scope: 'I', LanguageType: 'L', Name: "Chara"},
"crb": {Part3: "crb", Scope: 'I', LanguageType: 'E', Name: "Island Carib"},
"crc": {Part3: "crc", Scope: 'I', LanguageType: 'L', Name: "Lonwolwol"},
"crd": {Part3: "crd", Scope: 'I', LanguageType: 'L', Name: "Coeur d'Alene"},
"cre": {Part3: "cre", Part2B: "cre", Part2T: "cre", Part1: "cr", Scope: 'M', LanguageType: 'L', Name: "Cree"},
"crf": {Part3: "crf", Scope: 'I', LanguageType: 'E', Name: "Caramanta"},
"crg": {Part3: "crg", Scope: 'I', LanguageType: 'L', Name: "Michif"},
"crh": {Part3: "crh", Part2B: "crh", Part2T: "crh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cri": {Part3: "cri", Scope: 'I', LanguageType: 'L', Name: "Sãotomense"},
"crj": {Part3: "crj", Scope: 'I', LanguageType: 'L', Name: "Southern East Cree"},
"crk": {Part3: "crk", Scope: 'I', LanguageType: 'L', Name: "Plains Cree"},
"crl": {Part3: "crl", Scope: 'I', LanguageType: 'L', Name: "Northern East Cree"},
"crm": {Part3: "crm", Scope: 'I', LanguageType: 'L', Name: "Moose Cree"},
"crn": {Part3: "crn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cro": {Part3: "cro", Scope: 'I', LanguageType: 'L', Name: "Crow"},
"crq": {Part3: "crq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"crr": {Part3: "crr", Scope: 'I', LanguageType: 'E', Name: "Carolina Algonquian"},
"crs": {Part3: "crs", Scope: 'I', LanguageType: 'L', Name: "Seselwa Creole French"},
"crt": {Part3: "crt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"crv": {Part3: "crv", Scope: 'I', LanguageType: 'L', Name: "Chaura"},
"crw": {Part3: "crw", Scope: 'I', LanguageType: 'L', Name: "Chrau"},
"crx": {Part3: "crx", Scope: 'I', LanguageType: 'L', Name: "Carrier"},
"cry": {Part3: "cry", Scope: 'I', LanguageType: 'L', Name: "Cori"},
"crz": {Part3: "crz", Scope: 'I', LanguageType: 'E', Name: "Cruzeño"},
"csa": {Part3: "csa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"csb": {Part3: "csb", Part2B: "csb", Part2T: "csb", Scope: 'I', LanguageType: 'L', Name: "Kashubian"},
"csc": {Part3: "csc", Scope: 'I', LanguageType: 'L', Name: "Catalan Sign Language"},
"csd": {Part3: "csd", Scope: 'I', LanguageType: 'L', Name: "Chiangmai Sign Language"},
"cse": {Part3: "cse", Scope: 'I', LanguageType: 'L', Name: "Czech Sign Language"},
"csf": {Part3: "csf", Scope: 'I', LanguageType: 'L', Name: "Cuba Sign Language"},
"csg": {Part3: "csg", Scope: 'I', LanguageType: 'L', Name: "Chilean Sign Language"},
"csh": {Part3: "csh", Scope: 'I', LanguageType: 'L', Name: "Ash<NAME>"},
"csi": {Part3: "csi", Scope: 'I', LanguageType: 'E', Name: "Coast Miwok"},
"csj": {Part3: "csj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"csk": {Part3: "csk", Scope: 'I', LanguageType: 'L', Name: "Jola-Kasa"},
"csl": {Part3: "csl", Scope: 'I', LanguageType: 'L', Name: "Chinese Sign Language"},
"csm": {Part3: "csm", Scope: 'I', LanguageType: 'L', Name: "Central Sierra Miwok"},
"csn": {Part3: "csn", Scope: 'I', LanguageType: 'L', Name: "Colombian Sign Language"},
"cso": {Part3: "cso", Scope: 'I', LanguageType: 'L', Name: "Sochiapam Chinantec"},
"csp": {Part3: "csp", Scope: 'I', LanguageType: 'L', Name: "Southern Ping Chinese"},
"csq": {Part3: "csq", Scope: 'I', LanguageType: 'L', Name: "Croatia Sign Language"},
"csr": {Part3: "csr", Scope: 'I', LanguageType: 'L', Name: "Costa Rican Sign Language"},
"css": {Part3: "css", Scope: 'I', LanguageType: 'E', Name: "Southern Ohlone"},
"cst": {Part3: "cst", Scope: 'I', LanguageType: 'L', Name: "Northern Ohlone"},
"csv": {Part3: "csv", Scope: 'I', LanguageType: 'L', Name: "Sumtu Chin"},
"csw": {Part3: "csw", Scope: 'I', LanguageType: 'L', Name: "Swampy Cree"},
"csx": {Part3: "csx", Scope: 'I', LanguageType: 'L', Name: "Cambodian Sign Language"},
"csy": {Part3: "csy", Scope: 'I', LanguageType: 'L', Name: "Siyin Chin"},
"csz": {Part3: "csz", Scope: 'I', LanguageType: 'L', Name: "Coos"},
"cta": {Part3: "cta", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ctc": {Part3: "ctc", Scope: 'I', LanguageType: 'E', Name: "Chetco"},
"ctd": {Part3: "ctd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cte": {Part3: "cte", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ctg": {Part3: "ctg", Scope: 'I', LanguageType: 'L', Name: "Chittagonian"},
"cth": {Part3: "cth", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ctl": {Part3: "ctl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ctm": {Part3: "ctm", Scope: 'I', LanguageType: 'E', Name: "Chitimacha"},
"ctn": {Part3: "ctn", Scope: 'I', LanguageType: 'L', Name: "Chhintange"},
"cto": {Part3: "cto", Scope: 'I', LanguageType: 'L', Name: "Emberá-Catío"},
"ctp": {Part3: "ctp", Scope: 'I', LanguageType: 'L', Name: "Western Highland Chatino"},
"cts": {Part3: "cts", Scope: 'I', LanguageType: 'L', Name: "Northern Catanduanes Bikol"},
"ctt": {Part3: "ctt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ctu": {Part3: "ctu", Scope: 'I', LanguageType: 'L', Name: "Chol"},
"cty": {Part3: "cty", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ctz": {Part3: "ctz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cua": {Part3: "cua", Scope: 'I', LanguageType: 'L', Name: "Cua"},
"cub": {Part3: "cub", Scope: 'I', LanguageType: 'L', Name: "Cubeo"},
"cuc": {Part3: "cuc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cug": {Part3: "cug", Scope: 'I', LanguageType: 'L', Name: "Chungmboko"},
"cuh": {Part3: "cuh", Scope: 'I', LanguageType: 'L', Name: "Chuka"},
"cui": {Part3: "cui", Scope: 'I', LanguageType: 'L', Name: "Cuiba"},
"cuj": {Part3: "cuj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cuk": {Part3: "cuk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cul": {Part3: "cul", Scope: 'I', LanguageType: 'L', Name: "Culina"},
"cuo": {Part3: "cuo", Scope: 'I', LanguageType: 'E', Name: "Cumanagoto"},
"cup": {Part3: "cup", Scope: 'I', LanguageType: 'E', Name: "Cupeño"},
"cuq": {Part3: "cuq", Scope: 'I', LanguageType: 'L', Name: "Cun"},
"cur": {Part3: "cur", Scope: 'I', LanguageType: 'L', Name: "Chhulung"},
"cut": {Part3: "cut", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cuu": {Part3: "cuu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cuv": {Part3: "cuv", Scope: 'I', LanguageType: 'L', Name: "Cuvok"},
"cuw": {Part3: "cuw", Scope: 'I', LanguageType: 'L', Name: "Chukwa"},
"cux": {Part3: "cux", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cuy": {Part3: "cuy", Scope: 'I', LanguageType: 'L', Name: "Cuitlatec"},
"cvg": {Part3: "cvg", Scope: 'I', LanguageType: 'L', Name: "Chug"},
"cvn": {Part3: "cvn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cwa": {Part3: "cwa", Scope: 'I', LanguageType: 'L', Name: "Kabwa"},
"cwb": {Part3: "cwb", Scope: 'I', LanguageType: 'L', Name: "Maindo"},
"cwd": {Part3: "cwd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cwe": {Part3: "cwe", Scope: 'I', LanguageType: 'L', Name: "Kwere"},
"cwg": {Part3: "cwg", Scope: 'I', LanguageType: 'L', Name: "Chewong"},
"cwt": {Part3: "cwt", Scope: 'I', LanguageType: 'L', Name: "Kuwaataay"},
"cya": {Part3: "cya", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cyb": {Part3: "cyb", Scope: 'I', LanguageType: 'E', Name: "Cayubaba"},
"cym": {Part3: "cym", Part2B: "wel", Part2T: "cym", Part1: "cy", Scope: 'I', LanguageType: 'L', Name: "Welsh"},
"cyo": {Part3: "cyo", Scope: 'I', LanguageType: 'L', Name: "Cuyonon"},
"czh": {Part3: "czh", Scope: 'I', LanguageType: 'L', Name: "Huizhou Chinese"},
"czk": {Part3: "czk", Scope: 'I', LanguageType: 'E', Name: "Knaanic"},
"czn": {Part3: "czn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"czo": {Part3: "czo", Scope: 'I', LanguageType: 'L', Name: "Min Zhong Chinese"},
"czt": {Part3: "czt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"daa": {Part3: "daa", Scope: 'I', LanguageType: 'L', Name: "Dangaléat"},
"dac": {Part3: "dac", Scope: 'I', LanguageType: 'L', Name: "Dambi"},
"dad": {Part3: "dad", Scope: 'I', LanguageType: 'L', Name: "Marik"},
"dae": {Part3: "dae", Scope: 'I', LanguageType: 'L', Name: "Duupa"},
"dag": {Part3: "dag", Scope: 'I', LanguageType: 'L', Name: "Dagbani"},
"dah": {Part3: "dah", Scope: 'I', LanguageType: 'L', Name: "Gwahatike"},
"dai": {Part3: "dai", Scope: 'I', LanguageType: 'L', Name: "Day"},
"daj": {Part3: "daj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dak": {Part3: "dak", Part2B: "dak", Part2T: "dak", Scope: 'I', LanguageType: 'L', Name: "Dakota"},
"dal": {Part3: "dal", Scope: 'I', LanguageType: 'L', Name: "Dahalo"},
"dam": {Part3: "dam", Scope: 'I', LanguageType: 'L', Name: "Damakawa"},
"dan": {Part3: "dan", Part2B: "dan", Part2T: "dan", Part1: "da", Scope: 'I', LanguageType: 'L', Name: "Danish"},
"dao": {Part3: "dao", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"daq": {Part3: "daq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dar": {Part3: "dar", Part2B: "dar", Part2T: "dar", Scope: 'I', LanguageType: 'L', Name: "Dargwa"},
"das": {Part3: "das", Scope: 'I', LanguageType: 'L', Name: "Daho-Doo"},
"dau": {Part3: "dau", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dav": {Part3: "dav", Scope: 'I', LanguageType: 'L', Name: "Taita"},
"daw": {Part3: "daw", Scope: 'I', LanguageType: 'L', Name: "Davawenyo"},
"dax": {Part3: "dax", Scope: 'I', LanguageType: 'L', Name: "Dayi"},
"daz": {Part3: "daz", Scope: 'I', LanguageType: 'L', Name: "Dao"},
"dba": {Part3: "dba", Scope: 'I', LanguageType: 'L', Name: "Bangime"},
"dbb": {Part3: "dbb", Scope: 'I', LanguageType: 'L', Name: "Deno"},
"dbd": {Part3: "dbd", Scope: 'I', LanguageType: 'L', Name: "Dadiya"},
"dbe": {Part3: "dbe", Scope: 'I', LanguageType: 'L', Name: "Dabe"},
"dbf": {Part3: "dbf", Scope: 'I', LanguageType: 'L', Name: "Edopi"},
"dbg": {Part3: "dbg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dbi": {Part3: "dbi", Scope: 'I', LanguageType: 'L', Name: "Doka"},
"dbj": {Part3: "dbj", Scope: 'I', LanguageType: 'L', Name: "Ida'an"},
"dbl": {Part3: "dbl", Scope: 'I', LanguageType: 'L', Name: "Dyirbal"},
"dbm": {Part3: "dbm", Scope: 'I', LanguageType: 'L', Name: "Duguri"},
"dbn": {Part3: "dbn", Scope: 'I', LanguageType: 'L', Name: "Duriankere"},
"dbo": {Part3: "dbo", Scope: 'I', LanguageType: 'L', Name: "Dulbu"},
"dbp": {Part3: "dbp", Scope: 'I', LanguageType: 'L', Name: "Duwai"},
"dbq": {Part3: "dbq", Scope: 'I', LanguageType: 'L', Name: "Daba"},
"dbr": {Part3: "dbr", Scope: 'I', LanguageType: 'L', Name: "Dabarre"},
"dbt": {Part3: "dbt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dbu": {Part3: "dbu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dbv": {Part3: "dbv", Scope: 'I', LanguageType: 'L', Name: "Dungu"},
"dbw": {Part3: "dbw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dby": {Part3: "dby", Scope: 'I', LanguageType: 'L', Name: "Dibiyaso"},
"dcc": {Part3: "dcc", Scope: 'I', LanguageType: 'L', Name: "Deccan"},
"dcr": {Part3: "dcr", Scope: 'I', LanguageType: 'E', Name: "Negerhollands"},
"dda": {Part3: "dda", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"ddd": {Part3: "ddd", Scope: 'I', LanguageType: 'L', Name: "Dongotono"},
"dde": {Part3: "dde", Scope: 'I', LanguageType: 'L', Name: "Doondo"},
"ddg": {Part3: "ddg", Scope: 'I', LanguageType: 'L', Name: "Fataluku"},
"ddi": {Part3: "ddi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ddj": {Part3: "ddj", Scope: 'I', LanguageType: 'L', Name: "Jaru"},
"ddn": {Part3: "ddn", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"ddo": {Part3: "ddo", Scope: 'I', LanguageType: 'L', Name: "Dido"},
"ddr": {Part3: "ddr", Scope: 'I', LanguageType: 'E', Name: "Dhudhuroa"},
"dds": {Part3: "dds", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ddw": {Part3: "ddw", Scope: 'I', LanguageType: 'L', Name: "Dawera-Daweloor"},
"dec": {Part3: "dec", Scope: 'I', LanguageType: 'L', Name: "Dagik"},
"ded": {Part3: "ded", Scope: 'I', LanguageType: 'L', Name: "Dedua"},
"dee": {Part3: "dee", Scope: 'I', LanguageType: 'L', Name: "Dewoin"},
"def": {Part3: "def", Scope: 'I', LanguageType: 'L', Name: "Dezfuli"},
"deg": {Part3: "deg", Scope: 'I', LanguageType: 'L', Name: "Degema"},
"deh": {Part3: "deh", Scope: 'I', LanguageType: 'L', Name: "Dehwari"},
"dei": {Part3: "dei", Scope: 'I', LanguageType: 'L', Name: "Demisa"},
"dek": {Part3: "dek", Scope: 'I', LanguageType: 'L', Name: "Dek"},
"del": {Part3: "del", Part2B: "del", Part2T: "del", Scope: 'M', LanguageType: 'L', Name: "Delaware"},
"dem": {Part3: "dem", Scope: 'I', LanguageType: 'L', Name: "Dem"},
"den": {Part3: "den", Part2B: "den", Part2T: "den", Scope: 'M', LanguageType: 'L', Name: "Slave (Athapascan)"},
"dep": {Part3: "dep", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"deq": {Part3: "deq", Scope: 'I', LanguageType: 'L', Name: "Dendi (Central African Republic)"},
"der": {Part3: "der", Scope: 'I', LanguageType: 'L', Name: "Deori"},
"des": {Part3: "des", Scope: 'I', LanguageType: 'L', Name: "Desano"},
"deu": {Part3: "deu", Part2B: "ger", Part2T: "deu", Part1: "de", Scope: 'I', LanguageType: 'L', Name: "German"},
"dev": {Part3: "dev", Scope: 'I', LanguageType: 'L', Name: "Domung"},
"dez": {Part3: "dez", Scope: 'I', LanguageType: 'L', Name: "Dengese"},
"dga": {Part3: "dga", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dgb": {Part3: "dgb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dgc": {Part3: "dgc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dgd": {Part3: "dgd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dge": {Part3: "dge", Scope: 'I', LanguageType: 'L', Name: "Degenan"},
"dgg": {Part3: "dgg", Scope: 'I', LanguageType: 'L', Name: "Doga"},
"dgh": {Part3: "dgh", Scope: 'I', LanguageType: 'L', Name: "Dghwede"},
"dgi": {Part3: "dgi", Scope: 'I', LanguageType: 'L', Name: "Northern Dagara"},
"dgk": {Part3: "dgk", Scope: 'I', LanguageType: 'L', Name: "Dagba"},
"dgl": {Part3: "dgl", Scope: 'I', LanguageType: 'L', Name: "Andaandi"},
"dgn": {Part3: "dgn", Scope: 'I', LanguageType: 'E', Name: "Dagoman"},
"dgo": {Part3: "dgo", Scope: 'I', LanguageType: 'L', Name: "Dogri (individual language)"},
"dgr": {Part3: "dgr", Part2B: "dgr", Part2T: "dgr", Scope: 'I', LanguageType: 'L', Name: "Dogrib"},
"dgs": {Part3: "dgs", Scope: 'I', LanguageType: 'L', Name: "Dogoso"},
"dgt": {Part3: "dgt", Scope: 'I', LanguageType: 'E', Name: "Ndra'ngith"},
"dgw": {Part3: "dgw", Scope: 'I', LanguageType: 'E', Name: "Daungwurrung"},
"dgx": {Part3: "dgx", Scope: 'I', LanguageType: 'L', Name: "Doghoro"},
"dgz": {Part3: "dgz", Scope: 'I', LanguageType: 'L', Name: "Daga"},
"dhd": {Part3: "dhd", Scope: 'I', LanguageType: 'L', Name: "Dhundari"},
"dhg": {Part3: "dhg", Scope: 'I', LanguageType: 'L', Name: "Dhangu-Djangu"},
"dhi": {Part3: "dhi", Scope: 'I', LanguageType: 'L', Name: "Dhimal"},
"dhl": {Part3: "dhl", Scope: 'I', LanguageType: 'L', Name: "Dhalandji"},
"dhm": {Part3: "dhm", Scope: 'I', LanguageType: 'L', Name: "Zemba"},
"dhn": {Part3: "dhn", Scope: 'I', LanguageType: 'L', Name: "Dhanki"},
"dho": {Part3: "dho", Scope: 'I', LanguageType: 'L', Name: "Dhodia"},
"dhr": {Part3: "dhr", Scope: 'I', LanguageType: 'L', Name: "Dhargari"},
"dhs": {Part3: "dhs", Scope: 'I', LanguageType: 'L', Name: "Dhaiso"},
"dhu": {Part3: "dhu", Scope: 'I', LanguageType: 'E', Name: "Dhurga"},
"dhv": {Part3: "dhv", Scope: 'I', LanguageType: 'L', Name: "Dehu"},
"dhw": {Part3: "dhw", Scope: 'I', LanguageType: 'L', Name: "Dhanwar (Nepal)"},
"dhx": {Part3: "dhx", Scope: 'I', LanguageType: 'L', Name: "Dhungaloo"},
"dia": {Part3: "dia", Scope: 'I', LanguageType: 'L', Name: "Dia"},
"dib": {Part3: "dib", Scope: 'I', LanguageType: 'L', Name: "South Central Dinka"},
"dic": {Part3: "dic", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"did": {Part3: "did", Scope: 'I', LanguageType: 'L', Name: "Didinga"},
"dif": {Part3: "dif", Scope: 'I', LanguageType: 'E', Name: "Dieri"},
"dig": {Part3: "dig", Scope: 'I', LanguageType: 'L', Name: "Digo"},
"dih": {Part3: "dih", Scope: 'I', LanguageType: 'L', Name: "Kumiai"},
"dii": {Part3: "dii", Scope: 'I', LanguageType: 'L', Name: "Dimbong"},
"dij": {Part3: "dij", Scope: 'I', LanguageType: 'L', Name: "Dai"},
"dik": {Part3: "dik", Scope: 'I', LanguageType: 'L', Name: "Southwestern Dinka"},
"dil": {Part3: "dil", Scope: 'I', LanguageType: 'L', Name: "Dilling"},
"dim": {Part3: "dim", Scope: 'I', LanguageType: 'L', Name: "Dime"},
"din": {Part3: "din", Part2B: "din", Part2T: "din", Scope: 'M', LanguageType: 'L', Name: "Dinka"},
"dio": {Part3: "dio", Scope: 'I', LanguageType: 'L', Name: "Dibo"},
"dip": {Part3: "dip", Scope: 'I', LanguageType: 'L', Name: "Northeastern Dinka"},
"diq": {Part3: "diq", Scope: 'I', LanguageType: 'L', Name: "Dimli (individual language)"},
"dir": {Part3: "dir", Scope: 'I', LanguageType: 'L', Name: "Dirim"},
"dis": {Part3: "dis", Scope: 'I', LanguageType: 'L', Name: "Dimasa"},
"diu": {Part3: "diu", Scope: 'I', LanguageType: 'L', Name: "Diriku"},
"div": {Part3: "div", Part2B: "div", Part2T: "div", Part1: "dv", Scope: 'I', LanguageType: 'L', Name: "Dhivehi"},
"diw": {Part3: "diw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dix": {Part3: "dix", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"diy": {Part3: "diy", Scope: 'I', LanguageType: 'L', Name: "Diuwe"},
"diz": {Part3: "diz", Scope: 'I', LanguageType: 'L', Name: "Ding"},
"dja": {Part3: "dja", Scope: 'I', LanguageType: 'E', Name: "Djadjawurrung"},
"djb": {Part3: "djb", Scope: 'I', LanguageType: 'L', Name: "Djinba"},
"djc": {Part3: "djc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"djd": {Part3: "djd", Scope: 'I', LanguageType: 'L', Name: "Djamindjung"},
"dje": {Part3: "dje", Scope: 'I', LanguageType: 'L', Name: "Zarma"},
"djf": {Part3: "djf", Scope: 'I', LanguageType: 'E', Name: "Djangun"},
"dji": {Part3: "dji", Scope: 'I', LanguageType: 'L', Name: "Djinang"},
"djj": {Part3: "djj", Scope: 'I', LanguageType: 'L', Name: "Djeebbana"},
"djk": {Part3: "djk", Scope: 'I', LanguageType: 'L', Name: "Eastern Maroon Creole"},
"djm": {Part3: "djm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"djn": {Part3: "djn", Scope: 'I', LanguageType: 'L', Name: "Jawoyn"},
"djo": {Part3: "djo", Scope: 'I', LanguageType: 'L', Name: "Jangkang"},
"djr": {Part3: "djr", Scope: 'I', LanguageType: 'L', Name: "Djambarrpuyngu"},
"dju": {Part3: "dju", Scope: 'I', LanguageType: 'L', Name: "Kapriman"},
"djw": {Part3: "djw", Scope: 'I', LanguageType: 'E', Name: "Djawi"},
"dka": {Part3: "dka", Scope: 'I', LanguageType: 'L', Name: "Dakpakha"},
"dkg": {Part3: "dkg", Scope: 'I', LanguageType: 'L', Name: "Kadung"},
"dkk": {Part3: "dkk", Scope: 'I', LanguageType: 'L', Name: "Dakka"},
"dkr": {Part3: "dkr", Scope: 'I', LanguageType: 'L', Name: "Kuijau"},
"dks": {Part3: "dks", Scope: 'I', LanguageType: 'L', Name: "Southeastern Dinka"},
"dkx": {Part3: "dkx", Scope: 'I', LanguageType: 'L', Name: "Mazagway"},
"dlg": {Part3: "dlg", Scope: 'I', LanguageType: 'L', Name: "Dolgan"},
"dlk": {Part3: "dlk", Scope: 'I', LanguageType: 'L', Name: "Dahalik"},
"dlm": {Part3: "dlm", Scope: 'I', LanguageType: 'E', Name: "Dalmatian"},
"dln": {Part3: "dln", Scope: 'I', LanguageType: 'L', Name: "Darlong"},
"dma": {Part3: "dma", Scope: 'I', LanguageType: 'L', Name: "Duma"},
"dmb": {Part3: "dmb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dmc": {Part3: "dmc", Scope: 'I', LanguageType: 'L', Name: "Gavak"},
"dmd": {Part3: "dmd", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"dme": {Part3: "dme", Scope: 'I', LanguageType: 'L', Name: "Dugwor"},
"dmf": {Part3: "dmf", Scope: 'I', LanguageType: 'E', Name: "Medefaidrin"},
"dmg": {Part3: "dmg", Scope: 'I', LanguageType: 'L', Name: "<NAME>abatangan"},
"dmk": {Part3: "dmk", Scope: 'I', LanguageType: 'L', Name: "Domaaki"},
"dml": {Part3: "dml", Scope: 'I', LanguageType: 'L', Name: "Dameli"},
"dmm": {Part3: "dmm", Scope: 'I', LanguageType: 'L', Name: "Dama"},
"dmo": {Part3: "dmo", Scope: 'I', LanguageType: 'L', Name: "Kemedzung"},
"dmr": {Part3: "dmr", Scope: 'I', LanguageType: 'L', Name: "East Damar"},
"dms": {Part3: "dms", Scope: 'I', LanguageType: 'L', Name: "Dampelas"},
"dmu": {Part3: "dmu", Scope: 'I', LanguageType: 'L', Name: "Dubu"},
"dmv": {Part3: "dmv", Scope: 'I', LanguageType: 'L', Name: "Dumpas"},
"dmw": {Part3: "dmw", Scope: 'I', LanguageType: 'L', Name: "Mudburra"},
"dmx": {Part3: "dmx", Scope: 'I', LanguageType: 'L', Name: "Dema"},
"dmy": {Part3: "dmy", Scope: 'I', LanguageType: 'L', Name: "Demta"},
"dna": {Part3: "dna", Scope: 'I', LanguageType: 'L', Name: "Upper Grand Valley Dani"},
"dnd": {Part3: "dnd", Scope: 'I', LanguageType: 'L', Name: "Daonda"},
"dne": {Part3: "dne", Scope: 'I', LanguageType: 'L', Name: "Ndendeule"},
"dng": {Part3: "dng", Scope: 'I', LanguageType: 'L', Name: "Dungan"},
"dni": {Part3: "dni", Scope: 'I', LanguageType: 'L', Name: "Lower Grand Valley Dani"},
"dnj": {Part3: "dnj", Scope: 'I', LanguageType: 'L', Name: "Dan"},
"dnk": {Part3: "dnk", Scope: 'I', LanguageType: 'L', Name: "Dengka"},
"dnn": {Part3: "dnn", Scope: 'I', LanguageType: 'L', Name: "Dzùùngoo"},
"dno": {Part3: "dno", Scope: 'I', LanguageType: 'L', Name: "Ndrulo"},
"dnr": {Part3: "dnr", Scope: 'I', LanguageType: 'L', Name: "Danaru"},
"dnt": {Part3: "dnt", Scope: 'I', LanguageType: 'L', Name: "Mid Grand Valley Dani"},
"dnu": {Part3: "dnu", Scope: 'I', LanguageType: 'L', Name: "Danau"},
"dnv": {Part3: "dnv", Scope: 'I', LanguageType: 'L', Name: "Danu"},
"dnw": {Part3: "dnw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dny": {Part3: "dny", Scope: 'I', LanguageType: 'L', Name: "Dení"},
"doa": {Part3: "doa", Scope: 'I', LanguageType: 'L', Name: "Dom"},
"dob": {Part3: "dob", Scope: 'I', LanguageType: 'L', Name: "Dobu"},
"doc": {Part3: "doc", Scope: 'I', LanguageType: 'L', Name: "Northern Dong"},
"doe": {Part3: "doe", Scope: 'I', LanguageType: 'L', Name: "Doe"},
"dof": {Part3: "dof", Scope: 'I', LanguageType: 'L', Name: "Domu"},
"doh": {Part3: "doh", Scope: 'I', LanguageType: 'L', Name: "Dong"},
"doi": {Part3: "doi", Part2B: "doi", Part2T: "doi", Scope: 'M', LanguageType: 'L', Name: "Dogri (macrolanguage)"},
"dok": {Part3: "dok", Scope: 'I', LanguageType: 'L', Name: "Dondo"},
"dol": {Part3: "dol", Scope: 'I', LanguageType: 'L', Name: "Doso"},
"don": {Part3: "don", Scope: 'I', LanguageType: 'L', Name: "Toura (Papua New Guinea)"},
"doo": {Part3: "doo", Scope: 'I', LanguageType: 'L', Name: "Dongo"},
"dop": {Part3: "dop", Scope: 'I', LanguageType: 'L', Name: "Lukpa"},
"doq": {Part3: "doq", Scope: 'I', LanguageType: 'L', Name: "Dominican Sign Language"},
"dor": {Part3: "dor", Scope: 'I', LanguageType: 'L', Name: "Dori'o"},
"dos": {Part3: "dos", Scope: 'I', LanguageType: 'L', Name: "Dogosé"},
"dot": {Part3: "dot", Scope: 'I', LanguageType: 'L', Name: "Dass"},
"dov": {Part3: "dov", Scope: 'I', LanguageType: 'L', Name: "Dombe"},
"dow": {Part3: "dow", Scope: 'I', LanguageType: 'L', Name: "Doyayo"},
"dox": {Part3: "dox", Scope: 'I', LanguageType: 'L', Name: "Bussa"},
"doy": {Part3: "doy", Scope: 'I', LanguageType: 'L', Name: "Dompo"},
"doz": {Part3: "doz", Scope: 'I', LanguageType: 'L', Name: "Dorze"},
"dpp": {Part3: "dpp", Scope: 'I', LanguageType: 'L', Name: "Papar"},
"drb": {Part3: "drb", Scope: 'I', LanguageType: 'L', Name: "Dair"},
"drc": {Part3: "drc", Scope: 'I', LanguageType: 'L', Name: "Minderico"},
"drd": {Part3: "drd", Scope: 'I', LanguageType: 'L', Name: "Darmiya"},
"dre": {Part3: "dre", Scope: 'I', LanguageType: 'L', Name: "Dolpo"},
"drg": {Part3: "drg", Scope: 'I', LanguageType: 'L', Name: "Rungus"},
"dri": {Part3: "dri", Scope: 'I', LanguageType: 'L', Name: "C'Lela"},
"drl": {Part3: "drl", Scope: 'I', LanguageType: 'L', Name: "Paakantyi"},
"drn": {Part3: "drn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dro": {Part3: "dro", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"drq": {Part3: "drq", Scope: 'I', LanguageType: 'E', Name: "Dura"},
"drs": {Part3: "drs", Scope: 'I', LanguageType: 'L', Name: "Gedeo"},
"drt": {Part3: "drt", Scope: 'I', LanguageType: 'L', Name: "Drents"},
"dru": {Part3: "dru", Scope: 'I', LanguageType: 'L', Name: "Rukai"},
"dry": {Part3: "dry", Scope: 'I', LanguageType: 'L', Name: "Darai"},
"dsb": {Part3: "dsb", Part2B: "dsb", Part2T: "dsb", Scope: 'I', LanguageType: 'L', Name: "Lower Sorbian"},
"dse": {Part3: "dse", Scope: 'I', LanguageType: 'L', Name: "Dutch Sign Language"},
"dsh": {Part3: "dsh", Scope: 'I', LanguageType: 'L', Name: "Daasanach"},
"dsi": {Part3: "dsi", Scope: 'I', LanguageType: 'L', Name: "Disa"},
"dsl": {Part3: "dsl", Scope: 'I', LanguageType: 'L', Name: "Danish Sign Language"},
"dsn": {Part3: "dsn", Scope: 'I', LanguageType: 'E', Name: "Dusner"},
"dso": {Part3: "dso", Scope: 'I', LanguageType: 'L', Name: "Desiya"},
"dsq": {Part3: "dsq", Scope: 'I', LanguageType: 'L', Name: "Tadaksahak"},
"dta": {Part3: "dta", Scope: 'I', LanguageType: 'L', Name: "Daur"},
"dtb": {Part3: "dtb", Scope: 'I', LanguageType: 'L', Name: "Labuk-Kin<NAME>"},
"dtd": {Part3: "dtd", Scope: 'I', LanguageType: 'L', Name: "Ditidaht"},
"dth": {Part3: "dth", Scope: 'I', LanguageType: 'E', Name: "Adithinngithigh"},
"dti": {Part3: "dti", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dtk": {Part3: "dtk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dtm": {Part3: "dtm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dtn": {Part3: "dtn", Scope: 'I', LanguageType: 'L', Name: "Daatsʼíin"},
"dto": {Part3: "dto", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dtp": {Part3: "dtp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dtr": {Part3: "dtr", Scope: 'I', LanguageType: 'L', Name: "Lotud"},
"dts": {Part3: "dts", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dtt": {Part3: "dtt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dtu": {Part3: "dtu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dty": {Part3: "dty", Scope: 'I', LanguageType: 'L', Name: "Dotyali"},
"dua": {Part3: "dua", Part2B: "dua", Part2T: "dua", Scope: 'I', LanguageType: 'L', Name: "Duala"},
"dub": {Part3: "dub", Scope: 'I', LanguageType: 'L', Name: "Dubli"},
"duc": {Part3: "duc", Scope: 'I', LanguageType: 'L', Name: "Duna"},
"due": {Part3: "due", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"duf": {Part3: "duf", Scope: 'I', LanguageType: 'L', Name: "Dumbea"},
"dug": {Part3: "dug", Scope: 'I', LanguageType: 'L', Name: "Duruma"},
"duh": {Part3: "duh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dui": {Part3: "dui", Scope: 'I', LanguageType: 'L', Name: "Dumun"},
"duk": {Part3: "duk", Scope: 'I', LanguageType: 'L', Name: "Uyajitaya"},
"dul": {Part3: "dul", Scope: 'I', LanguageType: 'L', Name: "Alabat Island Agta"},
"dum": {Part3: "dum", Part2B: "dum", Part2T: "dum", Scope: 'I', LanguageType: 'H', Name: "Middle Dutch (ca. 1050-1350)"},
"dun": {Part3: "dun", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"duo": {Part3: "duo", Scope: 'I', LanguageType: 'L', Name: "Dupaninan Agta"},
"dup": {Part3: "dup", Scope: 'I', LanguageType: 'L', Name: "Duano"},
"duq": {Part3: "duq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dur": {Part3: "dur", Scope: 'I', LanguageType: 'L', Name: "Dii"},
"dus": {Part3: "dus", Scope: 'I', LanguageType: 'L', Name: "Dumi"},
"duu": {Part3: "duu", Scope: 'I', LanguageType: 'L', Name: "Drung"},
"duv": {Part3: "duv", Scope: 'I', LanguageType: 'L', Name: "Duvle"},
"duw": {Part3: "duw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dux": {Part3: "dux", Scope: 'I', LanguageType: 'L', Name: "Duungooma"},
"duy": {Part3: "duy", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"duz": {Part3: "duz", Scope: 'I', LanguageType: 'E', Name: "Duli-Gey"},
"dva": {Part3: "dva", Scope: 'I', LanguageType: 'L', Name: "Duau"},
"dwa": {Part3: "dwa", Scope: 'I', LanguageType: 'L', Name: "Diri"},
"dwk": {Part3: "dwk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dwr": {Part3: "dwr", Scope: 'I', LanguageType: 'L', Name: "Dawro"},
"dws": {Part3: "dws", Scope: 'I', LanguageType: 'C', Name: "<NAME> Speedwords"},
"dwu": {Part3: "dwu", Scope: 'I', LanguageType: 'L', Name: "Dhuwal"},
"dww": {Part3: "dww", Scope: 'I', LanguageType: 'L', Name: "Dawawa"},
"dwy": {Part3: "dwy", Scope: 'I', LanguageType: 'L', Name: "Dhuwaya"},
"dwz": {Part3: "dwz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dya": {Part3: "dya", Scope: 'I', LanguageType: 'L', Name: "Dyan"},
"dyb": {Part3: "dyb", Scope: 'I', LanguageType: 'E', Name: "Dyaberdyaber"},
"dyd": {Part3: "dyd", Scope: 'I', LanguageType: 'E', Name: "Dyugun"},
"dyg": {Part3: "dyg", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"dyi": {Part3: "dyi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dym": {Part3: "dym", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"dyn": {Part3: "dyn", Scope: 'I', LanguageType: 'L', Name: "Dyangadi"},
"dyo": {Part3: "dyo", Scope: 'I', LanguageType: 'L', Name: "Jola-Fonyi"},
"dyu": {Part3: "dyu", Part2B: "dyu", Part2T: "dyu", Scope: 'I', LanguageType: 'L', Name: "Dyula"},
"dyy": {Part3: "dyy", Scope: 'I', LanguageType: 'L', Name: "Djabugay"},
"dza": {Part3: "dza", Scope: 'I', LanguageType: 'L', Name: "Tunzu"},
"dze": {Part3: "dze", Scope: 'I', LanguageType: 'E', Name: "Djiwarli"},
"dzg": {Part3: "dzg", Scope: 'I', LanguageType: 'L', Name: "Dazaga"},
"dzl": {Part3: "dzl", Scope: 'I', LanguageType: 'L', Name: "Dzalakha"},
"dzn": {Part3: "dzn", Scope: 'I', LanguageType: 'L', Name: "Dzando"},
"dzo": {Part3: "dzo", Part2B: "dzo", Part2T: "dzo", Part1: "dz", Scope: 'I', LanguageType: 'L', Name: "Dzongkha"},
"eaa": {Part3: "eaa", Scope: 'I', LanguageType: 'E', Name: "Karenggapa"},
"ebc": {Part3: "ebc", Scope: 'I', LanguageType: 'L', Name: "Beginci"},
"ebg": {Part3: "ebg", Scope: 'I', LanguageType: 'L', Name: "Ebughu"},
"ebk": {Part3: "ebk", Scope: 'I', LanguageType: 'L', Name: "Eastern Bontok"},
"ebo": {Part3: "ebo", Scope: 'I', LanguageType: 'L', Name: "Teke-Ebo"},
"ebr": {Part3: "ebr", Scope: 'I', LanguageType: 'L', Name: "Ebrié"},
"ebu": {Part3: "ebu", Scope: 'I', LanguageType: 'L', Name: "Embu"},
"ecr": {Part3: "ecr", Scope: 'I', LanguageType: 'A', Name: "Eteocretan"},
"ecs": {Part3: "ecs", Scope: 'I', LanguageType: 'L', Name: "Ecuadorian Sign Language"},
"ecy": {Part3: "ecy", Scope: 'I', LanguageType: 'A', Name: "Eteocypriot"},
"eee": {Part3: "eee", Scope: 'I', LanguageType: 'L', Name: "E"},
"efa": {Part3: "efa", Scope: 'I', LanguageType: 'L', Name: "Efai"},
"efe": {Part3: "efe", Scope: 'I', LanguageType: 'L', Name: "Efe"},
"efi": {Part3: "efi", Part2B: "efi", Part2T: "efi", Scope: 'I', LanguageType: 'L', Name: "Efik"},
"ega": {Part3: "ega", Scope: 'I', LanguageType: 'L', Name: "Ega"},
"egl": {Part3: "egl", Scope: 'I', LanguageType: 'L', Name: "Emilian"},
"ego": {Part3: "ego", Scope: 'I', LanguageType: 'L', Name: "Eggon"},
"egy": {Part3: "egy", Part2B: "egy", Part2T: "egy", Scope: 'I', LanguageType: 'A', Name: "Egyptian (Ancient)"},
"ehs": {Part3: "ehs", Scope: 'I', LanguageType: 'L', Name: "Miyakubo Sign Language"},
"ehu": {Part3: "ehu", Scope: 'I', LanguageType: 'L', Name: "Ehueun"},
"eip": {Part3: "eip", Scope: 'I', LanguageType: 'L', Name: "Eipomek"},
"eit": {Part3: "eit", Scope: 'I', LanguageType: 'L', Name: "Eitiep"},
"eiv": {Part3: "eiv", Scope: 'I', LanguageType: 'L', Name: "Askopan"},
"eja": {Part3: "eja", Scope: 'I', LanguageType: 'L', Name: "Ejamat"},
"eka": {Part3: "eka", Part2B: "eka", Part2T: "eka", Scope: 'I', LanguageType: 'L', Name: "Ekajuk"},
"eke": {Part3: "eke", Scope: 'I', LanguageType: 'L', Name: "Ekit"},
"ekg": {Part3: "ekg", Scope: 'I', LanguageType: 'L', Name: "Ekari"},
"eki": {Part3: "eki", Scope: 'I', LanguageType: 'L', Name: "Eki"},
"ekk": {Part3: "ekk", Scope: 'I', LanguageType: 'L', Name: "Standard Estonian"},
"ekl": {Part3: "ekl", Scope: 'I', LanguageType: 'L', Name: "Kol (Bangladesh)"},
"ekm": {Part3: "ekm", Scope: 'I', LanguageType: 'L', Name: "Elip"},
"eko": {Part3: "eko", Scope: 'I', LanguageType: 'L', Name: "Koti"},
"ekp": {Part3: "ekp", Scope: 'I', LanguageType: 'L', Name: "Ekpeye"},
"ekr": {Part3: "ekr", Scope: 'I', LanguageType: 'L', Name: "Yace"},
"eky": {Part3: "eky", Scope: 'I', LanguageType: 'L', Name: "Eastern Kayah"},
"ele": {Part3: "ele", Scope: 'I', LanguageType: 'L', Name: "Elepi"},
"elh": {Part3: "elh", Scope: 'I', LanguageType: 'L', Name: "El Hugeirat"},
"eli": {Part3: "eli", Scope: 'I', LanguageType: 'E', Name: "Nding"},
"elk": {Part3: "elk", Scope: 'I', LanguageType: 'L', Name: "Elkei"},
"ell": {Part3: "ell", Part2B: "gre", Part2T: "ell", Part1: "el", Scope: 'I', LanguageType: 'L', Name: "Modern Greek (1453-)"},
"elm": {Part3: "elm", Scope: 'I', LanguageType: 'L', Name: "Eleme"},
"elo": {Part3: "elo", Scope: 'I', LanguageType: 'L', Name: "El Molo"},
"elu": {Part3: "elu", Scope: 'I', LanguageType: 'L', Name: "Elu"},
"elx": {Part3: "elx", Part2B: "elx", Part2T: "elx", Scope: 'I', LanguageType: 'A', Name: "Elamite"},
"ema": {Part3: "ema", Scope: 'I', LanguageType: 'L', Name: "Emai-Iuleha-Ora"},
"emb": {Part3: "emb", Scope: 'I', LanguageType: 'L', Name: "Embaloh"},
"eme": {Part3: "eme", Scope: 'I', LanguageType: 'L', Name: "Emerillon"},
"emg": {Part3: "emg", Scope: 'I', LanguageType: 'L', Name: "Eastern Meohang"},
"emi": {Part3: "emi", Scope: 'I', LanguageType: 'L', Name: "Mussau-Emira"},
"emk": {Part3: "emk", Scope: 'I', LanguageType: 'L', Name: "Eastern Maninkakan"},
"emm": {Part3: "emm", Scope: 'I', LanguageType: 'E', Name: "Mamulique"},
"emn": {Part3: "emn", Scope: 'I', LanguageType: 'L', Name: "Eman"},
"emp": {Part3: "emp", Scope: 'I', LanguageType: 'L', Name: "Northern Emberá"},
"emq": {Part3: "emq", Scope: 'I', LanguageType: 'L', Name: "Eastern Minyag"},
"ems": {Part3: "ems", Scope: 'I', LanguageType: 'L', Name: "Pacific Gulf Yupik"},
"emu": {Part3: "emu", Scope: 'I', LanguageType: 'L', Name: "Eastern Muria"},
"emw": {Part3: "emw", Scope: 'I', LanguageType: 'L', Name: "Emplawas"},
"emx": {Part3: "emx", Scope: 'I', LanguageType: 'L', Name: "Erromintxela"},
"emy": {Part3: "emy", Scope: 'I', LanguageType: 'A', Name: "<NAME>"},
"emz": {Part3: "emz", Scope: 'I', LanguageType: 'L', Name: "Mbessa"},
"ena": {Part3: "ena", Scope: 'I', LanguageType: 'L', Name: "Apali"},
"enb": {Part3: "enb", Scope: 'I', LanguageType: 'L', Name: "Markweeta"},
"enc": {Part3: "enc", Scope: 'I', LanguageType: 'L', Name: "En"},
"end": {Part3: "end", Scope: 'I', LanguageType: 'L', Name: "Ende"},
"enf": {Part3: "enf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"eng": {Part3: "eng", Part2B: "eng", Part2T: "eng", Part1: "en", Scope: 'I', LanguageType: 'L', Name: "English"},
"enh": {Part3: "enh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"enl": {Part3: "enl", Scope: 'I', LanguageType: 'L', Name: "Enlhet"},
"enm": {Part3: "enm", Part2B: "enm", Part2T: "enm", Scope: 'I', LanguageType: 'H', Name: "Middle English (1100-1500)"},
"enn": {Part3: "enn", Scope: 'I', LanguageType: 'L', Name: "Engenni"},
"eno": {Part3: "eno", Scope: 'I', LanguageType: 'L', Name: "Enggano"},
"enq": {Part3: "enq", Scope: 'I', LanguageType: 'L', Name: "Enga"},
"enr": {Part3: "enr", Scope: 'I', LanguageType: 'L', Name: "Emumu"},
"enu": {Part3: "enu", Scope: 'I', LanguageType: 'L', Name: "Enu"},
"env": {Part3: "env", Scope: 'I', LanguageType: 'L', Name: "Enwan (Edu State)"},
"enw": {Part3: "enw", Scope: 'I', LanguageType: 'L', Name: "Enwan (Akwa Ibom State)"},
"enx": {Part3: "enx", Scope: 'I', LanguageType: 'L', Name: "Enxet"},
"eot": {Part3: "eot", Scope: 'I', LanguageType: 'L', Name: "Beti (Côte d'Ivoire)"},
"epi": {Part3: "epi", Scope: 'I', LanguageType: 'L', Name: "Epie"},
"epo": {Part3: "epo", Part2B: "epo", Part2T: "epo", Part1: "eo", Scope: 'I', LanguageType: 'C', Name: "Esperanto"},
"era": {Part3: "era", Scope: 'I', LanguageType: 'L', Name: "Eravallan"},
"erg": {Part3: "erg", Scope: 'I', LanguageType: 'L', Name: "Sie"},
"erh": {Part3: "erh", Scope: 'I', LanguageType: 'L', Name: "Eruwa"},
"eri": {Part3: "eri", Scope: 'I', LanguageType: 'L', Name: "Ogea"},
"erk": {Part3: "erk", Scope: 'I', LanguageType: 'L', Name: "South Efate"},
"ero": {Part3: "ero", Scope: 'I', LanguageType: 'L', Name: "Horpa"},
"err": {Part3: "err", Scope: 'I', LanguageType: 'E', Name: "Erre"},
"ers": {Part3: "ers", Scope: 'I', LanguageType: 'L', Name: "Ersu"},
"ert": {Part3: "ert", Scope: 'I', LanguageType: 'L', Name: "Eritai"},
"erw": {Part3: "erw", Scope: 'I', LanguageType: 'L', Name: "Erokwanas"},
"ese": {Part3: "ese", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"esg": {Part3: "esg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"esh": {Part3: "esh", Scope: 'I', LanguageType: 'L', Name: "Eshtehardi"},
"esi": {Part3: "esi", Scope: 'I', LanguageType: 'L', Name: "North Alaskan Inupiatun"},
"esk": {Part3: "esk", Scope: 'I', LanguageType: 'L', Name: "Northwest Alaska Inupiatun"},
"esl": {Part3: "esl", Scope: 'I', LanguageType: 'L', Name: "Egypt Sign Language"},
"esm": {Part3: "esm", Scope: 'I', LanguageType: 'E', Name: "Esuma"},
"esn": {Part3: "esn", Scope: 'I', LanguageType: 'L', Name: "Salvadoran Sign Language"},
"eso": {Part3: "eso", Scope: 'I', LanguageType: 'L', Name: "Estonian Sign Language"},
"esq": {Part3: "esq", Scope: 'I', LanguageType: 'E', Name: "Esselen"},
"ess": {Part3: "ess", Scope: 'I', LanguageType: 'L', Name: "Central Siberian Yupik"},
"est": {Part3: "est", Part2B: "est", Part2T: "est", Part1: "et", Scope: 'M', LanguageType: 'L', Name: "Estonian"},
"esu": {Part3: "esu", Scope: 'I', LanguageType: 'L', Name: "Central Yupik"},
"esy": {Part3: "esy", Scope: 'I', LanguageType: 'L', Name: "Eskayan"},
"etb": {Part3: "etb", Scope: 'I', LanguageType: 'L', Name: "Etebi"},
"etc": {Part3: "etc", Scope: 'I', LanguageType: 'E', Name: "Etchemin"},
"eth": {Part3: "eth", Scope: 'I', LanguageType: 'L', Name: "Ethiopian Sign Language"},
"etn": {Part3: "etn", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"eto": {Part3: "eto", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"etr": {Part3: "etr", Scope: 'I', LanguageType: 'L', Name: "Edolo"},
"ets": {Part3: "ets", Scope: 'I', LanguageType: 'L', Name: "Yekhee"},
"ett": {Part3: "ett", Scope: 'I', LanguageType: 'A', Name: "Etruscan"},
"etu": {Part3: "etu", Scope: 'I', LanguageType: 'L', Name: "Ejagham"},
"etx": {Part3: "etx", Scope: 'I', LanguageType: 'L', Name: "Eten"},
"etz": {Part3: "etz", Scope: 'I', LanguageType: 'L', Name: "Semimi"},
"eus": {Part3: "eus", Part2B: "baq", Part2T: "eus", Part1: "eu", Scope: 'I', LanguageType: 'L', Name: "Basque"},
"eve": {Part3: "eve", Scope: 'I', LanguageType: 'L', Name: "Even"},
"evh": {Part3: "evh", Scope: 'I', LanguageType: 'L', Name: "Uvbie"},
"evn": {Part3: "evn", Scope: 'I', LanguageType: 'L', Name: "Evenki"},
"ewe": {Part3: "ewe", Part2B: "ewe", Part2T: "ewe", Part1: "ee", Scope: 'I', LanguageType: 'L', Name: "Ewe"},
"ewo": {Part3: "ewo", Part2B: "ewo", Part2T: "ewo", Scope: 'I', LanguageType: 'L', Name: "Ewondo"},
"ext": {Part3: "ext", Scope: 'I', LanguageType: 'L', Name: "Extremaduran"},
"eya": {Part3: "eya", Scope: 'I', LanguageType: 'E', Name: "Eyak"},
"eyo": {Part3: "eyo", Scope: 'I', LanguageType: 'L', Name: "Keiyo"},
"eza": {Part3: "eza", Scope: 'I', LanguageType: 'L', Name: "Ezaa"},
"eze": {Part3: "eze", Scope: 'I', LanguageType: 'L', Name: "Uzekwe"},
"faa": {Part3: "faa", Scope: 'I', LanguageType: 'L', Name: "Fasu"},
"fab": {Part3: "fab", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"fad": {Part3: "fad", Scope: 'I', LanguageType: 'L', Name: "Wagi"},
"faf": {Part3: "faf", Scope: 'I', LanguageType: 'L', Name: "Fagani"},
"fag": {Part3: "fag", Scope: 'I', LanguageType: 'L', Name: "Finongan"},
"fah": {Part3: "fah", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"fai": {Part3: "fai", Scope: 'I', LanguageType: 'L', Name: "Faiwol"},
"faj": {Part3: "faj", Scope: 'I', LanguageType: 'L', Name: "Faita"},
"fak": {Part3: "fak", Scope: 'I', LanguageType: 'L', Name: "Fang (Cameroon)"},
"fal": {Part3: "fal", Scope: 'I', LanguageType: 'L', Name: "South Fali"},
"fam": {Part3: "fam", Scope: 'I', LanguageType: 'L', Name: "Fam"},
"fan": {Part3: "fan", Part2B: "fan", Part2T: "fan", Scope: 'I', LanguageType: 'L', Name: "Fang (Equatorial Guinea)"},
"fao": {Part3: "fao", Part2B: "fao", Part2T: "fao", Part1: "fo", Scope: 'I', LanguageType: 'L', Name: "Faroese"},
"fap": {Part3: "fap", Scope: 'I', LanguageType: 'L', Name: "Paloor"},
"far": {Part3: "far", Scope: 'I', LanguageType: 'L', Name: "Fataleka"},
"fas": {Part3: "fas", Part2B: "per", Part2T: "fas", Part1: "fa", Scope: 'M', LanguageType: 'L', Name: "Persian"},
"fat": {Part3: "fat", Part2B: "fat", Part2T: "fat", Scope: 'I', LanguageType: 'L', Name: "Fanti"},
"fau": {Part3: "fau", Scope: 'I', LanguageType: 'L', Name: "Fayu"},
"fax": {Part3: "fax", Scope: 'I', LanguageType: 'L', Name: "Fala"},
"fay": {Part3: "fay", Scope: 'I', LanguageType: 'L', Name: "Southwestern Fars"},
"faz": {Part3: "faz", Scope: 'I', LanguageType: 'L', Name: "Northwestern Fars"},
"fbl": {Part3: "fbl", Scope: 'I', LanguageType: 'L', Name: "West Albay Bikol"},
"fcs": {Part3: "fcs", Scope: 'I', LanguageType: 'L', Name: "Quebec Sign Language"},
"fer": {Part3: "fer", Scope: 'I', LanguageType: 'L', Name: "Feroge"},
"ffi": {Part3: "ffi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ffm": {Part3: "ffm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"fgr": {Part3: "fgr", Scope: 'I', LanguageType: 'L', Name: "Fongoro"},
"fia": {Part3: "fia", Scope: 'I', LanguageType: 'L', Name: "Nobiin"},
"fie": {Part3: "fie", Scope: 'I', LanguageType: 'L', Name: "Fyer"},
"fif": {Part3: "fif", Scope: 'I', LanguageType: 'L', Name: "Faifi"},
"fij": {Part3: "fij", Part2B: "fij", Part2T: "fij", Part1: "fj", Scope: 'I', LanguageType: 'L', Name: "Fijian"},
"fil": {Part3: "fil", Part2B: "fil", Part2T: "fil", Scope: 'I', LanguageType: 'L', Name: "Filipino"},
"fin": {Part3: "fin", Part2B: "fin", Part2T: "fin", Part1: "fi", Scope: 'I', LanguageType: 'L', Name: "Finnish"},
"fip": {Part3: "fip", Scope: 'I', LanguageType: 'L', Name: "Fipa"},
"fir": {Part3: "fir", Scope: 'I', LanguageType: 'L', Name: "Firan"},
"fit": {Part3: "fit", Scope: 'I', LanguageType: 'L', Name: "Tornedalen Finnish"},
"fiw": {Part3: "fiw", Scope: 'I', LanguageType: 'L', Name: "Fiwaga"},
"fkk": {Part3: "fkk", Scope: 'I', LanguageType: 'L', Name: "Kirya-Konzəl"},
"fkv": {Part3: "fkv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"fla": {Part3: "fla", Scope: 'I', LanguageType: 'L', Name: "<NAME>'Oreille"},
"flh": {Part3: "flh", Scope: 'I', LanguageType: 'L', Name: "Foau"},
"fli": {Part3: "fli", Scope: 'I', LanguageType: 'L', Name: "Fali"},
"fll": {Part3: "fll", Scope: 'I', LanguageType: 'L', Name: "North Fali"},
"fln": {Part3: "fln", Scope: 'I', LanguageType: 'E', Name: "Fl<NAME>"},
"flr": {Part3: "flr", Scope: 'I', LanguageType: 'L', Name: "Fuliiru"},
"fly": {Part3: "fly", Scope: 'I', LanguageType: 'L', Name: "Flaaitaal"},
"fmp": {Part3: "fmp", Scope: 'I', LanguageType: 'L', Name: "Fe'fe'"},
"fmu": {Part3: "fmu", Scope: 'I', LanguageType: 'L', Name: "Far Western Muria"},
"fnb": {Part3: "fnb", Scope: 'I', LanguageType: 'L', Name: "Fanbak"},
"fng": {Part3: "fng", Scope: 'I', LanguageType: 'L', Name: "Fanagalo"},
"fni": {Part3: "fni", Scope: 'I', LanguageType: 'L', Name: "Fania"},
"fod": {Part3: "fod", Scope: 'I', LanguageType: 'L', Name: "Foodo"},
"foi": {Part3: "foi", Scope: 'I', LanguageType: 'L', Name: "Foi"},
"fom": {Part3: "fom", Scope: 'I', LanguageType: 'L', Name: "Foma"},
"fon": {Part3: "fon", Part2B: "fon", Part2T: "fon", Scope: 'I', LanguageType: 'L', Name: "Fon"},
"for": {Part3: "for", Scope: 'I', LanguageType: 'L', Name: "Fore"},
"fos": {Part3: "fos", Scope: 'I', LanguageType: 'E', Name: "Siraya"},
"fpe": {Part3: "fpe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"fqs": {Part3: "fqs", Scope: 'I', LanguageType: 'L', Name: "Fas"},
"fra": {Part3: "fra", Part2B: "fre", Part2T: "fra", Part1: "fr", Scope: 'I', LanguageType: 'L', Name: "French"},
"frc": {Part3: "frc", Scope: 'I', LanguageType: 'L', Name: "Cajun French"},
"frd": {Part3: "frd", Scope: 'I', LanguageType: 'L', Name: "Fordata"},
"frk": {Part3: "frk", Scope: 'I', LanguageType: 'H', Name: "Frankish"},
"frm": {Part3: "frm", Part2B: "frm", Part2T: "frm", Scope: 'I', LanguageType: 'H', Name: "Middle French (ca. 1400-1600)"},
"fro": {Part3: "fro", Part2B: "fro", Part2T: "fro", Scope: 'I', LanguageType: 'H', Name: "Old French (842-ca. 1400)"},
"frp": {Part3: "frp", Scope: 'I', LanguageType: 'L', Name: "Arpitan"},
"frq": {Part3: "frq", Scope: 'I', LanguageType: 'L', Name: "Forak"},
"frr": {Part3: "frr", Part2B: "frr", Part2T: "frr", Scope: 'I', LanguageType: 'L', Name: "Northern Frisian"},
"frs": {Part3: "frs", Part2B: "frs", Part2T: "frs", Scope: 'I', LanguageType: 'L', Name: "Eastern Frisian"},
"frt": {Part3: "frt", Scope: 'I', LanguageType: 'L', Name: "Fortsenal"},
"fry": {Part3: "fry", Part2B: "fry", Part2T: "fry", Part1: "fy", Scope: 'I', LanguageType: 'L', Name: "Western Frisian"},
"fse": {Part3: "fse", Scope: 'I', LanguageType: 'L', Name: "Finnish Sign Language"},
"fsl": {Part3: "fsl", Scope: 'I', LanguageType: 'L', Name: "French Sign Language"},
"fss": {Part3: "fss", Scope: 'I', LanguageType: 'L', Name: "Finland-Swedish Sign Language"},
"fub": {Part3: "fub", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"fuc": {Part3: "fuc", Scope: 'I', LanguageType: 'L', Name: "Pulaar"},
"fud": {Part3: "fud", Scope: 'I', LanguageType: 'L', Name: "East Futuna"},
"fue": {Part3: "fue", Scope: 'I', LanguageType: 'L', Name: "Borgu Fulfulde"},
"fuf": {Part3: "fuf", Scope: 'I', LanguageType: 'L', Name: "Pular"},
"fuh": {Part3: "fuh", Scope: 'I', LanguageType: 'L', Name: "Western Niger Fulfulde"},
"fui": {Part3: "fui", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"fuj": {Part3: "fuj", Scope: 'I', LanguageType: 'L', Name: "Ko"},
"ful": {Part3: "ful", Part2B: "ful", Part2T: "ful", Part1: "ff", Scope: 'M', LanguageType: 'L', Name: "Fulah"},
"fum": {Part3: "fum", Scope: 'I', LanguageType: 'L', Name: "Fum"},
"fun": {Part3: "fun", Scope: 'I', LanguageType: 'L', Name: "Fulniô"},
"fuq": {Part3: "fuq", Scope: 'I', LanguageType: 'L', Name: "Central-Eastern Niger Fulfulde"},
"fur": {Part3: "fur", Part2B: "fur", Part2T: "fur", Scope: 'I', LanguageType: 'L', Name: "Friulian"},
"fut": {Part3: "fut", Scope: 'I', LanguageType: 'L', Name: "Futuna-Aniwa"},
"fuu": {Part3: "fuu", Scope: 'I', LanguageType: 'L', Name: "Furu"},
"fuv": {Part3: "fuv", Scope: 'I', LanguageType: 'L', Name: "Nigerian Fulfulde"},
"fuy": {Part3: "fuy", Scope: 'I', LanguageType: 'L', Name: "Fuyug"},
"fvr": {Part3: "fvr", Scope: 'I', LanguageType: 'L', Name: "Fur"},
"fwa": {Part3: "fwa", Scope: 'I', LanguageType: 'L', Name: "Fwâi"},
"fwe": {Part3: "fwe", Scope: 'I', LanguageType: 'L', Name: "Fwe"},
"gaa": {Part3: "gaa", Part2B: "gaa", Part2T: "gaa", Scope: 'I', LanguageType: 'L', Name: "Ga"},
"gab": {Part3: "gab", Scope: 'I', LanguageType: 'L', Name: "Gabri"},
"gac": {Part3: "gac", Scope: 'I', LanguageType: 'L', Name: "Mixed Great Andamanese"},
"gad": {Part3: "gad", Scope: 'I', LanguageType: 'L', Name: "Gaddang"},
"gae": {Part3: "gae", Scope: 'I', LanguageType: 'L', Name: "Guarequena"},
"gaf": {Part3: "gaf", Scope: 'I', LanguageType: 'L', Name: "Gende"},
"gag": {Part3: "gag", Scope: 'I', LanguageType: 'L', Name: "Gagauz"},
"gah": {Part3: "gah", Scope: 'I', LanguageType: 'L', Name: "Alekano"},
"gai": {Part3: "gai", Scope: 'I', LanguageType: 'L', Name: "Borei"},
"gaj": {Part3: "gaj", Scope: 'I', LanguageType: 'L', Name: "Gadsup"},
"gak": {Part3: "gak", Scope: 'I', LanguageType: 'L', Name: "Gamkonora"},
"gal": {Part3: "gal", Scope: 'I', LanguageType: 'L', Name: "Galolen"},
"gam": {Part3: "gam", Scope: 'I', LanguageType: 'L', Name: "Kandawo"},
"gan": {Part3: "gan", Scope: 'I', LanguageType: 'L', Name: "G<NAME>"},
"gao": {Part3: "gao", Scope: 'I', LanguageType: 'L', Name: "Gants"},
"gap": {Part3: "gap", Scope: 'I', LanguageType: 'L', Name: "Gal"},
"gaq": {Part3: "gaq", Scope: 'I', LanguageType: 'L', Name: "Gata'"},
"gar": {Part3: "gar", Scope: 'I', LanguageType: 'L', Name: "Galeya"},
"gas": {Part3: "gas", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gat": {Part3: "gat", Scope: 'I', LanguageType: 'L', Name: "Kenati"},
"gau": {Part3: "gau", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gaw": {Part3: "gaw", Scope: 'I', LanguageType: 'L', Name: "Nobonob"},
"gax": {Part3: "gax", Scope: 'I', LanguageType: 'L', Name: "Borana-Arsi-<NAME>"},
"gay": {Part3: "gay", Part2B: "gay", Part2T: "gay", Scope: 'I', LanguageType: 'L', Name: "Gayo"},
"gaz": {Part3: "gaz", Scope: 'I', LanguageType: 'L', Name: "West Central Oromo"},
"gba": {Part3: "gba", Part2B: "gba", Part2T: "gba", Scope: 'M', LanguageType: 'L', Name: "Gbaya (Central African Republic)"},
"gbb": {Part3: "gbb", Scope: 'I', LanguageType: 'L', Name: "Kaytetye"},
"gbd": {Part3: "gbd", Scope: 'I', LanguageType: 'L', Name: "Karajarri"},
"gbe": {Part3: "gbe", Scope: 'I', LanguageType: 'L', Name: "Niksek"},
"gbf": {Part3: "gbf", Scope: 'I', LanguageType: 'L', Name: "Gaikundi"},
"gbg": {Part3: "gbg", Scope: 'I', LanguageType: 'L', Name: "Gbanziri"},
"gbh": {Part3: "gbh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gbi": {Part3: "gbi", Scope: 'I', LanguageType: 'L', Name: "Galela"},
"gbj": {Part3: "gbj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gbk": {Part3: "gbk", Scope: 'I', LanguageType: 'L', Name: "Gaddi"},
"gbl": {Part3: "gbl", Scope: 'I', LanguageType: 'L', Name: "Gamit"},
"gbm": {Part3: "gbm", Scope: 'I', LanguageType: 'L', Name: "Garhwali"},
"gbn": {Part3: "gbn", Scope: 'I', LanguageType: 'L', Name: "Mo'da"},
"gbo": {Part3: "gbo", Scope: 'I', LanguageType: 'L', Name: "Northern Grebo"},
"gbp": {Part3: "gbp", Scope: 'I', LanguageType: 'L', Name: "Gbaya-Bossangoa"},
"gbq": {Part3: "gbq", Scope: 'I', LanguageType: 'L', Name: "Gbaya-Bozoum"},
"gbr": {Part3: "gbr", Scope: 'I', LanguageType: 'L', Name: "Gbagyi"},
"gbs": {Part3: "gbs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gbu": {Part3: "gbu", Scope: 'I', LanguageType: 'L', Name: "Gagadu"},
"gbv": {Part3: "gbv", Scope: 'I', LanguageType: 'L', Name: "Gbanu"},
"gbw": {Part3: "gbw", Scope: 'I', LanguageType: 'L', Name: "Gabi-Gabi"},
"gbx": {Part3: "gbx", Scope: 'I', LanguageType: 'L', Name: "Eastern Xwla Gbe"},
"gby": {Part3: "gby", Scope: 'I', LanguageType: 'L', Name: "Gbari"},
"gbz": {Part3: "gbz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gcc": {Part3: "gcc", Scope: 'I', LanguageType: 'L', Name: "Mali"},
"gcd": {Part3: "gcd", Scope: 'I', LanguageType: 'E', Name: "Ganggalida"},
"gce": {Part3: "gce", Scope: 'I', LanguageType: 'E', Name: "Galice"},
"gcf": {Part3: "gcf", Scope: 'I', LanguageType: 'L', Name: "Guadeloupean Creole French"},
"gcl": {Part3: "gcl", Scope: 'I', LanguageType: 'L', Name: "Grenadian Creole English"},
"gcn": {Part3: "gcn", Scope: 'I', LanguageType: 'L', Name: "Gaina"},
"gcr": {Part3: "gcr", Scope: 'I', LanguageType: 'L', Name: "Gui<NAME> French"},
"gct": {Part3: "gct", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gda": {Part3: "gda", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gdb": {Part3: "gdb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gdc": {Part3: "gdc", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"gdd": {Part3: "gdd", Scope: 'I', LanguageType: 'L', Name: "Gedaged"},
"gde": {Part3: "gde", Scope: 'I', LanguageType: 'L', Name: "Gude"},
"gdf": {Part3: "gdf", Scope: 'I', LanguageType: 'L', Name: "Guduf-Gava"},
"gdg": {Part3: "gdg", Scope: 'I', LanguageType: 'L', Name: "Ga'dang"},
"gdh": {Part3: "gdh", Scope: 'I', LanguageType: 'L', Name: "Gadjerawang"},
"gdi": {Part3: "gdi", Scope: 'I', LanguageType: 'L', Name: "Gundi"},
"gdj": {Part3: "gdj", Scope: 'I', LanguageType: 'L', Name: "Gurdjar"},
"gdk": {Part3: "gdk", Scope: 'I', LanguageType: 'L', Name: "Gadang"},
"gdl": {Part3: "gdl", Scope: 'I', LanguageType: 'L', Name: "Dirasha"},
"gdm": {Part3: "gdm", Scope: 'I', LanguageType: 'L', Name: "Laal"},
"gdn": {Part3: "gdn", Scope: 'I', LanguageType: 'L', Name: "Umanakaina"},
"gdo": {Part3: "gdo", Scope: 'I', LanguageType: 'L', Name: "Ghodoberi"},
"gdq": {Part3: "gdq", Scope: 'I', LanguageType: 'L', Name: "Mehri"},
"gdr": {Part3: "gdr", Scope: 'I', LanguageType: 'L', Name: "Wipi"},
"gds": {Part3: "gds", Scope: 'I', LanguageType: 'L', Name: "Ghandruk Sign Language"},
"gdt": {Part3: "gdt", Scope: 'I', LanguageType: 'E', Name: "Kungardutyi"},
"gdu": {Part3: "gdu", Scope: 'I', LanguageType: 'L', Name: "Gudu"},
"gdx": {Part3: "gdx", Scope: 'I', LanguageType: 'L', Name: "Godwari"},
"gea": {Part3: "gea", Scope: 'I', LanguageType: 'L', Name: "Geruma"},
"geb": {Part3: "geb", Scope: 'I', LanguageType: 'L', Name: "Kire"},
"gec": {Part3: "gec", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ged": {Part3: "ged", Scope: 'I', LanguageType: 'L', Name: "Gade"},
"gef": {Part3: "gef", Scope: 'I', LanguageType: 'L', Name: "Gerai"},
"geg": {Part3: "geg", Scope: 'I', LanguageType: 'L', Name: "Gengle"},
"geh": {Part3: "geh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gei": {Part3: "gei", Scope: 'I', LanguageType: 'L', Name: "Gebe"},
"gej": {Part3: "gej", Scope: 'I', LanguageType: 'L', Name: "Gen"},
"gek": {Part3: "gek", Scope: 'I', LanguageType: 'L', Name: "Ywom"},
"gel": {Part3: "gel", Scope: 'I', LanguageType: 'L', Name: "ut-Ma'in"},
"geq": {Part3: "geq", Scope: 'I', LanguageType: 'L', Name: "Geme"},
"ges": {Part3: "ges", Scope: 'I', LanguageType: 'L', Name: "Geser-Gorom"},
"gev": {Part3: "gev", Scope: 'I', LanguageType: 'L', Name: "Eviya"},
"gew": {Part3: "gew", Scope: 'I', LanguageType: 'L', Name: "Gera"},
"gex": {Part3: "gex", Scope: 'I', LanguageType: 'L', Name: "Garre"},
"gey": {Part3: "gey", Scope: 'I', LanguageType: 'L', Name: "Enya"},
"gez": {Part3: "gez", Part2B: "gez", Part2T: "gez", Scope: 'I', LanguageType: 'A', Name: "Geez"},
"gfk": {Part3: "gfk", Scope: 'I', LanguageType: 'L', Name: "Patpatar"},
"gft": {Part3: "gft", Scope: 'I', LanguageType: 'E', Name: "Gafat"},
"gga": {Part3: "gga", Scope: 'I', LanguageType: 'L', Name: "Gao"},
"ggb": {Part3: "ggb", Scope: 'I', LanguageType: 'L', Name: "Gbii"},
"ggd": {Part3: "ggd", Scope: 'I', LanguageType: 'E', Name: "Gugadj"},
"gge": {Part3: "gge", Scope: 'I', LanguageType: 'L', Name: "Gurr-goni"},
"ggg": {Part3: "ggg", Scope: 'I', LanguageType: 'L', Name: "Gurgula"},
"ggk": {Part3: "ggk", Scope: 'I', LanguageType: 'E', Name: "Kungarakany"},
"ggl": {Part3: "ggl", Scope: 'I', LanguageType: 'L', Name: "Ganglau"},
"ggt": {Part3: "ggt", Scope: 'I', LanguageType: 'L', Name: "Gitua"},
"ggu": {Part3: "ggu", Scope: 'I', LanguageType: 'L', Name: "Gagu"},
"ggw": {Part3: "ggw", Scope: 'I', LanguageType: 'L', Name: "Gogodala"},
"gha": {Part3: "gha", Scope: 'I', LanguageType: 'L', Name: "Ghadamès"},
"ghc": {Part3: "ghc", Scope: 'I', LanguageType: 'H', Name: "<NAME>"},
"ghe": {Part3: "ghe", Scope: 'I', LanguageType: 'L', Name: "Southern Ghale"},
"ghh": {Part3: "ghh", Scope: 'I', LanguageType: 'L', Name: "Northern Ghale"},
"ghk": {Part3: "ghk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ghl": {Part3: "ghl", Scope: 'I', LanguageType: 'L', Name: "Ghulfan"},
"ghn": {Part3: "ghn", Scope: 'I', LanguageType: 'L', Name: "Ghanongga"},
"gho": {Part3: "gho", Scope: 'I', LanguageType: 'E', Name: "Ghomara"},
"ghr": {Part3: "ghr", Scope: 'I', LanguageType: 'L', Name: "Ghera"},
"ghs": {Part3: "ghs", Scope: 'I', LanguageType: 'L', Name: "Guhu-Samane"},
"ght": {Part3: "ght", Scope: 'I', LanguageType: 'L', Name: "Kuke"},
"gia": {Part3: "gia", Scope: 'I', LanguageType: 'L', Name: "Kija"},
"gib": {Part3: "gib", Scope: 'I', LanguageType: 'L', Name: "Gibanawa"},
"gic": {Part3: "gic", Scope: 'I', LanguageType: 'L', Name: "Gail"},
"gid": {Part3: "gid", Scope: 'I', LanguageType: 'L', Name: "Gidar"},
"gie": {Part3: "gie", Scope: 'I', LanguageType: 'L', Name: "Gaɓogbo"},
"gig": {Part3: "gig", Scope: 'I', LanguageType: 'L', Name: "Goaria"},
"gih": {Part3: "gih", Scope: 'I', LanguageType: 'L', Name: "Githabul"},
"gii": {Part3: "gii", Scope: 'I', LanguageType: 'L', Name: "Girirra"},
"gil": {Part3: "gil", Part2B: "gil", Part2T: "gil", Scope: 'I', LanguageType: 'L', Name: "Gilbertese"},
"gim": {Part3: "gim", Scope: 'I', LanguageType: 'L', Name: "Gimi (Eastern Highlands)"},
"gin": {Part3: "gin", Scope: 'I', LanguageType: 'L', Name: "Hinukh"},
"gip": {Part3: "gip", Scope: 'I', LanguageType: 'L', Name: "Gimi (West New Britain)"},
"giq": {Part3: "giq", Scope: 'I', LanguageType: 'L', Name: "Green Gelao"},
"gir": {Part3: "gir", Scope: 'I', LanguageType: 'L', Name: "Red Gelao"},
"gis": {Part3: "gis", Scope: 'I', LanguageType: 'L', Name: "North Giziga"},
"git": {Part3: "git", Scope: 'I', LanguageType: 'L', Name: "Gitxsan"},
"giu": {Part3: "giu", Scope: 'I', LanguageType: 'L', Name: "Mulao"},
"giw": {Part3: "giw", Scope: 'I', LanguageType: 'L', Name: "White Gelao"},
"gix": {Part3: "gix", Scope: 'I', LanguageType: 'L', Name: "Gilima"},
"giy": {Part3: "giy", Scope: 'I', LanguageType: 'L', Name: "Giyug"},
"giz": {Part3: "giz", Scope: 'I', LanguageType: 'L', Name: "South Giziga"},
"gjk": {Part3: "gjk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gjm": {Part3: "gjm", Scope: 'I', LanguageType: 'E', Name: "Gunditjmara"},
"gjn": {Part3: "gjn", Scope: 'I', LanguageType: 'L', Name: "Gonja"},
"gjr": {Part3: "gjr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gju": {Part3: "gju", Scope: 'I', LanguageType: 'L', Name: "Gujari"},
"gka": {Part3: "gka", Scope: 'I', LanguageType: 'L', Name: "Guya"},
"gkd": {Part3: "gkd", Scope: 'I', LanguageType: 'L', Name: "Magɨ (Madang Province)"},
"gke": {Part3: "gke", Scope: 'I', LanguageType: 'L', Name: "Ndai"},
"gkn": {Part3: "gkn", Scope: 'I', LanguageType: 'L', Name: "Gokana"},
"gko": {Part3: "gko", Scope: 'I', LanguageType: 'E', Name: "Kok-Nar"},
"gkp": {Part3: "gkp", Scope: 'I', LanguageType: 'L', Name: "Gu<NAME>"},
"gku": {Part3: "gku", Scope: 'I', LanguageType: 'E', Name: "ǂUngkue"},
"gla": {Part3: "gla", Part2B: "gla", Part2T: "gla", Part1: "gd", Scope: 'I', LanguageType: 'L', Name: "Scottish Gaelic"},
"glb": {Part3: "glb", Scope: 'I', LanguageType: 'L', Name: "Belning"},
"glc": {Part3: "glc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gld": {Part3: "gld", Scope: 'I', LanguageType: 'L', Name: "Nanai"},
"gle": {Part3: "gle", Part2B: "gle", Part2T: "gle", Part1: "ga", Scope: 'I', LanguageType: 'L', Name: "Irish"},
"glg": {Part3: "glg", Part2B: "glg", Part2T: "glg", Part1: "gl", Scope: 'I', LanguageType: 'L', Name: "Galician"},
"glh": {Part3: "glh", Scope: 'I', LanguageType: 'L', Name: "Northwest Pashai"},
"glj": {Part3: "glj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"glk": {Part3: "glk", Scope: 'I', LanguageType: 'L', Name: "Gilaki"},
"gll": {Part3: "gll", Scope: 'I', LanguageType: 'E', Name: "Garlali"},
"glo": {Part3: "glo", Scope: 'I', LanguageType: 'L', Name: "Galambu"},
"glr": {Part3: "glr", Scope: 'I', LanguageType: 'L', Name: "Glaro-Twabo"},
"glu": {Part3: "glu", Scope: 'I', LanguageType: 'L', Name: "Gula (Chad)"},
"glv": {Part3: "glv", Part2B: "glv", Part2T: "glv", Part1: "gv", Scope: 'I', LanguageType: 'L', Name: "Manx"},
"glw": {Part3: "glw", Scope: 'I', LanguageType: 'L', Name: "Glavda"},
"gly": {Part3: "gly", Scope: 'I', LanguageType: 'E', Name: "Gule"},
"gma": {Part3: "gma", Scope: 'I', LanguageType: 'E', Name: "Gambera"},
"gmb": {Part3: "gmb", Scope: 'I', LanguageType: 'L', Name: "Gula'alaa"},
"gmd": {Part3: "gmd", Scope: 'I', LanguageType: 'L', Name: "Mághdì"},
"gmg": {Part3: "gmg", Scope: 'I', LanguageType: 'L', Name: "Magɨyi"},
"gmh": {Part3: "gmh", Part2B: "gmh", Part2T: "gmh", Scope: 'I', LanguageType: 'H', Name: "Middle High German (ca. 1050-1500)"},
"gml": {Part3: "gml", Scope: 'I', LanguageType: 'H', Name: "Middle Low German"},
"gmm": {Part3: "gmm", Scope: 'I', LanguageType: 'L', Name: "Gbaya-Mbodomo"},
"gmn": {Part3: "gmn", Scope: 'I', LanguageType: 'L', Name: "Gimnime"},
"gmr": {Part3: "gmr", Scope: 'I', LanguageType: 'L', Name: "Mirning"},
"gmu": {Part3: "gmu", Scope: 'I', LanguageType: 'L', Name: "Gumalu"},
"gmv": {Part3: "gmv", Scope: 'I', LanguageType: 'L', Name: "Gamo"},
"gmx": {Part3: "gmx", Scope: 'I', LanguageType: 'L', Name: "Magoma"},
"gmy": {Part3: "gmy", Scope: 'I', LanguageType: 'A', Name: "Mycenaean Greek"},
"gmz": {Part3: "gmz", Scope: 'I', LanguageType: 'L', Name: "Mgbolizhia"},
"gna": {Part3: "gna", Scope: 'I', LanguageType: 'L', Name: "Kaansa"},
"gnb": {Part3: "gnb", Scope: 'I', LanguageType: 'L', Name: "Gangte"},
"gnc": {Part3: "gnc", Scope: 'I', LanguageType: 'E', Name: "Guanche"},
"gnd": {Part3: "gnd", Scope: 'I', LanguageType: 'L', Name: "Zulgo-Gemzek"},
"gne": {Part3: "gne", Scope: 'I', LanguageType: 'L', Name: "Ganang"},
"gng": {Part3: "gng", Scope: 'I', LanguageType: 'L', Name: "Ngangam"},
"gnh": {Part3: "gnh", Scope: 'I', LanguageType: 'L', Name: "Lere"},
"gni": {Part3: "gni", Scope: 'I', LanguageType: 'L', Name: "Gooniyandi"},
"gnj": {Part3: "gnj", Scope: 'I', LanguageType: 'L', Name: "Ngen"},
"gnk": {Part3: "gnk", Scope: 'I', LanguageType: 'L', Name: "ǁGana"},
"gnl": {Part3: "gnl", Scope: 'I', LanguageType: 'E', Name: "Gangulu"},
"gnm": {Part3: "gnm", Scope: 'I', LanguageType: 'L', Name: "Ginuman"},
"gnn": {Part3: "gnn", Scope: 'I', LanguageType: 'L', Name: "Gumatj"},
"gno": {Part3: "gno", Scope: 'I', LanguageType: 'L', Name: "Northern Gondi"},
"gnq": {Part3: "gnq", Scope: 'I', LanguageType: 'L', Name: "Gana"},
"gnr": {Part3: "gnr", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"gnt": {Part3: "gnt", Scope: 'I', LanguageType: 'L', Name: "Guntai"},
"gnu": {Part3: "gnu", Scope: 'I', LanguageType: 'L', Name: "Gnau"},
"gnw": {Part3: "gnw", Scope: 'I', LanguageType: 'L', Name: "Western Bolivian Guaraní"},
"gnz": {Part3: "gnz", Scope: 'I', LanguageType: 'L', Name: "Ganzi"},
"goa": {Part3: "goa", Scope: 'I', LanguageType: 'L', Name: "Guro"},
"gob": {Part3: "gob", Scope: 'I', LanguageType: 'L', Name: "Playero"},
"goc": {Part3: "goc", Scope: 'I', LanguageType: 'L', Name: "Gorakor"},
"god": {Part3: "god", Scope: 'I', LanguageType: 'L', Name: "Godié"},
"goe": {Part3: "goe", Scope: 'I', LanguageType: 'L', Name: "Gongduk"},
"gof": {Part3: "gof", Scope: 'I', LanguageType: 'L', Name: "Gofa"},
"gog": {Part3: "gog", Scope: 'I', LanguageType: 'L', Name: "Gogo"},
"goh": {Part3: "goh", Part2B: "goh", Part2T: "goh", Scope: 'I', LanguageType: 'H', Name: "Old High German (ca. 750-1050)"},
"goi": {Part3: "goi", Scope: 'I', LanguageType: 'L', Name: "Gobasi"},
"goj": {Part3: "goj", Scope: 'I', LanguageType: 'L', Name: "Gowlan"},
"gok": {Part3: "gok", Scope: 'I', LanguageType: 'L', Name: "Gowli"},
"gol": {Part3: "gol", Scope: 'I', LanguageType: 'L', Name: "Gola"},
"gom": {Part3: "gom", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gon": {Part3: "gon", Part2B: "gon", Part2T: "gon", Scope: 'M', LanguageType: 'L', Name: "Gondi"},
"goo": {Part3: "goo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gop": {Part3: "gop", Scope: 'I', LanguageType: 'L', Name: "Yeretuar"},
"goq": {Part3: "goq", Scope: 'I', LanguageType: 'L', Name: "Gorap"},
"gor": {Part3: "gor", Part2B: "gor", Part2T: "gor", Scope: 'I', LanguageType: 'L', Name: "Gorontalo"},
"gos": {Part3: "gos", Scope: 'I', LanguageType: 'L', Name: "Gronings"},
"got": {Part3: "got", Part2B: "got", Part2T: "got", Scope: 'I', LanguageType: 'A', Name: "Gothic"},
"gou": {Part3: "gou", Scope: 'I', LanguageType: 'L', Name: "Gavar"},
"gow": {Part3: "gow", Scope: 'I', LanguageType: 'L', Name: "Gorowa"},
"gox": {Part3: "gox", Scope: 'I', LanguageType: 'L', Name: "Gobu"},
"goy": {Part3: "goy", Scope: 'I', LanguageType: 'L', Name: "Goundo"},
"goz": {Part3: "goz", Scope: 'I', LanguageType: 'L', Name: "Gozarkhani"},
"gpa": {Part3: "gpa", Scope: 'I', LanguageType: 'L', Name: "Gupa-Abawa"},
"gpe": {Part3: "gpe", Scope: 'I', LanguageType: 'L', Name: "Ghanaian Pidgin English"},
"gpn": {Part3: "gpn", Scope: 'I', LanguageType: 'L', Name: "Taiap"},
"gqa": {Part3: "gqa", Scope: 'I', LanguageType: 'L', Name: "Ga'anda"},
"gqi": {Part3: "gqi", Scope: 'I', LanguageType: 'L', Name: "Guiqiong"},
"gqn": {Part3: "gqn", Scope: 'I', LanguageType: 'E', Name: "Guana (Brazil)"},
"gqr": {Part3: "gqr", Scope: 'I', LanguageType: 'L', Name: "Gor"},
"gqu": {Part3: "gqu", Scope: 'I', LanguageType: 'L', Name: "Qau"},
"gra": {Part3: "gra", Scope: 'I', LanguageType: 'L', Name: "Rajput Garasia"},
"grb": {Part3: "grb", Part2B: "grb", Part2T: "grb", Scope: 'M', LanguageType: 'L', Name: "Grebo"},
"grc": {Part3: "grc", Part2B: "grc", Part2T: "grc", Scope: 'I', LanguageType: 'H', Name: "Ancient Greek (to 1453)"},
"grd": {Part3: "grd", Scope: 'I', LanguageType: 'L', Name: "Guruntum-Mbaaru"},
"grg": {Part3: "grg", Scope: 'I', LanguageType: 'L', Name: "Madi"},
"grh": {Part3: "grh", Scope: 'I', LanguageType: 'L', Name: "Gbiri-Niragu"},
"gri": {Part3: "gri", Scope: 'I', LanguageType: 'L', Name: "Ghari"},
"grj": {Part3: "grj", Scope: 'I', LanguageType: 'L', Name: "Southern Grebo"},
"grm": {Part3: "grm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"grn": {Part3: "grn", Part2B: "grn", Part2T: "grn", Part1: "gn", Scope: 'M', LanguageType: 'L', Name: "Guarani"},
"gro": {Part3: "gro", Scope: 'I', LanguageType: 'L', Name: "Groma"},
"grq": {Part3: "grq", Scope: 'I', LanguageType: 'L', Name: "Gorovu"},
"grr": {Part3: "grr", Scope: 'I', LanguageType: 'L', Name: "Taznatit"},
"grs": {Part3: "grs", Scope: 'I', LanguageType: 'L', Name: "Gresi"},
"grt": {Part3: "grt", Scope: 'I', LanguageType: 'L', Name: "Garo"},
"gru": {Part3: "gru", Scope: 'I', LanguageType: 'L', Name: "Kistane"},
"grv": {Part3: "grv", Scope: 'I', LanguageType: 'L', Name: "Central Grebo"},
"grw": {Part3: "grw", Scope: 'I', LanguageType: 'L', Name: "Gweda"},
"grx": {Part3: "grx", Scope: 'I', LanguageType: 'L', Name: "Guriaso"},
"gry": {Part3: "gry", Scope: 'I', LanguageType: 'L', Name: "Barclayville Grebo"},
"grz": {Part3: "grz", Scope: 'I', LanguageType: 'L', Name: "Guramalum"},
"gse": {Part3: "gse", Scope: 'I', LanguageType: 'L', Name: "Ghanaian Sign Language"},
"gsg": {Part3: "gsg", Scope: 'I', LanguageType: 'L', Name: "German Sign Language"},
"gsl": {Part3: "gsl", Scope: 'I', LanguageType: 'L', Name: "Gusilay"},
"gsm": {Part3: "gsm", Scope: 'I', LanguageType: 'L', Name: "Guatemalan Sign Language"},
"gsn": {Part3: "gsn", Scope: 'I', LanguageType: 'L', Name: "Nema"},
"gso": {Part3: "gso", Scope: 'I', LanguageType: 'L', Name: "Southwest Gbaya"},
"gsp": {Part3: "gsp", Scope: 'I', LanguageType: 'L', Name: "Wasembo"},
"gss": {Part3: "gss", Scope: 'I', LanguageType: 'L', Name: "Greek Sign Language"},
"gsw": {Part3: "gsw", Part2B: "gsw", Part2T: "gsw", Scope: 'I', LanguageType: 'L', Name: "Swiss German"},
"gta": {Part3: "gta", Scope: 'I', LanguageType: 'L', Name: "Guató"},
"gtu": {Part3: "gtu", Scope: 'I', LanguageType: 'E', Name: "Aghu-Tharnggala"},
"gua": {Part3: "gua", Scope: 'I', LanguageType: 'L', Name: "Shiki"},
"gub": {Part3: "gub", Scope: 'I', LanguageType: 'L', Name: "Guajajára"},
"guc": {Part3: "guc", Scope: 'I', LanguageType: 'L', Name: "Wayuu"},
"gud": {Part3: "gud", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gue": {Part3: "gue", Scope: 'I', LanguageType: 'L', Name: "Gurindji"},
"guf": {Part3: "guf", Scope: 'I', LanguageType: 'L', Name: "Gupapuyngu"},
"gug": {Part3: "gug", Scope: 'I', LanguageType: 'L', Name: "Paraguayan Guaraní"},
"guh": {Part3: "guh", Scope: 'I', LanguageType: 'L', Name: "Guahibo"},
"gui": {Part3: "gui", Scope: 'I', LanguageType: 'L', Name: "Eastern Bolivian Guaraní"},
"guj": {Part3: "guj", Part2B: "guj", Part2T: "guj", Part1: "gu", Scope: 'I', LanguageType: 'L', Name: "Gujarati"},
"guk": {Part3: "guk", Scope: 'I', LanguageType: 'L', Name: "Gumuz"},
"gul": {Part3: "gul", Scope: 'I', LanguageType: 'L', Name: "Sea Island Creole English"},
"gum": {Part3: "gum", Scope: 'I', LanguageType: 'L', Name: "Guambiano"},
"gun": {Part3: "gun", Scope: 'I', LanguageType: 'L', Name: "M<NAME>"},
"guo": {Part3: "guo", Scope: 'I', LanguageType: 'L', Name: "Guayabero"},
"gup": {Part3: "gup", Scope: 'I', LanguageType: 'L', Name: "Gunwinggu"},
"guq": {Part3: "guq", Scope: 'I', LanguageType: 'L', Name: "Aché"},
"gur": {Part3: "gur", Scope: 'I', LanguageType: 'L', Name: "Farefare"},
"gus": {Part3: "gus", Scope: 'I', LanguageType: 'L', Name: "Guinean Sign Language"},
"gut": {Part3: "gut", Scope: 'I', LanguageType: 'L', Name: "Maléku Jaíka"},
"guu": {Part3: "guu", Scope: 'I', LanguageType: 'L', Name: "Yanomamö"},
"guw": {Part3: "guw", Scope: 'I', LanguageType: 'L', Name: "Gun"},
"gux": {Part3: "gux", Scope: 'I', LanguageType: 'L', Name: "Gourmanchéma"},
"guz": {Part3: "guz", Scope: 'I', LanguageType: 'L', Name: "Gusii"},
"gva": {Part3: "gva", Scope: 'I', LanguageType: 'L', Name: "Guana (Paraguay)"},
"gvc": {Part3: "gvc", Scope: 'I', LanguageType: 'L', Name: "Guanano"},
"gve": {Part3: "gve", Scope: 'I', LanguageType: 'L', Name: "Duwet"},
"gvf": {Part3: "gvf", Scope: 'I', LanguageType: 'L', Name: "Golin"},
"gvj": {Part3: "gvj", Scope: 'I', LanguageType: 'L', Name: "Guajá"},
"gvl": {Part3: "gvl", Scope: 'I', LanguageType: 'L', Name: "Gulay"},
"gvm": {Part3: "gvm", Scope: 'I', LanguageType: 'L', Name: "Gurmana"},
"gvn": {Part3: "gvn", Scope: 'I', LanguageType: 'L', Name: "Kuku-Yalanji"},
"gvo": {Part3: "gvo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gvp": {Part3: "gvp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"gvr": {Part3: "gvr", Scope: 'I', LanguageType: 'L', Name: "Gurung"},
"gvs": {Part3: "gvs", Scope: 'I', LanguageType: 'L', Name: "Gumawana"},
"gvy": {Part3: "gvy", Scope: 'I', LanguageType: 'E', Name: "Guyani"},
"gwa": {Part3: "gwa", Scope: 'I', LanguageType: 'L', Name: "Mbato"},
"gwb": {Part3: "gwb", Scope: 'I', LanguageType: 'L', Name: "Gwa"},
"gwc": {Part3: "gwc", Scope: 'I', LanguageType: 'L', Name: "Gawri"},
"gwd": {Part3: "gwd", Scope: 'I', LanguageType: 'L', Name: "Gawwada"},
"gwe": {Part3: "gwe", Scope: 'I', LanguageType: 'L', Name: "Gweno"},
"gwf": {Part3: "gwf", Scope: 'I', LanguageType: 'L', Name: "Gowro"},
"gwg": {Part3: "gwg", Scope: 'I', LanguageType: 'L', Name: "Moo"},
"gwi": {Part3: "gwi", Part2B: "gwi", Part2T: "gwi", Scope: 'I', LanguageType: 'L', Name: "Gwichʼin"},
"gwj": {Part3: "gwj", Scope: 'I', LanguageType: 'L', Name: "ǀGwi"},
"gwm": {Part3: "gwm", Scope: 'I', LanguageType: 'E', Name: "Awngthim"},
"gwn": {Part3: "gwn", Scope: 'I', LanguageType: 'L', Name: "Gwandara"},
"gwr": {Part3: "gwr", Scope: 'I', LanguageType: 'L', Name: "Gwere"},
"gwt": {Part3: "gwt", Scope: 'I', LanguageType: 'L', Name: "Gawar-Bati"},
"gwu": {Part3: "gwu", Scope: 'I', LanguageType: 'E', Name: "Guwamu"},
"gww": {Part3: "gww", Scope: 'I', LanguageType: 'L', Name: "Kwini"},
"gwx": {Part3: "gwx", Scope: 'I', LanguageType: 'L', Name: "Gua"},
"gxx": {Part3: "gxx", Scope: 'I', LanguageType: 'L', Name: "Wè Southern"},
"gya": {Part3: "gya", Scope: 'I', LanguageType: 'L', Name: "Northwest Gbaya"},
"gyb": {Part3: "gyb", Scope: 'I', LanguageType: 'L', Name: "Garus"},
"gyd": {Part3: "gyd", Scope: 'I', LanguageType: 'L', Name: "Kayardild"},
"gye": {Part3: "gye", Scope: 'I', LanguageType: 'L', Name: "Gyem"},
"gyf": {Part3: "gyf", Scope: 'I', LanguageType: 'E', Name: "Gungabula"},
"gyg": {Part3: "gyg", Scope: 'I', LanguageType: 'L', Name: "Gbayi"},
"gyi": {Part3: "gyi", Scope: 'I', LanguageType: 'L', Name: "Gyele"},
"gyl": {Part3: "gyl", Scope: 'I', LanguageType: 'L', Name: "Gayil"},
"gym": {Part3: "gym", Scope: 'I', LanguageType: 'L', Name: "Ngäbere"},
"gyn": {Part3: "gyn", Scope: 'I', LanguageType: 'L', Name: "Guyanese Creole English"},
"gyo": {Part3: "gyo", Scope: 'I', LanguageType: 'L', Name: "Gyalsumdo"},
"gyr": {Part3: "gyr", Scope: 'I', LanguageType: 'L', Name: "Guarayu"},
"gyy": {Part3: "gyy", Scope: 'I', LanguageType: 'E', Name: "Gunya"},
"gyz": {Part3: "gyz", Scope: 'I', LanguageType: 'L', Name: "Geji"},
"gza": {Part3: "gza", Scope: 'I', LanguageType: 'L', Name: "Ganza"},
"gzi": {Part3: "gzi", Scope: 'I', LanguageType: 'L', Name: "Gazi"},
"gzn": {Part3: "gzn", Scope: 'I', LanguageType: 'L', Name: "Gane"},
"haa": {Part3: "haa", Scope: 'I', LanguageType: 'L', Name: "Han"},
"hab": {Part3: "hab", Scope: 'I', LanguageType: 'L', Name: "Hanoi Sign Language"},
"hac": {Part3: "hac", Scope: 'I', LanguageType: 'L', Name: "Gurani"},
"had": {Part3: "had", Scope: 'I', LanguageType: 'L', Name: "Hatam"},
"hae": {Part3: "hae", Scope: 'I', LanguageType: 'L', Name: "Eastern Oromo"},
"haf": {Part3: "haf", Scope: 'I', LanguageType: 'L', Name: "Haiphong Sign Language"},
"hag": {Part3: "hag", Scope: 'I', LanguageType: 'L', Name: "Hanga"},
"hah": {Part3: "hah", Scope: 'I', LanguageType: 'L', Name: "Hahon"},
"hai": {Part3: "hai", Part2B: "hai", Part2T: "hai", Scope: 'M', LanguageType: 'L', Name: "Haida"},
"haj": {Part3: "haj", Scope: 'I', LanguageType: 'L', Name: "Hajong"},
"hak": {Part3: "hak", Scope: 'I', LanguageType: 'L', Name: "Hakka Chinese"},
"hal": {Part3: "hal", Scope: 'I', LanguageType: 'L', Name: "Halang"},
"ham": {Part3: "ham", Scope: 'I', LanguageType: 'L', Name: "Hewa"},
"han": {Part3: "han", Scope: 'I', LanguageType: 'L', Name: "Hangaza"},
"hao": {Part3: "hao", Scope: 'I', LanguageType: 'L', Name: "Hakö"},
"hap": {Part3: "hap", Scope: 'I', LanguageType: 'L', Name: "Hupla"},
"haq": {Part3: "haq", Scope: 'I', LanguageType: 'L', Name: "Ha"},
"har": {Part3: "har", Scope: 'I', LanguageType: 'L', Name: "Harari"},
"has": {Part3: "has", Scope: 'I', LanguageType: 'L', Name: "Haisla"},
"hat": {Part3: "hat", Part2B: "hat", Part2T: "hat", Part1: "ht", Scope: 'I', LanguageType: 'L', Name: "Haitian"},
"hau": {Part3: "hau", Part2B: "hau", Part2T: "hau", Part1: "ha", Scope: 'I', LanguageType: 'L', Name: "Hausa"},
"hav": {Part3: "hav", Scope: 'I', LanguageType: 'L', Name: "Havu"},
"haw": {Part3: "haw", Part2B: "haw", Part2T: "haw", Scope: 'I', LanguageType: 'L', Name: "Hawaiian"},
"hax": {Part3: "hax", Scope: 'I', LanguageType: 'L', Name: "Southern Haida"},
"hay": {Part3: "hay", Scope: 'I', LanguageType: 'L', Name: "Haya"},
"haz": {Part3: "haz", Scope: 'I', LanguageType: 'L', Name: "Hazaragi"},
"hba": {Part3: "hba", Scope: 'I', LanguageType: 'L', Name: "Hamba"},
"hbb": {Part3: "hbb", Scope: 'I', LanguageType: 'L', Name: "Huba"},
"hbn": {Part3: "hbn", Scope: 'I', LanguageType: 'L', Name: "Heiban"},
"hbo": {Part3: "hbo", Scope: 'I', LanguageType: 'H', Name: "An<NAME>"},
"hbs": {Part3: "hbs", Part1: "sh", Scope: 'M', LanguageType: 'L', Name: "Serbo-Croatian", Comment: "Code element for 639-1 has been deprecated"},
"hbu": {Part3: "hbu", Scope: 'I', LanguageType: 'L', Name: "Habu"},
"hca": {Part3: "hca", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hch": {Part3: "hch", Scope: 'I', LanguageType: 'L', Name: "Huichol"},
"hdn": {Part3: "hdn", Scope: 'I', LanguageType: 'L', Name: "Northern Haida"},
"hds": {Part3: "hds", Scope: 'I', LanguageType: 'L', Name: "Honduras Sign Language"},
"hdy": {Part3: "hdy", Scope: 'I', LanguageType: 'L', Name: "Hadiyya"},
"hea": {Part3: "hea", Scope: 'I', LanguageType: 'L', Name: "Northern Qiandong Miao"},
"heb": {Part3: "heb", Part2B: "heb", Part2T: "heb", Part1: "he", Scope: 'I', LanguageType: 'L', Name: "Hebrew"},
"hed": {Part3: "hed", Scope: 'I', LanguageType: 'L', Name: "Herdé"},
"heg": {Part3: "heg", Scope: 'I', LanguageType: 'L', Name: "Helong"},
"heh": {Part3: "heh", Scope: 'I', LanguageType: 'L', Name: "Hehe"},
"hei": {Part3: "hei", Scope: 'I', LanguageType: 'L', Name: "Heiltsuk"},
"hem": {Part3: "hem", Scope: 'I', LanguageType: 'L', Name: "Hemba"},
"her": {Part3: "her", Part2B: "her", Part2T: "her", Part1: "hz", Scope: 'I', LanguageType: 'L', Name: "Herero"},
"hgm": {Part3: "hgm", Scope: 'I', LanguageType: 'L', Name: "Haiǁom"},
"hgw": {Part3: "hgw", Scope: 'I', LanguageType: 'L', Name: "Haigwai"},
"hhi": {Part3: "hhi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hhr": {Part3: "hhr", Scope: 'I', LanguageType: 'L', Name: "Kerak"},
"hhy": {Part3: "hhy", Scope: 'I', LanguageType: 'L', Name: "Hoyahoya"},
"hia": {Part3: "hia", Scope: 'I', LanguageType: 'L', Name: "Lamang"},
"hib": {Part3: "hib", Scope: 'I', LanguageType: 'E', Name: "Hibito"},
"hid": {Part3: "hid", Scope: 'I', LanguageType: 'L', Name: "Hidatsa"},
"hif": {Part3: "hif", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hig": {Part3: "hig", Scope: 'I', LanguageType: 'L', Name: "Kamwe"},
"hih": {Part3: "hih", Scope: 'I', LanguageType: 'L', Name: "Pamosu"},
"hii": {Part3: "hii", Scope: 'I', LanguageType: 'L', Name: "Hinduri"},
"hij": {Part3: "hij", Scope: 'I', LanguageType: 'L', Name: "Hijuk"},
"hik": {Part3: "hik", Scope: 'I', LanguageType: 'L', Name: "Seit-Kaitetu"},
"hil": {Part3: "hil", Part2B: "hil", Part2T: "hil", Scope: 'I', LanguageType: 'L', Name: "Hiligaynon"},
"hin": {Part3: "hin", Part2B: "hin", Part2T: "hin", Part1: "hi", Scope: 'I', LanguageType: 'L', Name: "Hindi"},
"hio": {Part3: "hio", Scope: 'I', LanguageType: 'L', Name: "Tsoa"},
"hir": {Part3: "hir", Scope: 'I', LanguageType: 'L', Name: "Himarimã"},
"hit": {Part3: "hit", Part2B: "hit", Part2T: "hit", Scope: 'I', LanguageType: 'A', Name: "Hittite"},
"hiw": {Part3: "hiw", Scope: 'I', LanguageType: 'L', Name: "Hiw"},
"hix": {Part3: "hix", Scope: 'I', LanguageType: 'L', Name: "Hixkaryána"},
"hji": {Part3: "hji", Scope: 'I', LanguageType: 'L', Name: "Haji"},
"hka": {Part3: "hka", Scope: 'I', LanguageType: 'L', Name: "Kahe"},
"hke": {Part3: "hke", Scope: 'I', LanguageType: 'L', Name: "Hunde"},
"hkh": {Part3: "hkh", Scope: 'I', LanguageType: 'L', Name: "Khah"},
"hkk": {Part3: "hkk", Scope: 'I', LanguageType: 'L', Name: "Hunjara-Kaina Ke"},
"hkn": {Part3: "hkn", Scope: 'I', LanguageType: 'L', Name: "Mel-Khaonh"},
"hks": {Part3: "hks", Scope: 'I', LanguageType: 'L', Name: "Hong Kong Sign Language"},
"hla": {Part3: "hla", Scope: 'I', LanguageType: 'L', Name: "Halia"},
"hlb": {Part3: "hlb", Scope: 'I', LanguageType: 'L', Name: "Halbi"},
"hld": {Part3: "hld", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hle": {Part3: "hle", Scope: 'I', LanguageType: 'L', Name: "Hlersu"},
"hlt": {Part3: "hlt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hlu": {Part3: "hlu", Scope: 'I', LanguageType: 'A', Name: "Hieroglyphic Luwian"},
"hma": {Part3: "hma", Scope: 'I', LanguageType: 'L', Name: "Southern Mashan Hmong"},
"hmb": {Part3: "hmb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hmc": {Part3: "hmc", Scope: 'I', LanguageType: 'L', Name: "Central Huishui Hmong"},
"hmd": {Part3: "hmd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hme": {Part3: "hme", Scope: 'I', LanguageType: 'L', Name: "Eastern Huishui Hmong"},
"hmf": {Part3: "hmf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hmg": {Part3: "hmg", Scope: 'I', LanguageType: 'L', Name: "Southwestern Guiyang Hmong"},
"hmh": {Part3: "hmh", Scope: 'I', LanguageType: 'L', Name: "Southwestern Huishui Hmong"},
"hmi": {Part3: "hmi", Scope: 'I', LanguageType: 'L', Name: "Northern Huishui Hmong"},
"hmj": {Part3: "hmj", Scope: 'I', LanguageType: 'L', Name: "Ge"},
"hmk": {Part3: "hmk", Scope: 'I', LanguageType: 'A', Name: "Maek"},
"hml": {Part3: "hml", Scope: 'I', LanguageType: 'L', Name: "Luopohe Hmong"},
"hmm": {Part3: "hmm", Scope: 'I', LanguageType: 'L', Name: "Central Mashan Hmong"},
"hmn": {Part3: "hmn", Part2B: "hmn", Part2T: "hmn", Scope: 'M', LanguageType: 'L', Name: "Hmong"},
"hmo": {Part3: "hmo", Part2B: "hmo", Part2T: "hmo", Part1: "ho", Scope: 'I', LanguageType: 'L', Name: "Hiri Motu"},
"hmp": {Part3: "hmp", Scope: 'I', LanguageType: 'L', Name: "Northern Mashan Hmong"},
"hmq": {Part3: "hmq", Scope: 'I', LanguageType: 'L', Name: "Eastern Qiandong Miao"},
"hmr": {Part3: "hmr", Scope: 'I', LanguageType: 'L', Name: "Hmar"},
"hms": {Part3: "hms", Scope: 'I', LanguageType: 'L', Name: "Southern Qiandong Miao"},
"hmt": {Part3: "hmt", Scope: 'I', LanguageType: 'L', Name: "Hamtai"},
"hmu": {Part3: "hmu", Scope: 'I', LanguageType: 'L', Name: "Hamap"},
"hmv": {Part3: "hmv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hmw": {Part3: "hmw", Scope: 'I', LanguageType: 'L', Name: "Western Mashan Hmong"},
"hmy": {Part3: "hmy", Scope: 'I', LanguageType: 'L', Name: "Southern Guiyang Hmong"},
"hmz": {Part3: "hmz", Scope: 'I', LanguageType: 'L', Name: "Hmong Shua"},
"hna": {Part3: "hna", Scope: 'I', LanguageType: 'L', Name: "Mina (Cameroon)"},
"hnd": {Part3: "hnd", Scope: 'I', LanguageType: 'L', Name: "Southern Hindko"},
"hne": {Part3: "hne", Scope: 'I', LanguageType: 'L', Name: "Chhattisgarhi"},
"hng": {Part3: "hng", Scope: 'I', LanguageType: 'L', Name: "Hungu"},
"hnh": {Part3: "hnh", Scope: 'I', LanguageType: 'L', Name: "ǁAni"},
"hni": {Part3: "hni", Scope: 'I', LanguageType: 'L', Name: "Hani"},
"hnj": {Part3: "hnj", Scope: 'I', LanguageType: 'L', Name: "Hmong Njua"},
"hnn": {Part3: "hnn", Scope: 'I', LanguageType: 'L', Name: "Hanunoo"},
"hno": {Part3: "hno", Scope: 'I', LanguageType: 'L', Name: "Northern Hindko"},
"hns": {Part3: "hns", Scope: 'I', LanguageType: 'L', Name: "Caribbean Hindustani"},
"hnu": {Part3: "hnu", Scope: 'I', LanguageType: 'L', Name: "Hung"},
"hoa": {Part3: "hoa", Scope: 'I', LanguageType: 'L', Name: "Hoava"},
"hob": {Part3: "hob", Scope: 'I', LanguageType: 'L', Name: "Mari (Madang Province)"},
"hoc": {Part3: "hoc", Scope: 'I', LanguageType: 'L', Name: "Ho"},
"hod": {Part3: "hod", Scope: 'I', LanguageType: 'E', Name: "Holma"},
"hoe": {Part3: "hoe", Scope: 'I', LanguageType: 'L', Name: "Horom"},
"hoh": {Part3: "hoh", Scope: 'I', LanguageType: 'L', Name: "Hobyót"},
"hoi": {Part3: "hoi", Scope: 'I', LanguageType: 'L', Name: "Holikachuk"},
"hoj": {Part3: "hoj", Scope: 'I', LanguageType: 'L', Name: "Hadothi"},
"hol": {Part3: "hol", Scope: 'I', LanguageType: 'L', Name: "Holu"},
"hom": {Part3: "hom", Scope: 'I', LanguageType: 'E', Name: "Homa"},
"hoo": {Part3: "hoo", Scope: 'I', LanguageType: 'L', Name: "Holoholo"},
"hop": {Part3: "hop", Scope: 'I', LanguageType: 'L', Name: "Hopi"},
"hor": {Part3: "hor", Scope: 'I', LanguageType: 'E', Name: "Horo"},
"hos": {Part3: "hos", Scope: 'I', LanguageType: 'L', Name: "Ho Chi Minh City Sign Language"},
"hot": {Part3: "hot", Scope: 'I', LanguageType: 'L', Name: "Hote"},
"hov": {Part3: "hov", Scope: 'I', LanguageType: 'L', Name: "Hovongan"},
"how": {Part3: "how", Scope: 'I', LanguageType: 'L', Name: "Honi"},
"hoy": {Part3: "hoy", Scope: 'I', LanguageType: 'L', Name: "Holiya"},
"hoz": {Part3: "hoz", Scope: 'I', LanguageType: 'L', Name: "Hozo"},
"hpo": {Part3: "hpo", Scope: 'I', LanguageType: 'E', Name: "Hpon"},
"hps": {Part3: "hps", Scope: 'I', LanguageType: 'L', Name: "Hawai'i Sign Language (HSL)"},
"hra": {Part3: "hra", Scope: 'I', LanguageType: 'L', Name: "Hrangkhol"},
"hrc": {Part3: "hrc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hre": {Part3: "hre", Scope: 'I', LanguageType: 'L', Name: "Hre"},
"hrk": {Part3: "hrk", Scope: 'I', LanguageType: 'L', Name: "Haruku"},
"hrm": {Part3: "hrm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hro": {Part3: "hro", Scope: 'I', LanguageType: 'L', Name: "Haroi"},
"hrp": {Part3: "hrp", Scope: 'I', LanguageType: 'E', Name: "Nhirrpi"},
"hrt": {Part3: "hrt", Scope: 'I', LanguageType: 'L', Name: "Hértevin"},
"hru": {Part3: "hru", Scope: 'I', LanguageType: 'L', Name: "Hruso"},
"hrv": {Part3: "hrv", Part2B: "hrv", Part2T: "hrv", Part1: "hr", Scope: 'I', LanguageType: 'L', Name: "Croatian"},
"hrw": {Part3: "hrw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hrx": {Part3: "hrx", Scope: 'I', LanguageType: 'L', Name: "Hunsrik"},
"hrz": {Part3: "hrz", Scope: 'I', LanguageType: 'L', Name: "Harzani"},
"hsb": {Part3: "hsb", Part2B: "hsb", Part2T: "hsb", Scope: 'I', LanguageType: 'L', Name: "Upper Sorbian"},
"hsh": {Part3: "hsh", Scope: 'I', LanguageType: 'L', Name: "Hungarian Sign Language"},
"hsl": {Part3: "hsl", Scope: 'I', LanguageType: 'L', Name: "Hausa Sign Language"},
"hsn": {Part3: "hsn", Scope: 'I', LanguageType: 'L', Name: "Xiang Chinese"},
"hss": {Part3: "hss", Scope: 'I', LanguageType: 'L', Name: "Harsusi"},
"hti": {Part3: "hti", Scope: 'I', LanguageType: 'E', Name: "Hoti"},
"hto": {Part3: "hto", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hts": {Part3: "hts", Scope: 'I', LanguageType: 'L', Name: "Hadza"},
"htu": {Part3: "htu", Scope: 'I', LanguageType: 'L', Name: "Hitu"},
"htx": {Part3: "htx", Scope: 'I', LanguageType: 'A', Name: "Middle Hittite"},
"hub": {Part3: "hub", Scope: 'I', LanguageType: 'L', Name: "Huambisa"},
"huc": {Part3: "huc", Scope: 'I', LanguageType: 'L', Name: "ǂHua"},
"hud": {Part3: "hud", Scope: 'I', LanguageType: 'L', Name: "Huaulu"},
"hue": {Part3: "hue", Scope: 'I', LanguageType: 'L', Name: "San Francisco Del <NAME>"},
"huf": {Part3: "huf", Scope: 'I', LanguageType: 'L', Name: "Humene"},
"hug": {Part3: "hug", Scope: 'I', LanguageType: 'L', Name: "Huachipaeri"},
"huh": {Part3: "huh", Scope: 'I', LanguageType: 'L', Name: "Huilliche"},
"hui": {Part3: "hui", Scope: 'I', LanguageType: 'L', Name: "Huli"},
"huj": {Part3: "huj", Scope: 'I', LanguageType: 'L', Name: "Northern Guiyang Hmong"},
"huk": {Part3: "huk", Scope: 'I', LanguageType: 'E', Name: "Hulung"},
"hul": {Part3: "hul", Scope: 'I', LanguageType: 'L', Name: "Hula"},
"hum": {Part3: "hum", Scope: 'I', LanguageType: 'L', Name: "Hungana"},
"hun": {Part3: "hun", Part2B: "hun", Part2T: "hun", Part1: "hu", Scope: 'I', LanguageType: 'L', Name: "Hungarian"},
"huo": {Part3: "huo", Scope: 'I', LanguageType: 'L', Name: "Hu"},
"hup": {Part3: "hup", Part2B: "hup", Part2T: "hup", Scope: 'I', LanguageType: 'L', Name: "Hupa"},
"huq": {Part3: "huq", Scope: 'I', LanguageType: 'L', Name: "Tsat"},
"hur": {Part3: "hur", Scope: 'I', LanguageType: 'L', Name: "Halkomelem"},
"hus": {Part3: "hus", Scope: 'I', LanguageType: 'L', Name: "Huastec"},
"hut": {Part3: "hut", Scope: 'I', LanguageType: 'L', Name: "Humla"},
"huu": {Part3: "huu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"huv": {Part3: "huv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"huw": {Part3: "huw", Scope: 'I', LanguageType: 'E', Name: "Hukumina"},
"hux": {Part3: "hux", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"huy": {Part3: "huy", Scope: 'I', LanguageType: 'L', Name: "Hulaulá"},
"huz": {Part3: "huz", Scope: 'I', LanguageType: 'L', Name: "Hunzib"},
"hvc": {Part3: "hvc", Scope: 'I', LanguageType: 'L', Name: "Haitian Vodoun Culture Language"},
"hve": {Part3: "hve", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hvk": {Part3: "hvk", Scope: 'I', LanguageType: 'L', Name: "Haveke"},
"hvn": {Part3: "hvn", Scope: 'I', LanguageType: 'L', Name: "Sabu"},
"hvv": {Part3: "hvv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hwa": {Part3: "hwa", Scope: 'I', LanguageType: 'L', Name: "Wané"},
"hwc": {Part3: "hwc", Scope: 'I', LanguageType: 'L', Name: "Hawai'i Creole English"},
"hwo": {Part3: "hwo", Scope: 'I', LanguageType: 'L', Name: "Hwana"},
"hya": {Part3: "hya", Scope: 'I', LanguageType: 'L', Name: "Hya"},
"hye": {Part3: "hye", Part2B: "arm", Part2T: "hye", Part1: "hy", Scope: 'I', LanguageType: 'L', Name: "Armenian"},
"hyw": {Part3: "hyw", Scope: 'I', LanguageType: 'L', Name: "Western Armenian"},
"iai": {Part3: "iai", Scope: 'I', LanguageType: 'L', Name: "Iaai"},
"ian": {Part3: "ian", Scope: 'I', LanguageType: 'L', Name: "Iatmul"},
"iar": {Part3: "iar", Scope: 'I', LanguageType: 'L', Name: "Purari"},
"iba": {Part3: "iba", Part2B: "iba", Part2T: "iba", Scope: 'I', LanguageType: 'L', Name: "Iban"},
"ibb": {Part3: "ibb", Scope: 'I', LanguageType: 'L', Name: "Ibibio"},
"ibd": {Part3: "ibd", Scope: 'I', LanguageType: 'L', Name: "Iwaidja"},
"ibe": {Part3: "ibe", Scope: 'I', LanguageType: 'L', Name: "Akpes"},
"ibg": {Part3: "ibg", Scope: 'I', LanguageType: 'L', Name: "Ibanag"},
"ibh": {Part3: "ibh", Scope: 'I', LanguageType: 'L', Name: "Bih"},
"ibl": {Part3: "ibl", Scope: 'I', LanguageType: 'L', Name: "Ibaloi"},
"ibm": {Part3: "ibm", Scope: 'I', LanguageType: 'L', Name: "Agoi"},
"ibn": {Part3: "ibn", Scope: 'I', LanguageType: 'L', Name: "Ibino"},
"ibo": {Part3: "ibo", Part2B: "ibo", Part2T: "ibo", Part1: "ig", Scope: 'I', LanguageType: 'L', Name: "Igbo"},
"ibr": {Part3: "ibr", Scope: 'I', LanguageType: 'L', Name: "Ibuoro"},
"ibu": {Part3: "ibu", Scope: 'I', LanguageType: 'L', Name: "Ibu"},
"iby": {Part3: "iby", Scope: 'I', LanguageType: 'L', Name: "Ibani"},
"ica": {Part3: "ica", Scope: 'I', LanguageType: 'L', Name: "Ede Ica"},
"ich": {Part3: "ich", Scope: 'I', LanguageType: 'L', Name: "Etkywan"},
"icl": {Part3: "icl", Scope: 'I', LanguageType: 'L', Name: "Icelandic Sign Language"},
"icr": {Part3: "icr", Scope: 'I', LanguageType: 'L', Name: "Islander Creole English"},
"ida": {Part3: "ida", Scope: 'I', LanguageType: 'L', Name: "Idakho-Isukha-Tiriki"},
"idb": {Part3: "idb", Scope: 'I', LanguageType: 'L', Name: "Indo-Portuguese"},
"idc": {Part3: "idc", Scope: 'I', LanguageType: 'L', Name: "Idon"},
"idd": {Part3: "idd", Scope: 'I', LanguageType: 'L', Name: "Ede Idaca"},
"ide": {Part3: "ide", Scope: 'I', LanguageType: 'L', Name: "Idere"},
"idi": {Part3: "idi", Scope: 'I', LanguageType: 'L', Name: "Idi"},
"ido": {Part3: "ido", Part2B: "ido", Part2T: "ido", Part1: "io", Scope: 'I', LanguageType: 'C', Name: "Ido"},
"idr": {Part3: "idr", Scope: 'I', LanguageType: 'L', Name: "Indri"},
"ids": {Part3: "ids", Scope: 'I', LanguageType: 'L', Name: "Idesa"},
"idt": {Part3: "idt", Scope: 'I', LanguageType: 'L', Name: "Idaté"},
"idu": {Part3: "idu", Scope: 'I', LanguageType: 'L', Name: "Idoma"},
"ifa": {Part3: "ifa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ifb": {Part3: "ifb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ife": {Part3: "ife", Scope: 'I', LanguageType: 'L', Name: "Ifè"},
"iff": {Part3: "iff", Scope: 'I', LanguageType: 'E', Name: "Ifo"},
"ifk": {Part3: "ifk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ifm": {Part3: "ifm", Scope: 'I', LanguageType: 'L', Name: "Teke-Fuumu"},
"ifu": {Part3: "ifu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ify": {Part3: "ify", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"igb": {Part3: "igb", Scope: 'I', LanguageType: 'L', Name: "Ebira"},
"ige": {Part3: "ige", Scope: 'I', LanguageType: 'L', Name: "Igede"},
"igg": {Part3: "igg", Scope: 'I', LanguageType: 'L', Name: "Igana"},
"igl": {Part3: "igl", Scope: 'I', LanguageType: 'L', Name: "Igala"},
"igm": {Part3: "igm", Scope: 'I', LanguageType: 'L', Name: "Kanggape"},
"ign": {Part3: "ign", Scope: 'I', LanguageType: 'L', Name: "Ignaciano"},
"igo": {Part3: "igo", Scope: 'I', LanguageType: 'L', Name: "Isebe"},
"igs": {Part3: "igs", Scope: 'I', LanguageType: 'C', Name: "Interglossa"},
"igw": {Part3: "igw", Scope: 'I', LanguageType: 'L', Name: "Igwe"},
"ihb": {Part3: "ihb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ihi": {Part3: "ihi", Scope: 'I', LanguageType: 'L', Name: "Ihievbe"},
"ihp": {Part3: "ihp", Scope: 'I', LanguageType: 'L', Name: "Iha"},
"ihw": {Part3: "ihw", Scope: 'I', LanguageType: 'E', Name: "Bidhawal"},
"iii": {Part3: "iii", Part2B: "iii", Part2T: "iii", Part1: "ii", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"iin": {Part3: "iin", Scope: 'I', LanguageType: 'E', Name: "Thiin"},
"ijc": {Part3: "ijc", Scope: 'I', LanguageType: 'L', Name: "Izon"},
"ije": {Part3: "ije", Scope: 'I', LanguageType: 'L', Name: "Biseni"},
"ijj": {Part3: "ijj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ijn": {Part3: "ijn", Scope: 'I', LanguageType: 'L', Name: "Kalabari"},
"ijs": {Part3: "ijs", Scope: 'I', LanguageType: 'L', Name: "Southeast Ijo"},
"ike": {Part3: "ike", Scope: 'I', LanguageType: 'L', Name: "Eastern Canadian Inuktitut"},
"iki": {Part3: "iki", Scope: 'I', LanguageType: 'L', Name: "Iko"},
"ikk": {Part3: "ikk", Scope: 'I', LanguageType: 'L', Name: "Ika"},
"ikl": {Part3: "ikl", Scope: 'I', LanguageType: 'L', Name: "Ikulu"},
"iko": {Part3: "iko", Scope: 'I', LanguageType: 'L', Name: "Olulumo-Ikom"},
"ikp": {Part3: "ikp", Scope: 'I', LanguageType: 'L', Name: "Ikpeshi"},
"ikr": {Part3: "ikr", Scope: 'I', LanguageType: 'E', Name: "Ikaranggal"},
"iks": {Part3: "iks", Scope: 'I', LanguageType: 'L', Name: "Inuit Sign Language"},
"ikt": {Part3: "ikt", Scope: 'I', LanguageType: 'L', Name: "Inuinnaqtun"},
"iku": {Part3: "iku", Part2B: "iku", Part2T: "iku", Part1: "iu", Scope: 'M', LanguageType: 'L', Name: "Inuktitut"},
"ikv": {Part3: "ikv", Scope: 'I', LanguageType: 'L', Name: "Iku-Gora-Ankwa"},
"ikw": {Part3: "ikw", Scope: 'I', LanguageType: 'L', Name: "Ikwere"},
"ikx": {Part3: "ikx", Scope: 'I', LanguageType: 'L', Name: "Ik"},
"ikz": {Part3: "ikz", Scope: 'I', LanguageType: 'L', Name: "Ikizu"},
"ila": {Part3: "ila", Scope: 'I', LanguageType: 'L', Name: "I<NAME>"},
"ilb": {Part3: "ilb", Scope: 'I', LanguageType: 'L', Name: "Ila"},
"ile": {Part3: "ile", Part2B: "ile", Part2T: "ile", Part1: "ie", Scope: 'I', LanguageType: 'C', Name: "Interlingue"},
"ilg": {Part3: "ilg", Scope: 'I', LanguageType: 'E', Name: "Garig-Ilgar"},
"ili": {Part3: "ili", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ilk": {Part3: "ilk", Scope: 'I', LanguageType: 'L', Name: "Ilongot"},
"ilm": {Part3: "ilm", Scope: 'I', LanguageType: 'L', Name: "Iranun (Malaysia)"},
"ilo": {Part3: "ilo", Part2B: "ilo", Part2T: "ilo", Scope: 'I', LanguageType: 'L', Name: "Iloko"},
"ilp": {Part3: "ilp", Scope: 'I', LanguageType: 'L', Name: "Iranun (Philippines)"},
"ils": {Part3: "ils", Scope: 'I', LanguageType: 'L', Name: "International Sign"},
"ilu": {Part3: "ilu", Scope: 'I', LanguageType: 'L', Name: "Ili'uun"},
"ilv": {Part3: "ilv", Scope: 'I', LanguageType: 'L', Name: "Ilue"},
"ima": {Part3: "ima", Scope: 'I', LanguageType: 'L', Name: "Mala Malasar"},
"imi": {Part3: "imi", Scope: 'I', LanguageType: 'L', Name: "Anamgura"},
"iml": {Part3: "iml", Scope: 'I', LanguageType: 'E', Name: "Miluk"},
"imn": {Part3: "imn", Scope: 'I', LanguageType: 'L', Name: "Imonda"},
"imo": {Part3: "imo", Scope: 'I', LanguageType: 'L', Name: "Imbongu"},
"imr": {Part3: "imr", Scope: 'I', LanguageType: 'L', Name: "Imroing"},
"ims": {Part3: "ims", Scope: 'I', LanguageType: 'A', Name: "Marsian"},
"imy": {Part3: "imy", Scope: 'I', LanguageType: 'A', Name: "Milyan"},
"ina": {Part3: "ina", Part2B: "ina", Part2T: "ina", Part1: "ia", Scope: 'I', LanguageType: 'C', Name: "Interlingua (International Auxiliary Language Association)"},
"inb": {Part3: "inb", Scope: 'I', LanguageType: 'L', Name: "Inga"},
"ind": {Part3: "ind", Part2B: "ind", Part2T: "ind", Part1: "id", Scope: 'I', LanguageType: 'L', Name: "Indonesian"},
"ing": {Part3: "ing", Scope: 'I', LanguageType: 'L', Name: "Degexit'an"},
"inh": {Part3: "inh", Part2B: "inh", Part2T: "inh", Scope: 'I', LanguageType: 'L', Name: "Ingush"},
"inj": {Part3: "inj", Scope: 'I', LanguageType: 'L', Name: "Jun<NAME>"},
"inl": {Part3: "inl", Scope: 'I', LanguageType: 'L', Name: "Indonesian Sign Language"},
"inm": {Part3: "inm", Scope: 'I', LanguageType: 'A', Name: "Minaean"},
"inn": {Part3: "inn", Scope: 'I', LanguageType: 'L', Name: "Isinai"},
"ino": {Part3: "ino", Scope: 'I', LanguageType: 'L', Name: "Inoke-Yate"},
"inp": {Part3: "inp", Scope: 'I', LanguageType: 'L', Name: "Iñapari"},
"ins": {Part3: "ins", Scope: 'I', LanguageType: 'L', Name: "Indian Sign Language"},
"int": {Part3: "int", Scope: 'I', LanguageType: 'L', Name: "Intha"},
"inz": {Part3: "inz", Scope: 'I', LanguageType: 'E', Name: "Ineseño"},
"ior": {Part3: "ior", Scope: 'I', LanguageType: 'L', Name: "Inor"},
"iou": {Part3: "iou", Scope: 'I', LanguageType: 'L', Name: "Tuma-Irumu"},
"iow": {Part3: "iow", Scope: 'I', LanguageType: 'E', Name: "Iowa-Oto"},
"ipi": {Part3: "ipi", Scope: 'I', LanguageType: 'L', Name: "Ipili"},
"ipk": {Part3: "ipk", Part2B: "ipk", Part2T: "ipk", Part1: "ik", Scope: 'M', LanguageType: 'L', Name: "Inupiaq"},
"ipo": {Part3: "ipo", Scope: 'I', LanguageType: 'L', Name: "Ipiko"},
"iqu": {Part3: "iqu", Scope: 'I', LanguageType: 'L', Name: "Iquito"},
"iqw": {Part3: "iqw", Scope: 'I', LanguageType: 'L', Name: "Ikwo"},
"ire": {Part3: "ire", Scope: 'I', LanguageType: 'L', Name: "Iresim"},
"irh": {Part3: "irh", Scope: 'I', LanguageType: 'L', Name: "Irarutu"},
"iri": {Part3: "iri", Scope: 'I', LanguageType: 'L', Name: "Rigwe"},
"irk": {Part3: "irk", Scope: 'I', LanguageType: 'L', Name: "Iraqw"},
"irn": {Part3: "irn", Scope: 'I', LanguageType: 'L', Name: "Irántxe"},
"irr": {Part3: "irr", Scope: 'I', LanguageType: 'L', Name: "Ir"},
"iru": {Part3: "iru", Scope: 'I', LanguageType: 'L', Name: "Irula"},
"irx": {Part3: "irx", Scope: 'I', LanguageType: 'L', Name: "Kamberau"},
"iry": {Part3: "iry", Scope: 'I', LanguageType: 'L', Name: "Iraya"},
"isa": {Part3: "isa", Scope: 'I', LanguageType: 'L', Name: "Isabi"},
"isc": {Part3: "isc", Scope: 'I', LanguageType: 'L', Name: "Isconahua"},
"isd": {Part3: "isd", Scope: 'I', LanguageType: 'L', Name: "Isnag"},
"ise": {Part3: "ise", Scope: 'I', LanguageType: 'L', Name: "Italian Sign Language"},
"isg": {Part3: "isg", Scope: 'I', LanguageType: 'L', Name: "Irish Sign Language"},
"ish": {Part3: "ish", Scope: 'I', LanguageType: 'L', Name: "Esan"},
"isi": {Part3: "isi", Scope: 'I', LanguageType: 'L', Name: "Nkem-Nkum"},
"isk": {Part3: "isk", Scope: 'I', LanguageType: 'L', Name: "Ishkashimi"},
"isl": {Part3: "isl", Part2B: "ice", Part2T: "isl", Part1: "is", Scope: 'I', LanguageType: 'L', Name: "Icelandic"},
"ism": {Part3: "ism", Scope: 'I', LanguageType: 'L', Name: "Masimasi"},
"isn": {Part3: "isn", Scope: 'I', LanguageType: 'L', Name: "Isanzu"},
"iso": {Part3: "iso", Scope: 'I', LanguageType: 'L', Name: "Isoko"},
"isr": {Part3: "isr", Scope: 'I', LanguageType: 'L', Name: "Israeli Sign Language"},
"ist": {Part3: "ist", Scope: 'I', LanguageType: 'L', Name: "Istriot"},
"isu": {Part3: "isu", Scope: 'I', LanguageType: 'L', Name: "Isu (Menchum Division)"},
"ita": {Part3: "ita", Part2B: "ita", Part2T: "ita", Part1: "it", Scope: 'I', LanguageType: 'L', Name: "Italian"},
"itb": {Part3: "itb", Scope: 'I', LanguageType: 'L', Name: "Binongan Itneg"},
"itd": {Part3: "itd", Scope: 'I', LanguageType: 'L', Name: "Southern Tidung"},
"ite": {Part3: "ite", Scope: 'I', LanguageType: 'E', Name: "Itene"},
"iti": {Part3: "iti", Scope: 'I', LanguageType: 'L', Name: "Inlaod Itneg"},
"itk": {Part3: "itk", Scope: 'I', LanguageType: 'L', Name: "Judeo-Italian"},
"itl": {Part3: "itl", Scope: 'I', LanguageType: 'L', Name: "Itelmen"},
"itm": {Part3: "itm", Scope: 'I', LanguageType: 'L', Name: "Itu Mbon Uzo"},
"ito": {Part3: "ito", Scope: 'I', LanguageType: 'L', Name: "Itonama"},
"itr": {Part3: "itr", Scope: 'I', LanguageType: 'L', Name: "Iteri"},
"its": {Part3: "its", Scope: 'I', LanguageType: 'L', Name: "Isekiri"},
"itt": {Part3: "itt", Scope: 'I', LanguageType: 'L', Name: "Maeng Itneg"},
"itv": {Part3: "itv", Scope: 'I', LanguageType: 'L', Name: "Itawit"},
"itw": {Part3: "itw", Scope: 'I', LanguageType: 'L', Name: "Ito"},
"itx": {Part3: "itx", Scope: 'I', LanguageType: 'L', Name: "Itik"},
"ity": {Part3: "ity", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"itz": {Part3: "itz", Scope: 'I', LanguageType: 'L', Name: "Itzá"},
"ium": {Part3: "ium", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ivb": {Part3: "ivb", Scope: 'I', LanguageType: 'L', Name: "Ibatan"},
"ivv": {Part3: "ivv", Scope: 'I', LanguageType: 'L', Name: "Ivatan"},
"iwk": {Part3: "iwk", Scope: 'I', LanguageType: 'L', Name: "I-Wak"},
"iwm": {Part3: "iwm", Scope: 'I', LanguageType: 'L', Name: "Iwam"},
"iwo": {Part3: "iwo", Scope: 'I', LanguageType: 'L', Name: "Iwur"},
"iws": {Part3: "iws", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ixc": {Part3: "ixc", Scope: 'I', LanguageType: 'L', Name: "Ixcatec"},
"ixl": {Part3: "ixl", Scope: 'I', LanguageType: 'L', Name: "Ixil"},
"iya": {Part3: "iya", Scope: 'I', LanguageType: 'L', Name: "Iyayu"},
"iyo": {Part3: "iyo", Scope: 'I', LanguageType: 'L', Name: "Mesaka"},
"iyx": {Part3: "iyx", Scope: 'I', LanguageType: 'L', Name: "Yaka (Congo)"},
"izh": {Part3: "izh", Scope: 'I', LanguageType: 'L', Name: "Ingrian"},
"izr": {Part3: "izr", Scope: 'I', LanguageType: 'L', Name: "Izere"},
"izz": {Part3: "izz", Scope: 'I', LanguageType: 'L', Name: "Izii"},
"jaa": {Part3: "jaa", Scope: 'I', LanguageType: 'L', Name: "Jamamadí"},
"jab": {Part3: "jab", Scope: 'I', LanguageType: 'L', Name: "Hyam"},
"jac": {Part3: "jac", Scope: 'I', LanguageType: 'L', Name: "Popti'"},
"jad": {Part3: "jad", Scope: 'I', LanguageType: 'L', Name: "Jahanka"},
"jae": {Part3: "jae", Scope: 'I', LanguageType: 'L', Name: "Yabem"},
"jaf": {Part3: "jaf", Scope: 'I', LanguageType: 'L', Name: "Jara"},
"jah": {Part3: "jah", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jaj": {Part3: "jaj", Scope: 'I', LanguageType: 'L', Name: "Zazao"},
"jak": {Part3: "jak", Scope: 'I', LanguageType: 'L', Name: "Jakun"},
"jal": {Part3: "jal", Scope: 'I', LanguageType: 'L', Name: "Yalahatan"},
"jam": {Part3: "jam", Scope: 'I', LanguageType: 'L', Name: "Jamaican Creole English"},
"jan": {Part3: "jan", Scope: 'I', LanguageType: 'E', Name: "Jandai"},
"jao": {Part3: "jao", Scope: 'I', LanguageType: 'L', Name: "Yanyuwa"},
"jaq": {Part3: "jaq", Scope: 'I', LanguageType: 'L', Name: "Yaqay"},
"jas": {Part3: "jas", Scope: 'I', LanguageType: 'L', Name: "New Caledonian Javanese"},
"jat": {Part3: "jat", Scope: 'I', LanguageType: 'L', Name: "Jakati"},
"jau": {Part3: "jau", Scope: 'I', LanguageType: 'L', Name: "Yaur"},
"jav": {Part3: "jav", Part2B: "jav", Part2T: "jav", Part1: "jv", Scope: 'I', LanguageType: 'L', Name: "Javanese"},
"jax": {Part3: "jax", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jay": {Part3: "jay", Scope: 'I', LanguageType: 'L', Name: "Yan-nhangu"},
"jaz": {Part3: "jaz", Scope: 'I', LanguageType: 'L', Name: "Jawe"},
"jbe": {Part3: "jbe", Scope: 'I', LanguageType: 'L', Name: "Judeo-Berber"},
"jbi": {Part3: "jbi", Scope: 'I', LanguageType: 'E', Name: "Badjiri"},
"jbj": {Part3: "jbj", Scope: 'I', LanguageType: 'L', Name: "Arandai"},
"jbk": {Part3: "jbk", Scope: 'I', LanguageType: 'L', Name: "Barikewa"},
"jbm": {Part3: "jbm", Scope: 'I', LanguageType: 'L', Name: "Bijim"},
"jbn": {Part3: "jbn", Scope: 'I', LanguageType: 'L', Name: "Nafusi"},
"jbo": {Part3: "jbo", Part2B: "jbo", Part2T: "jbo", Scope: 'I', LanguageType: 'C', Name: "Lojban"},
"jbr": {Part3: "jbr", Scope: 'I', LanguageType: 'L', Name: "Jofotek-Bromnya"},
"jbt": {Part3: "jbt", Scope: 'I', LanguageType: 'L', Name: "Jabutí"},
"jbu": {Part3: "jbu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jbw": {Part3: "jbw", Scope: 'I', LanguageType: 'E', Name: "Yawijibaya"},
"jcs": {Part3: "jcs", Scope: 'I', LanguageType: 'L', Name: "Jamaican Country Sign Language"},
"jct": {Part3: "jct", Scope: 'I', LanguageType: 'L', Name: "Krymchak"},
"jda": {Part3: "jda", Scope: 'I', LanguageType: 'L', Name: "Jad"},
"jdg": {Part3: "jdg", Scope: 'I', LanguageType: 'L', Name: "Jadgali"},
"jdt": {Part3: "jdt", Scope: 'I', LanguageType: 'L', Name: "Judeo-Tat"},
"jeb": {Part3: "jeb", Scope: 'I', LanguageType: 'L', Name: "Jebero"},
"jee": {Part3: "jee", Scope: 'I', LanguageType: 'L', Name: "Jerung"},
"jeh": {Part3: "jeh", Scope: 'I', LanguageType: 'L', Name: "Jeh"},
"jei": {Part3: "jei", Scope: 'I', LanguageType: 'L', Name: "Yei"},
"jek": {Part3: "jek", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jel": {Part3: "jel", Scope: 'I', LanguageType: 'L', Name: "Yelmek"},
"jen": {Part3: "jen", Scope: 'I', LanguageType: 'L', Name: "Dza"},
"jer": {Part3: "jer", Scope: 'I', LanguageType: 'L', Name: "Jere"},
"jet": {Part3: "jet", Scope: 'I', LanguageType: 'L', Name: "Manem"},
"jeu": {Part3: "jeu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jgb": {Part3: "jgb", Scope: 'I', LanguageType: 'E', Name: "Ngbee"},
"jge": {Part3: "jge", Scope: 'I', LanguageType: 'L', Name: "Judeo-Georgian"},
"jgk": {Part3: "jgk", Scope: 'I', LanguageType: 'L', Name: "Gwak"},
"jgo": {Part3: "jgo", Scope: 'I', LanguageType: 'L', Name: "Ngomba"},
"jhi": {Part3: "jhi", Scope: 'I', LanguageType: 'L', Name: "Jehai"},
"jhs": {Part3: "jhs", Scope: 'I', LanguageType: 'L', Name: "Jhankot Sign Language"},
"jia": {Part3: "jia", Scope: 'I', LanguageType: 'L', Name: "Jina"},
"jib": {Part3: "jib", Scope: 'I', LanguageType: 'L', Name: "Jibu"},
"jic": {Part3: "jic", Scope: 'I', LanguageType: 'L', Name: "Tol"},
"jid": {Part3: "jid", Scope: 'I', LanguageType: 'L', Name: "Bu (Kaduna State)"},
"jie": {Part3: "jie", Scope: 'I', LanguageType: 'L', Name: "Jilbe"},
"jig": {Part3: "jig", Scope: 'I', LanguageType: 'L', Name: "Jingulu"},
"jih": {Part3: "jih", Scope: 'I', LanguageType: 'L', Name: "sTodsde"},
"jii": {Part3: "jii", Scope: 'I', LanguageType: 'L', Name: "Jiiddu"},
"jil": {Part3: "jil", Scope: 'I', LanguageType: 'L', Name: "Jilim"},
"jim": {Part3: "jim", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"jio": {Part3: "jio", Scope: 'I', LanguageType: 'L', Name: "Jiamao"},
"jiq": {Part3: "jiq", Scope: 'I', LanguageType: 'L', Name: "Guanyinqiao"},
"jit": {Part3: "jit", Scope: 'I', LanguageType: 'L', Name: "Jita"},
"jiu": {Part3: "jiu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jiv": {Part3: "jiv", Scope: 'I', LanguageType: 'L', Name: "Shuar"},
"jiy": {Part3: "jiy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jje": {Part3: "jje", Scope: 'I', LanguageType: 'L', Name: "Jejueo"},
"jjr": {Part3: "jjr", Scope: 'I', LanguageType: 'L', Name: "Bankal"},
"jka": {Part3: "jka", Scope: 'I', LanguageType: 'L', Name: "Kaera"},
"jkm": {Part3: "jkm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jko": {Part3: "jko", Scope: 'I', LanguageType: 'L', Name: "Kubo"},
"jkp": {Part3: "jkp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jkr": {Part3: "jkr", Scope: 'I', LanguageType: 'L', Name: "Koro (India)"},
"jks": {Part3: "jks", Scope: 'I', LanguageType: 'L', Name: "Amami Koniya Sign Language"},
"jku": {Part3: "jku", Scope: 'I', LanguageType: 'L', Name: "Labir"},
"jle": {Part3: "jle", Scope: 'I', LanguageType: 'L', Name: "Ngile"},
"jls": {Part3: "jls", Scope: 'I', LanguageType: 'L', Name: "Jamaican Sign Language"},
"jma": {Part3: "jma", Scope: 'I', LanguageType: 'L', Name: "Dima"},
"jmb": {Part3: "jmb", Scope: 'I', LanguageType: 'L', Name: "Zumbun"},
"jmc": {Part3: "jmc", Scope: 'I', LanguageType: 'L', Name: "Machame"},
"jmd": {Part3: "jmd", Scope: 'I', LanguageType: 'L', Name: "Yamdena"},
"jmi": {Part3: "jmi", Scope: 'I', LanguageType: 'L', Name: "Jimi (Nigeria)"},
"jml": {Part3: "jml", Scope: 'I', LanguageType: 'L', Name: "Jumli"},
"jmn": {Part3: "jmn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"jmr": {Part3: "jmr", Scope: 'I', LanguageType: 'L', Name: "Kamara"},
"jms": {Part3: "jms", Scope: 'I', LanguageType: 'L', Name: "Mashi (Nigeria)"},
"jmw": {Part3: "jmw", Scope: 'I', LanguageType: 'L', Name: "Mouwase"},
"jmx": {Part3: "jmx", Scope: 'I', LanguageType: 'L', Name: "Western Juxtlahuaca Mixtec"},
"jna": {Part3: "jna", Scope: 'I', LanguageType: 'L', Name: "Jangshung"},
"jnd": {Part3: "jnd", Scope: 'I', LanguageType: 'L', Name: "Jandavra"},
"jng": {Part3: "jng", Scope: 'I', LanguageType: 'E', Name: "Yangman"},
"jni": {Part3: "jni", Scope: 'I', LanguageType: 'L', Name: "Janji"},
"jnj": {Part3: "jnj", Scope: 'I', LanguageType: 'L', Name: "Yemsa"},
"jnl": {Part3: "jnl", Scope: 'I', LanguageType: 'L', Name: "Rawat"},
"jns": {Part3: "jns", Scope: 'I', LanguageType: 'L', Name: "Jaunsari"},
"job": {Part3: "job", Scope: 'I', LanguageType: 'L', Name: "Joba"},
"jod": {Part3: "jod", Scope: 'I', LanguageType: 'L', Name: "Wojenaka"},
"jog": {Part3: "jog", Scope: 'I', LanguageType: 'L', Name: "Jogi"},
"jor": {Part3: "jor", Scope: 'I', LanguageType: 'E', Name: "Jorá"},
"jos": {Part3: "jos", Scope: 'I', LanguageType: 'L', Name: "Jordanian Sign Language"},
"jow": {Part3: "jow", Scope: 'I', LanguageType: 'L', Name: "Jowulu"},
"jpa": {Part3: "jpa", Scope: 'I', LanguageType: 'H', Name: "Jewish Palestinian Aramaic"},
"jpn": {Part3: "jpn", Part2B: "jpn", Part2T: "jpn", Part1: "ja", Scope: 'I', LanguageType: 'L', Name: "Japanese"},
"jpr": {Part3: "jpr", Part2B: "jpr", Part2T: "jpr", Scope: 'I', LanguageType: 'L', Name: "Judeo-Persian"},
"jqr": {Part3: "jqr", Scope: 'I', LanguageType: 'L', Name: "Jaqaru"},
"jra": {Part3: "jra", Scope: 'I', LanguageType: 'L', Name: "Jarai"},
"jrb": {Part3: "jrb", Part2B: "jrb", Part2T: "jrb", Scope: 'M', LanguageType: 'L', Name: "Judeo-Arabic"},
"jrr": {Part3: "jrr", Scope: 'I', LanguageType: 'L', Name: "Jiru"},
"jrt": {Part3: "jrt", Scope: 'I', LanguageType: 'L', Name: "Jakattoe"},
"jru": {Part3: "jru", Scope: 'I', LanguageType: 'L', Name: "Japrería"},
"jsl": {Part3: "jsl", Scope: 'I', LanguageType: 'L', Name: "Japanese Sign Language"},
"jua": {Part3: "jua", Scope: 'I', LanguageType: 'L', Name: "Júma"},
"jub": {Part3: "jub", Scope: 'I', LanguageType: 'L', Name: "Wannu"},
"juc": {Part3: "juc", Scope: 'I', LanguageType: 'E', Name: "Jurchen"},
"jud": {Part3: "jud", Scope: 'I', LanguageType: 'L', Name: "Worodougou"},
"juh": {Part3: "juh", Scope: 'I', LanguageType: 'L', Name: "Hõne"},
"jui": {Part3: "jui", Scope: 'I', LanguageType: 'E', Name: "Ngadjuri"},
"juk": {Part3: "juk", Scope: 'I', LanguageType: 'L', Name: "Wapan"},
"jul": {Part3: "jul", Scope: 'I', LanguageType: 'L', Name: "Jirel"},
"jum": {Part3: "jum", Scope: 'I', LanguageType: 'L', Name: "Jumjum"},
"jun": {Part3: "jun", Scope: 'I', LanguageType: 'L', Name: "Juang"},
"juo": {Part3: "juo", Scope: 'I', LanguageType: 'L', Name: "Jiba"},
"jup": {Part3: "jup", Scope: 'I', LanguageType: 'L', Name: "Hupdë"},
"jur": {Part3: "jur", Scope: 'I', LanguageType: 'L', Name: "Jurúna"},
"jus": {Part3: "jus", Scope: 'I', LanguageType: 'L', Name: "Jumla Sign Language"},
"jut": {Part3: "jut", Scope: 'I', LanguageType: 'H', Name: "Jutish"},
"juu": {Part3: "juu", Scope: 'I', LanguageType: 'L', Name: "Ju"},
"juw": {Part3: "juw", Scope: 'I', LanguageType: 'L', Name: "Wãpha"},
"juy": {Part3: "juy", Scope: 'I', LanguageType: 'L', Name: "Juray"},
"jvd": {Part3: "jvd", Scope: 'I', LanguageType: 'L', Name: "Javindo"},
"jvn": {Part3: "jvn", Scope: 'I', LanguageType: 'L', Name: "Caribbean Javanese"},
"jwi": {Part3: "jwi", Scope: 'I', LanguageType: 'L', Name: "Jwira-Pepesa"},
"jya": {Part3: "jya", Scope: 'I', LanguageType: 'L', Name: "Jiarong"},
"jye": {Part3: "jye", Scope: 'I', LanguageType: 'L', Name: "Judeo-Yemeni Arabic"},
"jyy": {Part3: "jyy", Scope: 'I', LanguageType: 'L', Name: "Jaya"},
"kaa": {Part3: "kaa", Part2B: "kaa", Part2T: "kaa", Scope: 'I', LanguageType: 'L', Name: "Kara-Kalpak"},
"kab": {Part3: "kab", Part2B: "kab", Part2T: "kab", Scope: 'I', LanguageType: 'L', Name: "Kabyle"},
"kac": {Part3: "kac", Part2B: "kac", Part2T: "kac", Scope: 'I', LanguageType: 'L', Name: "Kachin"},
"kad": {Part3: "kad", Scope: 'I', LanguageType: 'L', Name: "Adara"},
"kae": {Part3: "kae", Scope: 'I', LanguageType: 'E', Name: "Ketangalan"},
"kaf": {Part3: "kaf", Scope: 'I', LanguageType: 'L', Name: "Katso"},
"kag": {Part3: "kag", Scope: 'I', LanguageType: 'L', Name: "Kajaman"},
"kah": {Part3: "kah", Scope: 'I', LanguageType: 'L', Name: "Kara (Central African Republic)"},
"kai": {Part3: "kai", Scope: 'I', LanguageType: 'L', Name: "Karekare"},
"kaj": {Part3: "kaj", Scope: 'I', LanguageType: 'L', Name: "Jju"},
"kak": {Part3: "kak", Scope: 'I', LanguageType: 'L', Name: "Kalanguya"},
"kal": {Part3: "kal", Part2B: "kal", Part2T: "kal", Part1: "kl", Scope: 'I', LanguageType: 'L', Name: "Kalaallisut"},
"kam": {Part3: "kam", Part2B: "kam", Part2T: "kam", Scope: 'I', LanguageType: 'L', Name: "Kamba (Kenya)"},
"kan": {Part3: "kan", Part2B: "kan", Part2T: "kan", Part1: "kn", Scope: 'I', LanguageType: 'L', Name: "Kannada"},
"kao": {Part3: "kao", Scope: 'I', LanguageType: 'L', Name: "Xaasongaxango"},
"kap": {Part3: "kap", Scope: 'I', LanguageType: 'L', Name: "Bezhta"},
"kaq": {Part3: "kaq", Scope: 'I', LanguageType: 'L', Name: "Capanahua"},
"kas": {Part3: "kas", Part2B: "kas", Part2T: "kas", Part1: "ks", Scope: 'I', LanguageType: 'L', Name: "Kashmiri"},
"kat": {Part3: "kat", Part2B: "geo", Part2T: "kat", Part1: "ka", Scope: 'I', LanguageType: 'L', Name: "Georgian"},
"kau": {Part3: "kau", Part2B: "kau", Part2T: "kau", Part1: "kr", Scope: 'M', LanguageType: 'L', Name: "Kanuri"},
"kav": {Part3: "kav", Scope: 'I', LanguageType: 'L', Name: "Katukína"},
"kaw": {Part3: "kaw", Part2B: "kaw", Part2T: "kaw", Scope: 'I', LanguageType: 'A', Name: "Kawi"},
"kax": {Part3: "kax", Scope: 'I', LanguageType: 'L', Name: "Kao"},
"kay": {Part3: "kay", Scope: 'I', LanguageType: 'L', Name: "Kamayurá"},
"kaz": {Part3: "kaz", Part2B: "kaz", Part2T: "kaz", Part1: "kk", Scope: 'I', LanguageType: 'L', Name: "Kazakh"},
"kba": {Part3: "kba", Scope: 'I', LanguageType: 'E', Name: "Kalarko"},
"kbb": {Part3: "kbb", Scope: 'I', LanguageType: 'E', Name: "Kaxuiâna"},
"kbc": {Part3: "kbc", Scope: 'I', LanguageType: 'L', Name: "Kadiwéu"},
"kbd": {Part3: "kbd", Part2B: "kbd", Part2T: "kbd", Scope: 'I', LanguageType: 'L', Name: "Kabardian"},
"kbe": {Part3: "kbe", Scope: 'I', LanguageType: 'L', Name: "Kanju"},
"kbg": {Part3: "kbg", Scope: 'I', LanguageType: 'L', Name: "Khamba"},
"kbh": {Part3: "kbh", Scope: 'I', LanguageType: 'L', Name: "Camsá"},
"kbi": {Part3: "kbi", Scope: 'I', LanguageType: 'L', Name: "Kaptiau"},
"kbj": {Part3: "kbj", Scope: 'I', LanguageType: 'L', Name: "Kari"},
"kbk": {Part3: "kbk", Scope: 'I', LanguageType: 'L', Name: "Grass Koiari"},
"kbl": {Part3: "kbl", Scope: 'I', LanguageType: 'L', Name: "Kanembu"},
"kbm": {Part3: "kbm", Scope: 'I', LanguageType: 'L', Name: "Iwal"},
"kbn": {Part3: "kbn", Scope: 'I', LanguageType: 'L', Name: "Kare (Central African Republic)"},
"kbo": {Part3: "kbo", Scope: 'I', LanguageType: 'L', Name: "Keliko"},
"kbp": {Part3: "kbp", Scope: 'I', LanguageType: 'L', Name: "Kabiyè"},
"kbq": {Part3: "kbq", Scope: 'I', LanguageType: 'L', Name: "Kamano"},
"kbr": {Part3: "kbr", Scope: 'I', LanguageType: 'L', Name: "Kafa"},
"kbs": {Part3: "kbs", Scope: 'I', LanguageType: 'L', Name: "Kande"},
"kbt": {Part3: "kbt", Scope: 'I', LanguageType: 'L', Name: "Abadi"},
"kbu": {Part3: "kbu", Scope: 'I', LanguageType: 'L', Name: "Kabutra"},
"kbv": {Part3: "kbv", Scope: 'I', LanguageType: 'L', Name: "Dera (Indonesia)"},
"kbw": {Part3: "kbw", Scope: 'I', LanguageType: 'L', Name: "Kaiep"},
"kbx": {Part3: "kbx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kby": {Part3: "kby", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kbz": {Part3: "kbz", Scope: 'I', LanguageType: 'L', Name: "Duhwa"},
"kca": {Part3: "kca", Scope: 'I', LanguageType: 'L', Name: "Khanty"},
"kcb": {Part3: "kcb", Scope: 'I', LanguageType: 'L', Name: "Kawacha"},
"kcc": {Part3: "kcc", Scope: 'I', LanguageType: 'L', Name: "Lubila"},
"kcd": {Part3: "kcd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kce": {Part3: "kce", Scope: 'I', LanguageType: 'L', Name: "Kaivi"},
"kcf": {Part3: "kcf", Scope: 'I', LanguageType: 'L', Name: "Ukaan"},
"kcg": {Part3: "kcg", Scope: 'I', LanguageType: 'L', Name: "Tyap"},
"kch": {Part3: "kch", Scope: 'I', LanguageType: 'L', Name: "Vono"},
"kci": {Part3: "kci", Scope: 'I', LanguageType: 'L', Name: "Kamantan"},
"kcj": {Part3: "kcj", Scope: 'I', LanguageType: 'L', Name: "Kobiana"},
"kck": {Part3: "kck", Scope: 'I', LanguageType: 'L', Name: "Kalanga"},
"kcl": {Part3: "kcl", Scope: 'I', LanguageType: 'L', Name: "Kela (Papua New Guinea)"},
"kcm": {Part3: "kcm", Scope: 'I', LanguageType: 'L', Name: "Gula (Central African Republic)"},
"kcn": {Part3: "kcn", Scope: 'I', LanguageType: 'L', Name: "Nubi"},
"kco": {Part3: "kco", Scope: 'I', LanguageType: 'L', Name: "Kinalakna"},
"kcp": {Part3: "kcp", Scope: 'I', LanguageType: 'L', Name: "Kanga"},
"kcq": {Part3: "kcq", Scope: 'I', LanguageType: 'L', Name: "Kamo"},
"kcr": {Part3: "kcr", Scope: 'I', LanguageType: 'L', Name: "Katla"},
"kcs": {Part3: "kcs", Scope: 'I', LanguageType: 'L', Name: "Koenoem"},
"kct": {Part3: "kct", Scope: 'I', LanguageType: 'L', Name: "Kaian"},
"kcu": {Part3: "kcu", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"kcv": {Part3: "kcv", Scope: 'I', LanguageType: 'L', Name: "Kete"},
"kcw": {Part3: "kcw", Scope: 'I', LanguageType: 'L', Name: "Kabwari"},
"kcx": {Part3: "kcx", Scope: 'I', LanguageType: 'L', Name: "Kachama-Ganjule"},
"kcy": {Part3: "kcy", Scope: 'I', LanguageType: 'L', Name: "Korandje"},
"kcz": {Part3: "kcz", Scope: 'I', LanguageType: 'L', Name: "Konongo"},
"kda": {Part3: "kda", Scope: 'I', LanguageType: 'E', Name: "Worimi"},
"kdc": {Part3: "kdc", Scope: 'I', LanguageType: 'L', Name: "Kutu"},
"kdd": {Part3: "kdd", Scope: 'I', LanguageType: 'L', Name: "Yankunytjatjara"},
"kde": {Part3: "kde", Scope: 'I', LanguageType: 'L', Name: "Makonde"},
"kdf": {Part3: "kdf", Scope: 'I', LanguageType: 'L', Name: "Mamusi"},
"kdg": {Part3: "kdg", Scope: 'I', LanguageType: 'L', Name: "Seba"},
"kdh": {Part3: "kdh", Scope: 'I', LanguageType: 'L', Name: "Tem"},
"kdi": {Part3: "kdi", Scope: 'I', LanguageType: 'L', Name: "Kumam"},
"kdj": {Part3: "kdj", Scope: 'I', LanguageType: 'L', Name: "Karamojong"},
"kdk": {Part3: "kdk", Scope: 'I', LanguageType: 'L', Name: "Numèè"},
"kdl": {Part3: "kdl", Scope: 'I', LanguageType: 'L', Name: "Tsikimba"},
"kdm": {Part3: "kdm", Scope: 'I', LanguageType: 'L', Name: "Kagoma"},
"kdn": {Part3: "kdn", Scope: 'I', LanguageType: 'L', Name: "Kunda"},
"kdp": {Part3: "kdp", Scope: 'I', LanguageType: 'L', Name: "Kaningdon-Nindem"},
"kdq": {Part3: "kdq", Scope: 'I', LanguageType: 'L', Name: "Koch"},
"kdr": {Part3: "kdr", Scope: 'I', LanguageType: 'L', Name: "Karaim"},
"kdt": {Part3: "kdt", Scope: 'I', LanguageType: 'L', Name: "Kuy"},
"kdu": {Part3: "kdu", Scope: 'I', LanguageType: 'L', Name: "Kadaru"},
"kdw": {Part3: "kdw", Scope: 'I', LanguageType: 'L', Name: "Koneraw"},
"kdx": {Part3: "kdx", Scope: 'I', LanguageType: 'L', Name: "Kam"},
"kdy": {Part3: "kdy", Scope: 'I', LanguageType: 'L', Name: "Keder"},
"kdz": {Part3: "kdz", Scope: 'I', LanguageType: 'L', Name: "Kwaja"},
"kea": {Part3: "kea", Scope: 'I', LanguageType: 'L', Name: "Kabuverdianu"},
"keb": {Part3: "keb", Scope: 'I', LanguageType: 'L', Name: "Kélé"},
"kec": {Part3: "kec", Scope: 'I', LanguageType: 'L', Name: "Keiga"},
"ked": {Part3: "ked", Scope: 'I', LanguageType: 'L', Name: "Kerewe"},
"kee": {Part3: "kee", Scope: 'I', LanguageType: 'L', Name: "Eastern Keres"},
"kef": {Part3: "kef", Scope: 'I', LanguageType: 'L', Name: "Kpessi"},
"keg": {Part3: "keg", Scope: 'I', LanguageType: 'L', Name: "Tese"},
"keh": {Part3: "keh", Scope: 'I', LanguageType: 'L', Name: "Keak"},
"kei": {Part3: "kei", Scope: 'I', LanguageType: 'L', Name: "Kei"},
"kej": {Part3: "kej", Scope: 'I', LanguageType: 'L', Name: "Kadar"},
"kek": {Part3: "kek", Scope: 'I', LanguageType: 'L', Name: "Kekchí"},
"kel": {Part3: "kel", Scope: 'I', LanguageType: 'L', Name: "Kela (Democratic Republic of Congo)"},
"kem": {Part3: "kem", Scope: 'I', LanguageType: 'L', Name: "Kemak"},
"ken": {Part3: "ken", Scope: 'I', LanguageType: 'L', Name: "Kenyang"},
"keo": {Part3: "keo", Scope: 'I', LanguageType: 'L', Name: "Kakwa"},
"kep": {Part3: "kep", Scope: 'I', LanguageType: 'L', Name: "Kaikadi"},
"keq": {Part3: "keq", Scope: 'I', LanguageType: 'L', Name: "Kamar"},
"ker": {Part3: "ker", Scope: 'I', LanguageType: 'L', Name: "Kera"},
"kes": {Part3: "kes", Scope: 'I', LanguageType: 'L', Name: "Kugbo"},
"ket": {Part3: "ket", Scope: 'I', LanguageType: 'L', Name: "Ket"},
"keu": {Part3: "keu", Scope: 'I', LanguageType: 'L', Name: "Akebu"},
"kev": {Part3: "kev", Scope: 'I', LanguageType: 'L', Name: "Kanikkaran"},
"kew": {Part3: "kew", Scope: 'I', LanguageType: 'L', Name: "West Kewa"},
"kex": {Part3: "kex", Scope: 'I', LanguageType: 'L', Name: "Kukna"},
"key": {Part3: "key", Scope: 'I', LanguageType: 'L', Name: "Kupia"},
"kez": {Part3: "kez", Scope: 'I', LanguageType: 'L', Name: "Kukele"},
"kfa": {Part3: "kfa", Scope: 'I', LanguageType: 'L', Name: "Kodava"},
"kfb": {Part3: "kfb", Scope: 'I', LanguageType: 'L', Name: "Northwestern Kolami"},
"kfc": {Part3: "kfc", Scope: 'I', LanguageType: 'L', Name: "Konda-Dora"},
"kfd": {Part3: "kfd", Scope: 'I', LanguageType: 'L', Name: "Korra Koraga"},
"kfe": {Part3: "kfe", Scope: 'I', LanguageType: 'L', Name: "Kota (India)"},
"kff": {Part3: "kff", Scope: 'I', LanguageType: 'L', Name: "Koya"},
"kfg": {Part3: "kfg", Scope: 'I', LanguageType: 'L', Name: "Kudiya"},
"kfh": {Part3: "kfh", Scope: 'I', LanguageType: 'L', Name: "Kurichiya"},
"kfi": {Part3: "kfi", Scope: 'I', LanguageType: 'L', Name: "Kannada Kurumba"},
"kfj": {Part3: "kfj", Scope: 'I', LanguageType: 'L', Name: "Kemiehua"},
"kfk": {Part3: "kfk", Scope: 'I', LanguageType: 'L', Name: "Kinnauri"},
"kfl": {Part3: "kfl", Scope: 'I', LanguageType: 'L', Name: "Kung"},
"kfm": {Part3: "kfm", Scope: 'I', LanguageType: 'L', Name: "Khunsari"},
"kfn": {Part3: "kfn", Scope: 'I', LanguageType: 'L', Name: "Kuk"},
"kfo": {Part3: "kfo", Scope: 'I', LanguageType: 'L', Name: "Koro (Côte d'Ivoire)"},
"kfp": {Part3: "kfp", Scope: 'I', LanguageType: 'L', Name: "Korwa"},
"kfq": {Part3: "kfq", Scope: 'I', LanguageType: 'L', Name: "Korku"},
"kfr": {Part3: "kfr", Scope: 'I', LanguageType: 'L', Name: "Kachhi"},
"kfs": {Part3: "kfs", Scope: 'I', LanguageType: 'L', Name: "Bilaspuri"},
"kft": {Part3: "kft", Scope: 'I', LanguageType: 'L', Name: "Kanjari"},
"kfu": {Part3: "kfu", Scope: 'I', LanguageType: 'L', Name: "Katkari"},
"kfv": {Part3: "kfv", Scope: 'I', LanguageType: 'L', Name: "Kurmukar"},
"kfw": {Part3: "kfw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kfx": {Part3: "kfx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kfy": {Part3: "kfy", Scope: 'I', LanguageType: 'L', Name: "Kumaoni"},
"kfz": {Part3: "kfz", Scope: 'I', LanguageType: 'L', Name: "Koromfé"},
"kga": {Part3: "kga", Scope: 'I', LanguageType: 'L', Name: "Koyaga"},
"kgb": {Part3: "kgb", Scope: 'I', LanguageType: 'L', Name: "Kawe"},
"kge": {Part3: "kge", Scope: 'I', LanguageType: 'L', Name: "Komering"},
"kgf": {Part3: "kgf", Scope: 'I', LanguageType: 'L', Name: "Kube"},
"kgg": {Part3: "kgg", Scope: 'I', LanguageType: 'L', Name: "Kusunda"},
"kgi": {Part3: "kgi", Scope: 'I', LanguageType: 'L', Name: "Selangor Sign Language"},
"kgj": {Part3: "kgj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kgk": {Part3: "kgk", Scope: 'I', LanguageType: 'L', Name: "Kaiwá"},
"kgl": {Part3: "kgl", Scope: 'I', LanguageType: 'E', Name: "Kunggari"},
"kgm": {Part3: "kgm", Scope: 'I', LanguageType: 'E', Name: "Karipúna"},
"kgn": {Part3: "kgn", Scope: 'I', LanguageType: 'L', Name: "Karingani"},
"kgo": {Part3: "kgo", Scope: 'I', LanguageType: 'L', Name: "Krongo"},
"kgp": {Part3: "kgp", Scope: 'I', LanguageType: 'L', Name: "Kaingang"},
"kgq": {Part3: "kgq", Scope: 'I', LanguageType: 'L', Name: "Kamoro"},
"kgr": {Part3: "kgr", Scope: 'I', LanguageType: 'L', Name: "Abun"},
"kgs": {Part3: "kgs", Scope: 'I', LanguageType: 'L', Name: "Kumbainggar"},
"kgt": {Part3: "kgt", Scope: 'I', LanguageType: 'L', Name: "Somyev"},
"kgu": {Part3: "kgu", Scope: 'I', LanguageType: 'L', Name: "Kobol"},
"kgv": {Part3: "kgv", Scope: 'I', LanguageType: 'L', Name: "Karas"},
"kgw": {Part3: "kgw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kgx": {Part3: "kgx", Scope: 'I', LanguageType: 'L', Name: "Kamaru"},
"kgy": {Part3: "kgy", Scope: 'I', LanguageType: 'L', Name: "Kyerung"},
"kha": {Part3: "kha", Part2B: "kha", Part2T: "kha", Scope: 'I', LanguageType: 'L', Name: "Khasi"},
"khb": {Part3: "khb", Scope: 'I', LanguageType: 'L', Name: "Lü"},
"khc": {Part3: "khc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"khd": {Part3: "khd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"khe": {Part3: "khe", Scope: 'I', LanguageType: 'L', Name: "Korowai"},
"khf": {Part3: "khf", Scope: 'I', LanguageType: 'L', Name: "Khuen"},
"khg": {Part3: "khg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"khh": {Part3: "khh", Scope: 'I', LanguageType: 'L', Name: "Kehu"},
"khj": {Part3: "khj", Scope: 'I', LanguageType: 'L', Name: "Kuturmi"},
"khk": {Part3: "khk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"khl": {Part3: "khl", Scope: 'I', LanguageType: 'L', Name: "Lusi"},
"khm": {Part3: "khm", Part2B: "khm", Part2T: "khm", Part1: "km", Scope: 'I', LanguageType: 'L', Name: "Khmer"},
"khn": {Part3: "khn", Scope: 'I', LanguageType: 'L', Name: "Khandesi"},
"kho": {Part3: "kho", Part2B: "kho", Part2T: "kho", Scope: 'I', LanguageType: 'A', Name: "Khotanese"},
"khp": {Part3: "khp", Scope: 'I', LanguageType: 'L', Name: "Kapori"},
"khq": {Part3: "khq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"khr": {Part3: "khr", Scope: 'I', LanguageType: 'L', Name: "Kharia"},
"khs": {Part3: "khs", Scope: 'I', LanguageType: 'L', Name: "Kasua"},
"kht": {Part3: "kht", Scope: 'I', LanguageType: 'L', Name: "Khamti"},
"khu": {Part3: "khu", Scope: 'I', LanguageType: 'L', Name: "Nkhumbi"},
"khv": {Part3: "khv", Scope: 'I', LanguageType: 'L', Name: "Khvarshi"},
"khw": {Part3: "khw", Scope: 'I', LanguageType: 'L', Name: "Khowar"},
"khx": {Part3: "khx", Scope: 'I', LanguageType: 'L', Name: "Kanu"},
"khy": {Part3: "khy", Scope: 'I', LanguageType: 'L', Name: "Kele (Democratic Republic of Congo)"},
"khz": {Part3: "khz", Scope: 'I', LanguageType: 'L', Name: "Keapara"},
"kia": {Part3: "kia", Scope: 'I', LanguageType: 'L', Name: "Kim"},
"kib": {Part3: "kib", Scope: 'I', LanguageType: 'L', Name: "Koalib"},
"kic": {Part3: "kic", Scope: 'I', LanguageType: 'L', Name: "Kickapoo"},
"kid": {Part3: "kid", Scope: 'I', LanguageType: 'L', Name: "Koshin"},
"kie": {Part3: "kie", Scope: 'I', LanguageType: 'L', Name: "Kibet"},
"kif": {Part3: "kif", Scope: 'I', LanguageType: 'L', Name: "Eastern Parbate Kham"},
"kig": {Part3: "kig", Scope: 'I', LanguageType: 'L', Name: "Kimaama"},
"kih": {Part3: "kih", Scope: 'I', LanguageType: 'L', Name: "Kilmeri"},
"kii": {Part3: "kii", Scope: 'I', LanguageType: 'E', Name: "Kitsai"},
"kij": {Part3: "kij", Scope: 'I', LanguageType: 'L', Name: "Kilivila"},
"kik": {Part3: "kik", Part2B: "kik", Part2T: "kik", Part1: "ki", Scope: 'I', LanguageType: 'L', Name: "Kikuyu"},
"kil": {Part3: "kil", Scope: 'I', LanguageType: 'L', Name: "Kariya"},
"kim": {Part3: "kim", Scope: 'I', LanguageType: 'L', Name: "Karagas"},
"kin": {Part3: "kin", Part2B: "kin", Part2T: "kin", Part1: "rw", Scope: 'I', LanguageType: 'L', Name: "Kinyarwanda"},
"kio": {Part3: "kio", Scope: 'I', LanguageType: 'L', Name: "Kiowa"},
"kip": {Part3: "kip", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kiq": {Part3: "kiq", Scope: 'I', LanguageType: 'L', Name: "Kosadle"},
"kir": {Part3: "kir", Part2B: "kir", Part2T: "kir", Part1: "ky", Scope: 'I', LanguageType: 'L', Name: "Kirghiz"},
"kis": {Part3: "kis", Scope: 'I', LanguageType: 'L', Name: "Kis"},
"kit": {Part3: "kit", Scope: 'I', LanguageType: 'L', Name: "Agob"},
"kiu": {Part3: "kiu", Scope: 'I', LanguageType: 'L', Name: "Kirmanjki (individual language)"},
"kiv": {Part3: "kiv", Scope: 'I', LanguageType: 'L', Name: "Kimbu"},
"kiw": {Part3: "kiw", Scope: 'I', LanguageType: 'L', Name: "Northeast Kiwai"},
"kix": {Part3: "kix", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kiy": {Part3: "kiy", Scope: 'I', LanguageType: 'L', Name: "Kirikiri"},
"kiz": {Part3: "kiz", Scope: 'I', LanguageType: 'L', Name: "Kisi"},
"kja": {Part3: "kja", Scope: 'I', LanguageType: 'L', Name: "Mlap"},
"kjb": {Part3: "kjb", Scope: 'I', LanguageType: 'L', Name: "Q'anjob'al"},
"kjc": {Part3: "kjc", Scope: 'I', LanguageType: 'L', Name: "Coastal Konjo"},
"kjd": {Part3: "kjd", Scope: 'I', LanguageType: 'L', Name: "Southern Kiwai"},
"kje": {Part3: "kje", Scope: 'I', LanguageType: 'L', Name: "Kisar"},
"kjg": {Part3: "kjg", Scope: 'I', LanguageType: 'L', Name: "Khmu"},
"kjh": {Part3: "kjh", Scope: 'I', LanguageType: 'L', Name: "Khakas"},
"kji": {Part3: "kji", Scope: 'I', LanguageType: 'L', Name: "Zabana"},
"kjj": {Part3: "kjj", Scope: 'I', LanguageType: 'L', Name: "Khinalugh"},
"kjk": {Part3: "kjk", Scope: 'I', LanguageType: 'L', Name: "Highland Konjo"},
"kjl": {Part3: "kjl", Scope: 'I', LanguageType: 'L', Name: "Western Parbate Kham"},
"kjm": {Part3: "kjm", Scope: 'I', LanguageType: 'L', Name: "Kháng"},
"kjn": {Part3: "kjn", Scope: 'I', LanguageType: 'L', Name: "Kunjen"},
"kjo": {Part3: "kjo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kjp": {Part3: "kjp", Scope: 'I', LanguageType: 'L', Name: "Pwo Eastern Karen"},
"kjq": {Part3: "kjq", Scope: 'I', LanguageType: 'L', Name: "Western Keres"},
"kjr": {Part3: "kjr", Scope: 'I', LanguageType: 'L', Name: "Kurudu"},
"kjs": {Part3: "kjs", Scope: 'I', LanguageType: 'L', Name: "East Kewa"},
"kjt": {Part3: "kjt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kju": {Part3: "kju", Scope: 'I', LanguageType: 'L', Name: "Kashaya"},
"kjv": {Part3: "kjv", Scope: 'I', LanguageType: 'H', Name: "Kaikavian Literary Language"},
"kjx": {Part3: "kjx", Scope: 'I', LanguageType: 'L', Name: "Ramopa"},
"kjy": {Part3: "kjy", Scope: 'I', LanguageType: 'L', Name: "Erave"},
"kjz": {Part3: "kjz", Scope: 'I', LanguageType: 'L', Name: "Bumthangkha"},
"kka": {Part3: "kka", Scope: 'I', LanguageType: 'L', Name: "Kakanda"},
"kkb": {Part3: "kkb", Scope: 'I', LanguageType: 'L', Name: "Kwerisa"},
"kkc": {Part3: "kkc", Scope: 'I', LanguageType: 'L', Name: "Odoodee"},
"kkd": {Part3: "kkd", Scope: 'I', LanguageType: 'L', Name: "Kinuku"},
"kke": {Part3: "kke", Scope: 'I', LanguageType: 'L', Name: "Kakabe"},
"kkf": {Part3: "kkf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kkg": {Part3: "kkg", Scope: 'I', LanguageType: 'L', Name: "Mabaka Valley Kalinga"},
"kkh": {Part3: "kkh", Scope: 'I', LanguageType: 'L', Name: "Khün"},
"kki": {Part3: "kki", Scope: 'I', LanguageType: 'L', Name: "Kagulu"},
"kkj": {Part3: "kkj", Scope: 'I', LanguageType: 'L', Name: "Kako"},
"kkk": {Part3: "kkk", Scope: 'I', LanguageType: 'L', Name: "Kokota"},
"kkl": {Part3: "kkl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kkm": {Part3: "kkm", Scope: 'I', LanguageType: 'L', Name: "Kiong"},
"kkn": {Part3: "kkn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kko": {Part3: "kko", Scope: 'I', LanguageType: 'L', Name: "Karko"},
"kkp": {Part3: "kkp", Scope: 'I', LanguageType: 'L', Name: "Gugubera"},
"kkq": {Part3: "kkq", Scope: 'I', LanguageType: 'L', Name: "Kaeku"},
"kkr": {Part3: "kkr", Scope: 'I', LanguageType: 'L', Name: "Kir-Balar"},
"kks": {Part3: "kks", Scope: 'I', LanguageType: 'L', Name: "Giiwo"},
"kkt": {Part3: "kkt", Scope: 'I', LanguageType: 'L', Name: "Koi"},
"kku": {Part3: "kku", Scope: 'I', LanguageType: 'L', Name: "Tumi"},
"kkv": {Part3: "kkv", Scope: 'I', LanguageType: 'L', Name: "Kangean"},
"kkw": {Part3: "kkw", Scope: 'I', LanguageType: 'L', Name: "Teke-Kukuya"},
"kkx": {Part3: "kkx", Scope: 'I', LanguageType: 'L', Name: "Kohin"},
"kky": {Part3: "kky", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kkz": {Part3: "kkz", Scope: 'I', LanguageType: 'L', Name: "Kaska"},
"kla": {Part3: "kla", Scope: 'I', LanguageType: 'E', Name: "Klamath-Modoc"},
"klb": {Part3: "klb", Scope: 'I', LanguageType: 'L', Name: "Kiliwa"},
"klc": {Part3: "klc", Scope: 'I', LanguageType: 'L', Name: "Kolbila"},
"kld": {Part3: "kld", Scope: 'I', LanguageType: 'L', Name: "Gamilaraay"},
"kle": {Part3: "kle", Scope: 'I', LanguageType: 'L', Name: "Kulung (Nepal)"},
"klf": {Part3: "klf", Scope: 'I', LanguageType: 'L', Name: "Kendeje"},
"klg": {Part3: "klg", Scope: 'I', LanguageType: 'L', Name: "Tagakaulo"},
"klh": {Part3: "klh", Scope: 'I', LanguageType: 'L', Name: "Weliki"},
"kli": {Part3: "kli", Scope: 'I', LanguageType: 'L', Name: "Kalumpang"},
"klj": {Part3: "klj", Scope: 'I', LanguageType: 'L', Name: "Khalaj"},
"klk": {Part3: "klk", Scope: 'I', LanguageType: 'L', Name: "Kono (Nigeria)"},
"kll": {Part3: "kll", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"klm": {Part3: "klm", Scope: 'I', LanguageType: 'L', Name: "Migum"},
"kln": {Part3: "kln", Scope: 'M', LanguageType: 'L', Name: "Kalenjin"},
"klo": {Part3: "klo", Scope: 'I', LanguageType: 'L', Name: "Kapya"},
"klp": {Part3: "klp", Scope: 'I', LanguageType: 'L', Name: "Kamasa"},
"klq": {Part3: "klq", Scope: 'I', LanguageType: 'L', Name: "Rumu"},
"klr": {Part3: "klr", Scope: 'I', LanguageType: 'L', Name: "Khaling"},
"kls": {Part3: "kls", Scope: 'I', LanguageType: 'L', Name: "Kalasha"},
"klt": {Part3: "klt", Scope: 'I', LanguageType: 'L', Name: "Nukna"},
"klu": {Part3: "klu", Scope: 'I', LanguageType: 'L', Name: "Klao"},
"klv": {Part3: "klv", Scope: 'I', LanguageType: 'L', Name: "Maskelynes"},
"klw": {Part3: "klw", Scope: 'I', LanguageType: 'L', Name: "Tado"},
"klx": {Part3: "klx", Scope: 'I', LanguageType: 'L', Name: "Koluwawa"},
"kly": {Part3: "kly", Scope: 'I', LanguageType: 'L', Name: "Kalao"},
"klz": {Part3: "klz", Scope: 'I', LanguageType: 'L', Name: "Kabola"},
"kma": {Part3: "kma", Scope: 'I', LanguageType: 'L', Name: "Konni"},
"kmb": {Part3: "kmb", Part2B: "kmb", Part2T: "kmb", Scope: 'I', LanguageType: 'L', Name: "Kimbundu"},
"kmc": {Part3: "kmc", Scope: 'I', LanguageType: 'L', Name: "Southern Dong"},
"kmd": {Part3: "kmd", Scope: 'I', LanguageType: 'L', Name: "Majukayang Kalinga"},
"kme": {Part3: "kme", Scope: 'I', LanguageType: 'L', Name: "Bakole"},
"kmf": {Part3: "kmf", Scope: 'I', LanguageType: 'L', Name: "Kare (Papua New Guinea)"},
"kmg": {Part3: "kmg", Scope: 'I', LanguageType: 'L', Name: "Kâte"},
"kmh": {Part3: "kmh", Scope: 'I', LanguageType: 'L', Name: "Kalam"},
"kmi": {Part3: "kmi", Scope: 'I', LanguageType: 'L', Name: "Kami (Nigeria)"},
"kmj": {Part3: "kmj", Scope: 'I', LanguageType: 'L', Name: "Kumarbhag Paharia"},
"kmk": {Part3: "kmk", Scope: 'I', LanguageType: 'L', Name: "Limos Kalinga"},
"kml": {Part3: "kml", Scope: 'I', LanguageType: 'L', Name: "Tanudan Kalinga"},
"kmm": {Part3: "kmm", Scope: 'I', LanguageType: 'L', Name: "Kom (India)"},
"kmn": {Part3: "kmn", Scope: 'I', LanguageType: 'L', Name: "Awtuw"},
"kmo": {Part3: "kmo", Scope: 'I', LanguageType: 'L', Name: "Kwoma"},
"kmp": {Part3: "kmp", Scope: 'I', LanguageType: 'L', Name: "Gimme"},
"kmq": {Part3: "kmq", Scope: 'I', LanguageType: 'L', Name: "Kwama"},
"kmr": {Part3: "kmr", Scope: 'I', LanguageType: 'L', Name: "Northern Kurdish"},
"kms": {Part3: "kms", Scope: 'I', LanguageType: 'L', Name: "Kamasau"},
"kmt": {Part3: "kmt", Scope: 'I', LanguageType: 'L', Name: "Kemtuik"},
"kmu": {Part3: "kmu", Scope: 'I', LanguageType: 'L', Name: "Kanite"},
"kmv": {Part3: "kmv", Scope: 'I', LanguageType: 'L', Name: "Karipúna Creole French"},
"kmw": {Part3: "kmw", Scope: 'I', LanguageType: 'L', Name: "Komo (Democratic Republic of Congo)"},
"kmx": {Part3: "kmx", Scope: 'I', LanguageType: 'L', Name: "Waboda"},
"kmy": {Part3: "kmy", Scope: 'I', LanguageType: 'L', Name: "Koma"},
"kmz": {Part3: "kmz", Scope: 'I', LanguageType: 'L', Name: "Khorasani Turkish"},
"kna": {Part3: "kna", Scope: 'I', LanguageType: 'L', Name: "Dera (Nigeria)"},
"knb": {Part3: "knb", Scope: 'I', LanguageType: 'L', Name: "Lubuagan Kalinga"},
"knc": {Part3: "knc", Scope: 'I', LanguageType: 'L', Name: "Central Kanuri"},
"knd": {Part3: "knd", Scope: 'I', LanguageType: 'L', Name: "Konda"},
"kne": {Part3: "kne", Scope: 'I', LanguageType: 'L', Name: "Kankanaey"},
"knf": {Part3: "knf", Scope: 'I', LanguageType: 'L', Name: "Mankanya"},
"kng": {Part3: "kng", Scope: 'I', LanguageType: 'L', Name: "Koongo"},
"kni": {Part3: "kni", Scope: 'I', LanguageType: 'L', Name: "Kanufi"},
"knj": {Part3: "knj", Scope: 'I', LanguageType: 'L', Name: "Western Kanjobal"},
"knk": {Part3: "knk", Scope: 'I', LanguageType: 'L', Name: "Kuranko"},
"knl": {Part3: "knl", Scope: 'I', LanguageType: 'L', Name: "Keninjal"},
"knm": {Part3: "knm", Scope: 'I', LanguageType: 'L', Name: "Kanamarí"},
"knn": {Part3: "knn", Scope: 'I', LanguageType: 'L', Name: "Konkani (individual language)"},
"kno": {Part3: "kno", Scope: 'I', LanguageType: 'L', Name: "Kono (Sierra Leone)"},
"knp": {Part3: "knp", Scope: 'I', LanguageType: 'L', Name: "Kwanja"},
"knq": {Part3: "knq", Scope: 'I', LanguageType: 'L', Name: "Kintaq"},
"knr": {Part3: "knr", Scope: 'I', LanguageType: 'L', Name: "Kaningra"},
"kns": {Part3: "kns", Scope: 'I', LanguageType: 'L', Name: "Kensiu"},
"knt": {Part3: "knt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"knu": {Part3: "knu", Scope: 'I', LanguageType: 'L', Name: "Kono (Guinea)"},
"knv": {Part3: "knv", Scope: 'I', LanguageType: 'L', Name: "Tabo"},
"knw": {Part3: "knw", Scope: 'I', LanguageType: 'L', Name: "Kung-Ekoka"},
"knx": {Part3: "knx", Scope: 'I', LanguageType: 'L', Name: "Kendayan"},
"kny": {Part3: "kny", Scope: 'I', LanguageType: 'L', Name: "Kanyok"},
"knz": {Part3: "knz", Scope: 'I', LanguageType: 'L', Name: "Kalamsé"},
"koa": {Part3: "koa", Scope: 'I', LanguageType: 'L', Name: "Konomala"},
"koc": {Part3: "koc", Scope: 'I', LanguageType: 'E', Name: "Kpati"},
"kod": {Part3: "kod", Scope: 'I', LanguageType: 'L', Name: "Kodi"},
"koe": {Part3: "koe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kof": {Part3: "kof", Scope: 'I', LanguageType: 'E', Name: "Kubi"},
"kog": {Part3: "kog", Scope: 'I', LanguageType: 'L', Name: "Cogui"},
"koh": {Part3: "koh", Scope: 'I', LanguageType: 'L', Name: "Koyo"},
"koi": {Part3: "koi", Scope: 'I', LanguageType: 'L', Name: "Komi-Permyak"},
"kok": {Part3: "kok", Part2B: "kok", Part2T: "kok", Scope: 'M', LanguageType: 'L', Name: "Konkani (macrolanguage)"},
"kol": {Part3: "kol", Scope: 'I', LanguageType: 'L', Name: "Kol (Papua New Guinea)"},
"kom": {Part3: "kom", Part2B: "kom", Part2T: "kom", Part1: "kv", Scope: 'M', LanguageType: 'L', Name: "Komi"},
"kon": {Part3: "kon", Part2B: "kon", Part2T: "kon", Part1: "kg", Scope: 'M', LanguageType: 'L', Name: "Kongo"},
"koo": {Part3: "koo", Scope: 'I', LanguageType: 'L', Name: "Konzo"},
"kop": {Part3: "kop", Scope: 'I', LanguageType: 'L', Name: "Waube"},
"koq": {Part3: "koq", Scope: 'I', LanguageType: 'L', Name: "Kota (Gabon)"},
"kor": {Part3: "kor", Part2B: "kor", Part2T: "kor", Part1: "ko", Scope: 'I', LanguageType: 'L', Name: "Korean"},
"kos": {Part3: "kos", Part2B: "kos", Part2T: "kos", Scope: 'I', LanguageType: 'L', Name: "Kosraean"},
"kot": {Part3: "kot", Scope: 'I', LanguageType: 'L', Name: "Lagwan"},
"kou": {Part3: "kou", Scope: 'I', LanguageType: 'L', Name: "Koke"},
"kov": {Part3: "kov", Scope: 'I', LanguageType: 'L', Name: "Kudu-Camo"},
"kow": {Part3: "kow", Scope: 'I', LanguageType: 'L', Name: "Kugama"},
"koy": {Part3: "koy", Scope: 'I', LanguageType: 'L', Name: "Koyukon"},
"koz": {Part3: "koz", Scope: 'I', LanguageType: 'L', Name: "Korak"},
"kpa": {Part3: "kpa", Scope: 'I', LanguageType: 'L', Name: "Kutto"},
"kpb": {Part3: "kpb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kpc": {Part3: "kpc", Scope: 'I', LanguageType: 'L', Name: "Curripaco"},
"kpd": {Part3: "kpd", Scope: 'I', LanguageType: 'L', Name: "Koba"},
"kpe": {Part3: "kpe", Part2B: "kpe", Part2T: "kpe", Scope: 'M', LanguageType: 'L', Name: "Kpelle"},
"kpf": {Part3: "kpf", Scope: 'I', LanguageType: 'L', Name: "Komba"},
"kpg": {Part3: "kpg", Scope: 'I', LanguageType: 'L', Name: "Kapingamarangi"},
"kph": {Part3: "kph", Scope: 'I', LanguageType: 'L', Name: "Kplang"},
"kpi": {Part3: "kpi", Scope: 'I', LanguageType: 'L', Name: "Kofei"},
"kpj": {Part3: "kpj", Scope: 'I', LanguageType: 'L', Name: "Karajá"},
"kpk": {Part3: "kpk", Scope: 'I', LanguageType: 'L', Name: "Kpan"},
"kpl": {Part3: "kpl", Scope: 'I', LanguageType: 'L', Name: "Kpala"},
"kpm": {Part3: "kpm", Scope: 'I', LanguageType: 'L', Name: "Koho"},
"kpn": {Part3: "kpn", Scope: 'I', LanguageType: 'E', Name: "Kepkiriwát"},
"kpo": {Part3: "kpo", Scope: 'I', LanguageType: 'L', Name: "Ikposo"},
"kpq": {Part3: "kpq", Scope: 'I', LanguageType: 'L', Name: "Korupun-Sela"},
"kpr": {Part3: "kpr", Scope: 'I', LanguageType: 'L', Name: "Korafe-Yegha"},
"kps": {Part3: "kps", Scope: 'I', LanguageType: 'L', Name: "Tehit"},
"kpt": {Part3: "kpt", Scope: 'I', LanguageType: 'L', Name: "Karata"},
"kpu": {Part3: "kpu", Scope: 'I', LanguageType: 'L', Name: "Kafoa"},
"kpv": {Part3: "kpv", Scope: 'I', LanguageType: 'L', Name: "Komi-Zyrian"},
"kpw": {Part3: "kpw", Scope: 'I', LanguageType: 'L', Name: "Kobon"},
"kpx": {Part3: "kpx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kpy": {Part3: "kpy", Scope: 'I', LanguageType: 'L', Name: "Koryak"},
"kpz": {Part3: "kpz", Scope: 'I', LanguageType: 'L', Name: "Kupsabiny"},
"kqa": {Part3: "kqa", Scope: 'I', LanguageType: 'L', Name: "Mum"},
"kqb": {Part3: "kqb", Scope: 'I', LanguageType: 'L', Name: "Kovai"},
"kqc": {Part3: "kqc", Scope: 'I', LanguageType: 'L', Name: "Doromu-Koki"},
"kqd": {Part3: "kqd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kqe": {Part3: "kqe", Scope: 'I', LanguageType: 'L', Name: "Kalagan"},
"kqf": {Part3: "kqf", Scope: 'I', LanguageType: 'L', Name: "Kakabai"},
"kqg": {Part3: "kqg", Scope: 'I', LanguageType: 'L', Name: "Khe"},
"kqh": {Part3: "kqh", Scope: 'I', LanguageType: 'L', Name: "Kisankasa"},
"kqi": {Part3: "kqi", Scope: 'I', LanguageType: 'L', Name: "Koitabu"},
"kqj": {Part3: "kqj", Scope: 'I', LanguageType: 'L', Name: "Koromira"},
"kqk": {Part3: "kqk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kql": {Part3: "kql", Scope: 'I', LanguageType: 'L', Name: "Kyenele"},
"kqm": {Part3: "kqm", Scope: 'I', LanguageType: 'L', Name: "Khisa"},
"kqn": {Part3: "kqn", Scope: 'I', LanguageType: 'L', Name: "Kaonde"},
"kqo": {Part3: "kqo", Scope: 'I', LanguageType: 'L', Name: "Eastern Krahn"},
"kqp": {Part3: "kqp", Scope: 'I', LanguageType: 'L', Name: "Kimré"},
"kqq": {Part3: "kqq", Scope: 'I', LanguageType: 'L', Name: "Krenak"},
"kqr": {Part3: "kqr", Scope: 'I', LanguageType: 'L', Name: "Kimaragang"},
"kqs": {Part3: "kqs", Scope: 'I', LanguageType: 'L', Name: "Northern Kissi"},
"kqt": {Part3: "kqt", Scope: 'I', LanguageType: 'L', Name: "Klias River Kadazan"},
"kqu": {Part3: "kqu", Scope: 'I', LanguageType: 'E', Name: "Seroa"},
"kqv": {Part3: "kqv", Scope: 'I', LanguageType: 'L', Name: "Okolod"},
"kqw": {Part3: "kqw", Scope: 'I', LanguageType: 'L', Name: "Kandas"},
"kqx": {Part3: "kqx", Scope: 'I', LanguageType: 'L', Name: "Mser"},
"kqy": {Part3: "kqy", Scope: 'I', LanguageType: 'L', Name: "Koorete"},
"kqz": {Part3: "kqz", Scope: 'I', LanguageType: 'E', Name: "Korana"},
"kra": {Part3: "kra", Scope: 'I', LanguageType: 'L', Name: "Kumhali"},
"krb": {Part3: "krb", Scope: 'I', LanguageType: 'E', Name: "Karkin"},
"krc": {Part3: "krc", Part2B: "krc", Part2T: "krc", Scope: 'I', LanguageType: 'L', Name: "Karachay-Balkar"},
"krd": {Part3: "krd", Scope: 'I', LanguageType: 'L', Name: "Kairui-Midiki"},
"kre": {Part3: "kre", Scope: 'I', LanguageType: 'L', Name: "Panará"},
"krf": {Part3: "krf", Scope: 'I', LanguageType: 'L', Name: "Koro (Vanuatu)"},
"krh": {Part3: "krh", Scope: 'I', LanguageType: 'L', Name: "Kurama"},
"kri": {Part3: "kri", Scope: 'I', LanguageType: 'L', Name: "Krio"},
"krj": {Part3: "krj", Scope: 'I', LanguageType: 'L', Name: "Kinaray-A"},
"krk": {Part3: "krk", Scope: 'I', LanguageType: 'E', Name: "Kerek"},
"krl": {Part3: "krl", Part2B: "krl", Part2T: "krl", Scope: 'I', LanguageType: 'L', Name: "Karelian"},
"krn": {Part3: "krn", Scope: 'I', LanguageType: 'L', Name: "Sapo"},
"krp": {Part3: "krp", Scope: 'I', LanguageType: 'L', Name: "Korop"},
"krr": {Part3: "krr", Scope: 'I', LanguageType: 'L', Name: "Krung"},
"krs": {Part3: "krs", Scope: 'I', LanguageType: 'L', Name: "Gbaya (Sudan)"},
"krt": {Part3: "krt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kru": {Part3: "kru", Part2B: "kru", Part2T: "kru", Scope: 'I', LanguageType: 'L', Name: "Kurukh"},
"krv": {Part3: "krv", Scope: 'I', LanguageType: 'L', Name: "Kavet"},
"krw": {Part3: "krw", Scope: 'I', LanguageType: 'L', Name: "Western Krahn"},
"krx": {Part3: "krx", Scope: 'I', LanguageType: 'L', Name: "Karon"},
"kry": {Part3: "kry", Scope: 'I', LanguageType: 'L', Name: "Kryts"},
"krz": {Part3: "krz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ksa": {Part3: "ksa", Scope: 'I', LanguageType: 'L', Name: "Shuwa-Zamani"},
"ksb": {Part3: "ksb", Scope: 'I', LanguageType: 'L', Name: "Shambala"},
"ksc": {Part3: "ksc", Scope: 'I', LanguageType: 'L', Name: "Southern Kalinga"},
"ksd": {Part3: "ksd", Scope: 'I', LanguageType: 'L', Name: "Kuanua"},
"kse": {Part3: "kse", Scope: 'I', LanguageType: 'L', Name: "Kuni"},
"ksf": {Part3: "ksf", Scope: 'I', LanguageType: 'L', Name: "Bafia"},
"ksg": {Part3: "ksg", Scope: 'I', LanguageType: 'L', Name: "Kusaghe"},
"ksh": {Part3: "ksh", Scope: 'I', LanguageType: 'L', Name: "Kölsch"},
"ksi": {Part3: "ksi", Scope: 'I', LanguageType: 'L', Name: "Krisa"},
"ksj": {Part3: "ksj", Scope: 'I', LanguageType: 'L', Name: "Uare"},
"ksk": {Part3: "ksk", Scope: 'I', LanguageType: 'L', Name: "Kansa"},
"ksl": {Part3: "ksl", Scope: 'I', LanguageType: 'L', Name: "Kumalu"},
"ksm": {Part3: "ksm", Scope: 'I', LanguageType: 'L', Name: "Kumba"},
"ksn": {Part3: "ksn", Scope: 'I', LanguageType: 'L', Name: "Kasiguranin"},
"kso": {Part3: "kso", Scope: 'I', LanguageType: 'L', Name: "Kofa"},
"ksp": {Part3: "ksp", Scope: 'I', LanguageType: 'L', Name: "Kaba"},
"ksq": {Part3: "ksq", Scope: 'I', LanguageType: 'L', Name: "Kwaami"},
"ksr": {Part3: "ksr", Scope: 'I', LanguageType: 'L', Name: "Borong"},
"kss": {Part3: "kss", Scope: 'I', LanguageType: 'L', Name: "Southern Kisi"},
"kst": {Part3: "kst", Scope: 'I', LanguageType: 'L', Name: "Winyé"},
"ksu": {Part3: "ksu", Scope: 'I', LanguageType: 'L', Name: "Khamyang"},
"ksv": {Part3: "ksv", Scope: 'I', LanguageType: 'L', Name: "Kusu"},
"ksw": {Part3: "ksw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ksx": {Part3: "ksx", Scope: 'I', LanguageType: 'L', Name: "Kedang"},
"ksy": {Part3: "ksy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ksz": {Part3: "ksz", Scope: 'I', LanguageType: 'L', Name: "Kodaku"},
"kta": {Part3: "kta", Scope: 'I', LanguageType: 'L', Name: "Katua"},
"ktb": {Part3: "ktb", Scope: 'I', LanguageType: 'L', Name: "Kambaata"},
"ktc": {Part3: "ktc", Scope: 'I', LanguageType: 'L', Name: "Kholok"},
"ktd": {Part3: "ktd", Scope: 'I', LanguageType: 'L', Name: "Kokata"},
"kte": {Part3: "kte", Scope: 'I', LanguageType: 'L', Name: "Nubri"},
"ktf": {Part3: "ktf", Scope: 'I', LanguageType: 'L', Name: "Kwami"},
"ktg": {Part3: "ktg", Scope: 'I', LanguageType: 'E', Name: "Kalkutung"},
"kth": {Part3: "kth", Scope: 'I', LanguageType: 'L', Name: "Karanga"},
"kti": {Part3: "kti", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ktj": {Part3: "ktj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ktk": {Part3: "ktk", Scope: 'I', LanguageType: 'E', Name: "Kaniet"},
"ktl": {Part3: "ktl", Scope: 'I', LanguageType: 'L', Name: "Koroshi"},
"ktm": {Part3: "ktm", Scope: 'I', LanguageType: 'L', Name: "Kurti"},
"ktn": {Part3: "ktn", Scope: 'I', LanguageType: 'L', Name: "Karitiâna"},
"kto": {Part3: "kto", Scope: 'I', LanguageType: 'L', Name: "Kuot"},
"ktp": {Part3: "ktp", Scope: 'I', LanguageType: 'L', Name: "Kaduo"},
"ktq": {Part3: "ktq", Scope: 'I', LanguageType: 'E', Name: "Katabaga"},
"kts": {Part3: "kts", Scope: 'I', LanguageType: 'L', Name: "South Muyu"},
"ktt": {Part3: "ktt", Scope: 'I', LanguageType: 'L', Name: "Ketum"},
"ktu": {Part3: "ktu", Scope: 'I', LanguageType: 'L', Name: "Kituba (Democratic Republic of Congo)"},
"ktv": {Part3: "ktv", Scope: 'I', LanguageType: 'L', Name: "Eastern Katu"},
"ktw": {Part3: "ktw", Scope: 'I', LanguageType: 'E', Name: "Kato"},
"ktx": {Part3: "ktx", Scope: 'I', LanguageType: 'L', Name: "Kaxararí"},
"kty": {Part3: "kty", Scope: 'I', LanguageType: 'L', Name: "Kango (Bas-Uélé District)"},
"ktz": {Part3: "ktz", Scope: 'I', LanguageType: 'L', Name: "Juǀʼhoan"},
"kua": {Part3: "kua", Part2B: "kua", Part2T: "kua", Part1: "kj", Scope: 'I', LanguageType: 'L', Name: "Kuanyama"},
"kub": {Part3: "kub", Scope: 'I', LanguageType: 'L', Name: "Kutep"},
"kuc": {Part3: "kuc", Scope: 'I', LanguageType: 'L', Name: "Kwinsu"},
"kud": {Part3: "kud", Scope: 'I', LanguageType: 'L', Name: "'Auhelawa"},
"kue": {Part3: "kue", Scope: 'I', LanguageType: 'L', Name: "Kuman (Papua New Guinea)"},
"kuf": {Part3: "kuf", Scope: 'I', LanguageType: 'L', Name: "Western Katu"},
"kug": {Part3: "kug", Scope: 'I', LanguageType: 'L', Name: "Kupa"},
"kuh": {Part3: "kuh", Scope: 'I', LanguageType: 'L', Name: "Kushi"},
"kui": {Part3: "kui", Scope: 'I', LanguageType: 'L', Name: "Kuikúro-Kalapálo"},
"kuj": {Part3: "kuj", Scope: 'I', LanguageType: 'L', Name: "Kuria"},
"kuk": {Part3: "kuk", Scope: 'I', LanguageType: 'L', Name: "Kepo'"},
"kul": {Part3: "kul", Scope: 'I', LanguageType: 'L', Name: "Kulere"},
"kum": {Part3: "kum", Part2B: "kum", Part2T: "kum", Scope: 'I', LanguageType: 'L', Name: "Kumyk"},
"kun": {Part3: "kun", Scope: 'I', LanguageType: 'L', Name: "Kunama"},
"kuo": {Part3: "kuo", Scope: 'I', LanguageType: 'L', Name: "Kumukio"},
"kup": {Part3: "kup", Scope: 'I', LanguageType: 'L', Name: "Kunimaipa"},
"kuq": {Part3: "kuq", Scope: 'I', LanguageType: 'L', Name: "Karipuna"},
"kur": {Part3: "kur", Part2B: "kur", Part2T: "kur", Part1: "ku", Scope: 'M', LanguageType: 'L', Name: "Kurdish"},
"kus": {Part3: "kus", Scope: 'I', LanguageType: 'L', Name: "Kusaal"},
"kut": {Part3: "kut", Part2B: "kut", Part2T: "kut", Scope: 'I', LanguageType: 'L', Name: "Kutenai"},
"kuu": {Part3: "kuu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kuv": {Part3: "kuv", Scope: 'I', LanguageType: 'L', Name: "Kur"},
"kuw": {Part3: "kuw", Scope: 'I', LanguageType: 'L', Name: "Kpagua"},
"kux": {Part3: "kux", Scope: 'I', LanguageType: 'L', Name: "Kukatja"},
"kuy": {Part3: "kuy", Scope: 'I', LanguageType: 'L', Name: "Kuuku-Ya'u"},
"kuz": {Part3: "kuz", Scope: 'I', LanguageType: 'E', Name: "Kunza"},
"kva": {Part3: "kva", Scope: 'I', LanguageType: 'L', Name: "Bagvalal"},
"kvb": {Part3: "kvb", Scope: 'I', LanguageType: 'L', Name: "Kubu"},
"kvc": {Part3: "kvc", Scope: 'I', LanguageType: 'L', Name: "Kove"},
"kvd": {Part3: "kvd", Scope: 'I', LanguageType: 'L', Name: "Kui (Indonesia)"},
"kve": {Part3: "kve", Scope: 'I', LanguageType: 'L', Name: "Kalabakan"},
"kvf": {Part3: "kvf", Scope: 'I', LanguageType: 'L', Name: "Kabalai"},
"kvg": {Part3: "kvg", Scope: 'I', LanguageType: 'L', Name: "Kuni-Boazi"},
"kvh": {Part3: "kvh", Scope: 'I', LanguageType: 'L', Name: "Komodo"},
"kvi": {Part3: "kvi", Scope: 'I', LanguageType: 'L', Name: "Kwang"},
"kvj": {Part3: "kvj", Scope: 'I', LanguageType: 'L', Name: "Psikye"},
"kvk": {Part3: "kvk", Scope: 'I', LanguageType: 'L', Name: "Korean Sign Language"},
"kvl": {Part3: "kvl", Scope: 'I', LanguageType: 'L', Name: "Kayaw"},
"kvm": {Part3: "kvm", Scope: 'I', LanguageType: 'L', Name: "Kendem"},
"kvn": {Part3: "kvn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kvo": {Part3: "kvo", Scope: 'I', LanguageType: 'L', Name: "Dobel"},
"kvp": {Part3: "kvp", Scope: 'I', LanguageType: 'L', Name: "Kompane"},
"kvq": {Part3: "kvq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kvr": {Part3: "kvr", Scope: 'I', LanguageType: 'L', Name: "Kerinci"},
"kvt": {Part3: "kvt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kvu": {Part3: "kvu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kvv": {Part3: "kvv", Scope: 'I', LanguageType: 'L', Name: "Kola"},
"kvw": {Part3: "kvw", Scope: 'I', LanguageType: 'L', Name: "Wersing"},
"kvx": {Part3: "kvx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kvy": {Part3: "kvy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kvz": {Part3: "kvz", Scope: 'I', LanguageType: 'L', Name: "Tsakwambo"},
"kwa": {Part3: "kwa", Scope: 'I', LanguageType: 'L', Name: "Dâw"},
"kwb": {Part3: "kwb", Scope: 'I', LanguageType: 'L', Name: "Kwa"},
"kwc": {Part3: "kwc", Scope: 'I', LanguageType: 'L', Name: "Likwala"},
"kwd": {Part3: "kwd", Scope: 'I', LanguageType: 'L', Name: "Kwaio"},
"kwe": {Part3: "kwe", Scope: 'I', LanguageType: 'L', Name: "Kwerba"},
"kwf": {Part3: "kwf", Scope: 'I', LanguageType: 'L', Name: "Kwara'ae"},
"kwg": {Part3: "kwg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kwh": {Part3: "kwh", Scope: 'I', LanguageType: 'L', Name: "Kowiai"},
"kwi": {Part3: "kwi", Scope: 'I', LanguageType: 'L', Name: "Awa-Cuaiquer"},
"kwj": {Part3: "kwj", Scope: 'I', LanguageType: 'L', Name: "Kwanga"},
"kwk": {Part3: "kwk", Scope: 'I', LanguageType: 'L', Name: "Kwakiutl"},
"kwl": {Part3: "kwl", Scope: 'I', LanguageType: 'L', Name: "Kofyar"},
"kwm": {Part3: "kwm", Scope: 'I', LanguageType: 'L', Name: "Kwambi"},
"kwn": {Part3: "kwn", Scope: 'I', LanguageType: 'L', Name: "Kwangali"},
"kwo": {Part3: "kwo", Scope: 'I', LanguageType: 'L', Name: "Kwomtari"},
"kwp": {Part3: "kwp", Scope: 'I', LanguageType: 'L', Name: "Kodia"},
"kwr": {Part3: "kwr", Scope: 'I', LanguageType: 'L', Name: "Kwer"},
"kws": {Part3: "kws", Scope: 'I', LanguageType: 'L', Name: "Kwese"},
"kwt": {Part3: "kwt", Scope: 'I', LanguageType: 'L', Name: "Kwesten"},
"kwu": {Part3: "kwu", Scope: 'I', LanguageType: 'L', Name: "Kwakum"},
"kwv": {Part3: "kwv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kww": {Part3: "kww", Scope: 'I', LanguageType: 'L', Name: "Kwinti"},
"kwx": {Part3: "kwx", Scope: 'I', LanguageType: 'L', Name: "Khirwar"},
"kwy": {Part3: "kwy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kwz": {Part3: "kwz", Scope: 'I', LanguageType: 'E', Name: "Kwadi"},
"kxa": {Part3: "kxa", Scope: 'I', LanguageType: 'L', Name: "Kairiru"},
"kxb": {Part3: "kxb", Scope: 'I', LanguageType: 'L', Name: "Krobu"},
"kxc": {Part3: "kxc", Scope: 'I', LanguageType: 'L', Name: "Konso"},
"kxd": {Part3: "kxd", Scope: 'I', LanguageType: 'L', Name: "Brunei"},
"kxf": {Part3: "kxf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kxh": {Part3: "kxh", Scope: 'I', LanguageType: 'L', Name: "Karo (Ethiopia)"},
"kxi": {Part3: "kxi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kxj": {Part3: "kxj", Scope: 'I', LanguageType: 'L', Name: "Kulfa"},
"kxk": {Part3: "kxk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kxm": {Part3: "kxm", Scope: 'I', LanguageType: 'L', Name: "Northern Khmer"},
"kxn": {Part3: "kxn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kxo": {Part3: "kxo", Scope: 'I', LanguageType: 'E', Name: "Kanoé"},
"kxp": {Part3: "kxp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kxq": {Part3: "kxq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kxr": {Part3: "kxr", Scope: 'I', LanguageType: 'L', Name: "Koro (Papua New Guinea)"},
"kxs": {Part3: "kxs", Scope: 'I', LanguageType: 'L', Name: "Kangjia"},
"kxt": {Part3: "kxt", Scope: 'I', LanguageType: 'L', Name: "Koiwat"},
"kxv": {Part3: "kxv", Scope: 'I', LanguageType: 'L', Name: "Kuvi"},
"kxw": {Part3: "kxw", Scope: 'I', LanguageType: 'L', Name: "Konai"},
"kxx": {Part3: "kxx", Scope: 'I', LanguageType: 'L', Name: "Likuba"},
"kxy": {Part3: "kxy", Scope: 'I', LanguageType: 'L', Name: "Kayong"},
"kxz": {Part3: "kxz", Scope: 'I', LanguageType: 'L', Name: "Kerewo"},
"kya": {Part3: "kya", Scope: 'I', LanguageType: 'L', Name: "Kwaya"},
"kyb": {Part3: "kyb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kyc": {Part3: "kyc", Scope: 'I', LanguageType: 'L', Name: "Kyaka"},
"kyd": {Part3: "kyd", Scope: 'I', LanguageType: 'L', Name: "Karey"},
"kye": {Part3: "kye", Scope: 'I', LanguageType: 'L', Name: "Krache"},
"kyf": {Part3: "kyf", Scope: 'I', LanguageType: 'L', Name: "Kouya"},
"kyg": {Part3: "kyg", Scope: 'I', LanguageType: 'L', Name: "Keyagana"},
"kyh": {Part3: "kyh", Scope: 'I', LanguageType: 'L', Name: "Karok"},
"kyi": {Part3: "kyi", Scope: 'I', LanguageType: 'L', Name: "Kiput"},
"kyj": {Part3: "kyj", Scope: 'I', LanguageType: 'L', Name: "Karao"},
"kyk": {Part3: "kyk", Scope: 'I', LanguageType: 'L', Name: "Kamayo"},
"kyl": {Part3: "kyl", Scope: 'I', LanguageType: 'L', Name: "Kalapuya"},
"kym": {Part3: "kym", Scope: 'I', LanguageType: 'L', Name: "Kpatili"},
"kyn": {Part3: "kyn", Scope: 'I', LanguageType: 'L', Name: "Northern Binukidnon"},
"kyo": {Part3: "kyo", Scope: 'I', LanguageType: 'L', Name: "Kelon"},
"kyp": {Part3: "kyp", Scope: 'I', LanguageType: 'L', Name: "Kang"},
"kyq": {Part3: "kyq", Scope: 'I', LanguageType: 'L', Name: "Kenga"},
"kyr": {Part3: "kyr", Scope: 'I', LanguageType: 'L', Name: "Kuruáya"},
"kys": {Part3: "kys", Scope: 'I', LanguageType: 'L', Name: "Baram Kayan"},
"kyt": {Part3: "kyt", Scope: 'I', LanguageType: 'L', Name: "Kayagar"},
"kyu": {Part3: "kyu", Scope: 'I', LanguageType: 'L', Name: "Western Kayah"},
"kyv": {Part3: "kyv", Scope: 'I', LanguageType: 'L', Name: "Kayort"},
"kyw": {Part3: "kyw", Scope: 'I', LanguageType: 'L', Name: "Kudmali"},
"kyx": {Part3: "kyx", Scope: 'I', LanguageType: 'L', Name: "Rapoisi"},
"kyy": {Part3: "kyy", Scope: 'I', LanguageType: 'L', Name: "Kambaira"},
"kyz": {Part3: "kyz", Scope: 'I', LanguageType: 'L', Name: "Kayabí"},
"kza": {Part3: "kza", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kzb": {Part3: "kzb", Scope: 'I', LanguageType: 'L', Name: "Kaibobo"},
"kzc": {Part3: "kzc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kzd": {Part3: "kzd", Scope: 'I', LanguageType: 'L', Name: "Kadai"},
"kze": {Part3: "kze", Scope: 'I', LanguageType: 'L', Name: "Kosena"},
"kzf": {Part3: "kzf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kzg": {Part3: "kzg", Scope: 'I', LanguageType: 'L', Name: "Kikai"},
"kzi": {Part3: "kzi", Scope: 'I', LanguageType: 'L', Name: "Kelabit"},
"kzk": {Part3: "kzk", Scope: 'I', LanguageType: 'E', Name: "Kazukuru"},
"kzl": {Part3: "kzl", Scope: 'I', LanguageType: 'L', Name: "Kayeli"},
"kzm": {Part3: "kzm", Scope: 'I', LanguageType: 'L', Name: "Kais"},
"kzn": {Part3: "kzn", Scope: 'I', LanguageType: 'L', Name: "Kokola"},
"kzo": {Part3: "kzo", Scope: 'I', LanguageType: 'L', Name: "Kaningi"},
"kzp": {Part3: "kzp", Scope: 'I', LanguageType: 'L', Name: "Kaidipang"},
"kzq": {Part3: "kzq", Scope: 'I', LanguageType: 'L', Name: "Kaike"},
"kzr": {Part3: "kzr", Scope: 'I', LanguageType: 'L', Name: "Karang"},
"kzs": {Part3: "kzs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"kzu": {Part3: "kzu", Scope: 'I', LanguageType: 'L', Name: "Kayupulau"},
"kzv": {Part3: "kzv", Scope: 'I', LanguageType: 'L', Name: "Komyandaret"},
"kzw": {Part3: "kzw", Scope: 'I', LanguageType: 'E', Name: "Karirí-Xocó"},
"kzx": {Part3: "kzx", Scope: 'I', LanguageType: 'E', Name: "Kamarian"},
"kzy": {Part3: "kzy", Scope: 'I', LanguageType: 'L', Name: "Kango (Tshopo District)"},
"kzz": {Part3: "kzz", Scope: 'I', LanguageType: 'L', Name: "Kalabra"},
"laa": {Part3: "laa", Scope: 'I', LanguageType: 'L', Name: "<NAME>anen"},
"lab": {Part3: "lab", Scope: 'I', LanguageType: 'A', Name: "Linear A"},
"lac": {Part3: "lac", Scope: 'I', LanguageType: 'L', Name: "Lacandon"},
"lad": {Part3: "lad", Part2B: "lad", Part2T: "lad", Scope: 'I', LanguageType: 'L', Name: "Ladino"},
"lae": {Part3: "lae", Scope: 'I', LanguageType: 'L', Name: "Pattani"},
"laf": {Part3: "laf", Scope: 'I', LanguageType: 'L', Name: "Lafofa"},
"lag": {Part3: "lag", Scope: 'I', LanguageType: 'L', Name: "Langi"},
"lah": {Part3: "lah", Part2B: "lah", Part2T: "lah", Scope: 'M', LanguageType: 'L', Name: "Lahnda"},
"lai": {Part3: "lai", Scope: 'I', LanguageType: 'L', Name: "Lambya"},
"laj": {Part3: "laj", Scope: 'I', LanguageType: 'L', Name: "Lango (Uganda)"},
"lak": {Part3: "lak", Scope: 'I', LanguageType: 'L', Name: "Laka (Nigeria)"},
"lal": {Part3: "lal", Scope: 'I', LanguageType: 'L', Name: "Lalia"},
"lam": {Part3: "lam", Part2B: "lam", Part2T: "lam", Scope: 'I', LanguageType: 'L', Name: "Lamba"},
"lan": {Part3: "lan", Scope: 'I', LanguageType: 'L', Name: "Laru"},
"lao": {Part3: "lao", Part2B: "lao", Part2T: "lao", Part1: "lo", Scope: 'I', LanguageType: 'L', Name: "Lao"},
"lap": {Part3: "lap", Scope: 'I', LanguageType: 'L', Name: "Laka (Chad)"},
"laq": {Part3: "laq", Scope: 'I', LanguageType: 'L', Name: "Qabiao"},
"lar": {Part3: "lar", Scope: 'I', LanguageType: 'L', Name: "Larteh"},
"las": {Part3: "las", Scope: 'I', LanguageType: 'L', Name: "Lama (Togo)"},
"lat": {Part3: "lat", Part2B: "lat", Part2T: "lat", Part1: "la", Scope: 'I', LanguageType: 'A', Name: "Latin"},
"lau": {Part3: "lau", Scope: 'I', LanguageType: 'L', Name: "Laba"},
"lav": {Part3: "lav", Part2B: "lav", Part2T: "lav", Part1: "lv", Scope: 'M', LanguageType: 'L', Name: "Latvian"},
"law": {Part3: "law", Scope: 'I', LanguageType: 'L', Name: "Lauje"},
"lax": {Part3: "lax", Scope: 'I', LanguageType: 'L', Name: "Tiwa"},
"lay": {Part3: "lay", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"laz": {Part3: "laz", Scope: 'I', LanguageType: 'E', Name: "Aribwatsa"},
"lbb": {Part3: "lbb", Scope: 'I', LanguageType: 'L', Name: "Label"},
"lbc": {Part3: "lbc", Scope: 'I', LanguageType: 'L', Name: "Lakkia"},
"lbe": {Part3: "lbe", Scope: 'I', LanguageType: 'L', Name: "Lak"},
"lbf": {Part3: "lbf", Scope: 'I', LanguageType: 'L', Name: "Tinani"},
"lbg": {Part3: "lbg", Scope: 'I', LanguageType: 'L', Name: "Laopang"},
"lbi": {Part3: "lbi", Scope: 'I', LanguageType: 'L', Name: "La'bi"},
"lbj": {Part3: "lbj", Scope: 'I', LanguageType: 'L', Name: "Ladakhi"},
"lbk": {Part3: "lbk", Scope: 'I', LanguageType: 'L', Name: "Central Bontok"},
"lbl": {Part3: "lbl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lbm": {Part3: "lbm", Scope: 'I', LanguageType: 'L', Name: "Lodhi"},
"lbn": {Part3: "lbn", Scope: 'I', LanguageType: 'L', Name: "Rmeet"},
"lbo": {Part3: "lbo", Scope: 'I', LanguageType: 'L', Name: "Laven"},
"lbq": {Part3: "lbq", Scope: 'I', LanguageType: 'L', Name: "Wampar"},
"lbr": {Part3: "lbr", Scope: 'I', LanguageType: 'L', Name: "Lohorung"},
"lbs": {Part3: "lbs", Scope: 'I', LanguageType: 'L', Name: "Libyan Sign Language"},
"lbt": {Part3: "lbt", Scope: 'I', LanguageType: 'L', Name: "Lachi"},
"lbu": {Part3: "lbu", Scope: 'I', LanguageType: 'L', Name: "Labu"},
"lbv": {Part3: "lbv", Scope: 'I', LanguageType: 'L', Name: "Lavatbura-Lamusong"},
"lbw": {Part3: "lbw", Scope: 'I', LanguageType: 'L', Name: "Tolaki"},
"lbx": {Part3: "lbx", Scope: 'I', LanguageType: 'L', Name: "Lawangan"},
"lby": {Part3: "lby", Scope: 'I', LanguageType: 'E', Name: "Lamalama"},
"lbz": {Part3: "lbz", Scope: 'I', LanguageType: 'L', Name: "Lardil"},
"lcc": {Part3: "lcc", Scope: 'I', LanguageType: 'L', Name: "Legenyem"},
"lcd": {Part3: "lcd", Scope: 'I', LanguageType: 'L', Name: "Lola"},
"lce": {Part3: "lce", Scope: 'I', LanguageType: 'L', Name: "Loncong"},
"lcf": {Part3: "lcf", Scope: 'I', LanguageType: 'L', Name: "Lubu"},
"lch": {Part3: "lch", Scope: 'I', LanguageType: 'L', Name: "Luchazi"},
"lcl": {Part3: "lcl", Scope: 'I', LanguageType: 'L', Name: "Lisela"},
"lcm": {Part3: "lcm", Scope: 'I', LanguageType: 'L', Name: "Tungag"},
"lcp": {Part3: "lcp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lcq": {Part3: "lcq", Scope: 'I', LanguageType: 'L', Name: "Luhu"},
"lcs": {Part3: "lcs", Scope: 'I', LanguageType: 'L', Name: "Lisabata-Nuniali"},
"lda": {Part3: "lda", Scope: 'I', LanguageType: 'L', Name: "Kla-Dan"},
"ldb": {Part3: "ldb", Scope: 'I', LanguageType: 'L', Name: "Dũya"},
"ldd": {Part3: "ldd", Scope: 'I', LanguageType: 'L', Name: "Luri"},
"ldg": {Part3: "ldg", Scope: 'I', LanguageType: 'L', Name: "Lenyima"},
"ldh": {Part3: "ldh", Scope: 'I', LanguageType: 'L', Name: "Lamja-Dengsa-Tola"},
"ldi": {Part3: "ldi", Scope: 'I', LanguageType: 'L', Name: "Laari"},
"ldj": {Part3: "ldj", Scope: 'I', LanguageType: 'L', Name: "Lemoro"},
"ldk": {Part3: "ldk", Scope: 'I', LanguageType: 'L', Name: "Leelau"},
"ldl": {Part3: "ldl", Scope: 'I', LanguageType: 'L', Name: "Kaan"},
"ldm": {Part3: "ldm", Scope: 'I', LanguageType: 'L', Name: "Landoma"},
"ldn": {Part3: "ldn", Scope: 'I', LanguageType: 'C', Name: "Láadan"},
"ldo": {Part3: "ldo", Scope: 'I', LanguageType: 'L', Name: "Loo"},
"ldp": {Part3: "ldp", Scope: 'I', LanguageType: 'L', Name: "Tso"},
"ldq": {Part3: "ldq", Scope: 'I', LanguageType: 'L', Name: "Lufu"},
"lea": {Part3: "lea", Scope: 'I', LanguageType: 'L', Name: "Lega-Shabunda"},
"leb": {Part3: "leb", Scope: 'I', LanguageType: 'L', Name: "Lala-Bisa"},
"lec": {Part3: "lec", Scope: 'I', LanguageType: 'L', Name: "Leco"},
"led": {Part3: "led", Scope: 'I', LanguageType: 'L', Name: "Lendu"},
"lee": {Part3: "lee", Scope: 'I', LanguageType: 'L', Name: "Lyélé"},
"lef": {Part3: "lef", Scope: 'I', LanguageType: 'L', Name: "Lelemi"},
"leh": {Part3: "leh", Scope: 'I', LanguageType: 'L', Name: "Lenje"},
"lei": {Part3: "lei", Scope: 'I', LanguageType: 'L', Name: "Lemio"},
"lej": {Part3: "lej", Scope: 'I', LanguageType: 'L', Name: "Lengola"},
"lek": {Part3: "lek", Scope: 'I', LanguageType: 'L', Name: "Leipon"},
"lel": {Part3: "lel", Scope: 'I', LanguageType: 'L', Name: "Lele (Democratic Republic of Congo)"},
"lem": {Part3: "lem", Scope: 'I', LanguageType: 'L', Name: "Nomaande"},
"len": {Part3: "len", Scope: 'I', LanguageType: 'E', Name: "Lenca"},
"leo": {Part3: "leo", Scope: 'I', LanguageType: 'L', Name: "Leti (Cameroon)"},
"lep": {Part3: "lep", Scope: 'I', LanguageType: 'L', Name: "Lepcha"},
"leq": {Part3: "leq", Scope: 'I', LanguageType: 'L', Name: "Lembena"},
"ler": {Part3: "ler", Scope: 'I', LanguageType: 'L', Name: "Lenkau"},
"les": {Part3: "les", Scope: 'I', LanguageType: 'L', Name: "Lese"},
"let": {Part3: "let", Scope: 'I', LanguageType: 'L', Name: "Lesing-Gelimi"},
"leu": {Part3: "leu", Scope: 'I', LanguageType: 'L', Name: "Kara (Papua New Guinea)"},
"lev": {Part3: "lev", Scope: 'I', LanguageType: 'L', Name: "Lamma"},
"lew": {Part3: "lew", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lex": {Part3: "lex", Scope: 'I', LanguageType: 'L', Name: "Luang"},
"ley": {Part3: "ley", Scope: 'I', LanguageType: 'L', Name: "Lemolang"},
"lez": {Part3: "lez", Part2B: "lez", Part2T: "lez", Scope: 'I', LanguageType: 'L', Name: "Lezghian"},
"lfa": {Part3: "lfa", Scope: 'I', LanguageType: 'L', Name: "Lefa"},
"lfn": {Part3: "lfn", Scope: 'I', LanguageType: 'C', Name: "<NAME>"},
"lga": {Part3: "lga", Scope: 'I', LanguageType: 'L', Name: "Lungga"},
"lgb": {Part3: "lgb", Scope: 'I', LanguageType: 'L', Name: "Laghu"},
"lgg": {Part3: "lgg", Scope: 'I', LanguageType: 'L', Name: "Lugbara"},
"lgh": {Part3: "lgh", Scope: 'I', LanguageType: 'L', Name: "Laghuu"},
"lgi": {Part3: "lgi", Scope: 'I', LanguageType: 'L', Name: "Lengilu"},
"lgk": {Part3: "lgk", Scope: 'I', LanguageType: 'L', Name: "Lingarak"},
"lgl": {Part3: "lgl", Scope: 'I', LanguageType: 'L', Name: "Wala"},
"lgm": {Part3: "lgm", Scope: 'I', LanguageType: 'L', Name: "Lega-Mwenga"},
"lgn": {Part3: "lgn", Scope: 'I', LanguageType: 'L', Name: "T'apo"},
"lgq": {Part3: "lgq", Scope: 'I', LanguageType: 'L', Name: "Logba"},
"lgr": {Part3: "lgr", Scope: 'I', LanguageType: 'L', Name: "Lengo"},
"lgt": {Part3: "lgt", Scope: 'I', LanguageType: 'L', Name: "Pahi"},
"lgu": {Part3: "lgu", Scope: 'I', LanguageType: 'L', Name: "Longgu"},
"lgz": {Part3: "lgz", Scope: 'I', LanguageType: 'L', Name: "Ligenza"},
"lha": {Part3: "lha", Scope: 'I', LanguageType: 'L', Name: "Laha (Viet Nam)"},
"lhh": {Part3: "lhh", Scope: 'I', LanguageType: 'L', Name: "Laha (Indonesia)"},
"lhi": {Part3: "lhi", Scope: 'I', LanguageType: 'L', Name: "Lahu Shi"},
"lhl": {Part3: "lhl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lhm": {Part3: "lhm", Scope: 'I', LanguageType: 'L', Name: "Lhomi"},
"lhn": {Part3: "lhn", Scope: 'I', LanguageType: 'L', Name: "Lahanan"},
"lhp": {Part3: "lhp", Scope: 'I', LanguageType: 'L', Name: "Lhokpu"},
"lhs": {Part3: "lhs", Scope: 'I', LanguageType: 'E', Name: "Mlahsö"},
"lht": {Part3: "lht", Scope: 'I', LanguageType: 'L', Name: "Lo-Toga"},
"lhu": {Part3: "lhu", Scope: 'I', LanguageType: 'L', Name: "Lahu"},
"lia": {Part3: "lia", Scope: 'I', LanguageType: 'L', Name: "West-Central Limba"},
"lib": {Part3: "lib", Scope: 'I', LanguageType: 'L', Name: "Likum"},
"lic": {Part3: "lic", Scope: 'I', LanguageType: 'L', Name: "Hlai"},
"lid": {Part3: "lid", Scope: 'I', LanguageType: 'L', Name: "Nyindrou"},
"lie": {Part3: "lie", Scope: 'I', LanguageType: 'L', Name: "Likila"},
"lif": {Part3: "lif", Scope: 'I', LanguageType: 'L', Name: "Limbu"},
"lig": {Part3: "lig", Scope: 'I', LanguageType: 'L', Name: "Ligbi"},
"lih": {Part3: "lih", Scope: 'I', LanguageType: 'L', Name: "Lihir"},
"lij": {Part3: "lij", Scope: 'I', LanguageType: 'L', Name: "Ligurian"},
"lik": {Part3: "lik", Scope: 'I', LanguageType: 'L', Name: "Lika"},
"lil": {Part3: "lil", Scope: 'I', LanguageType: 'L', Name: "Lillooet"},
"lim": {Part3: "lim", Part2B: "lim", Part2T: "lim", Part1: "li", Scope: 'I', LanguageType: 'L', Name: "Limburgan"},
"lin": {Part3: "lin", Part2B: "lin", Part2T: "lin", Part1: "ln", Scope: 'I', LanguageType: 'L', Name: "Lingala"},
"lio": {Part3: "lio", Scope: 'I', LanguageType: 'L', Name: "Liki"},
"lip": {Part3: "lip", Scope: 'I', LanguageType: 'L', Name: "Sekpele"},
"liq": {Part3: "liq", Scope: 'I', LanguageType: 'L', Name: "Libido"},
"lir": {Part3: "lir", Scope: 'I', LanguageType: 'L', Name: "Liberian English"},
"lis": {Part3: "lis", Scope: 'I', LanguageType: 'L', Name: "Lisu"},
"lit": {Part3: "lit", Part2B: "lit", Part2T: "lit", Part1: "lt", Scope: 'I', LanguageType: 'L', Name: "Lithuanian"},
"liu": {Part3: "liu", Scope: 'I', LanguageType: 'L', Name: "Logorik"},
"liv": {Part3: "liv", Scope: 'I', LanguageType: 'L', Name: "Liv"},
"liw": {Part3: "liw", Scope: 'I', LanguageType: 'L', Name: "Col"},
"lix": {Part3: "lix", Scope: 'I', LanguageType: 'L', Name: "Liabuku"},
"liy": {Part3: "liy", Scope: 'I', LanguageType: 'L', Name: "Banda-Bambari"},
"liz": {Part3: "liz", Scope: 'I', LanguageType: 'L', Name: "Libinza"},
"lja": {Part3: "lja", Scope: 'I', LanguageType: 'E', Name: "Golpa"},
"lje": {Part3: "lje", Scope: 'I', LanguageType: 'L', Name: "Rampi"},
"lji": {Part3: "lji", Scope: 'I', LanguageType: 'L', Name: "Laiyolo"},
"ljl": {Part3: "ljl", Scope: 'I', LanguageType: 'L', Name: "Li'o"},
"ljp": {Part3: "ljp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ljw": {Part3: "ljw", Scope: 'I', LanguageType: 'L', Name: "Yirandali"},
"ljx": {Part3: "ljx", Scope: 'I', LanguageType: 'E', Name: "Yuru"},
"lka": {Part3: "lka", Scope: 'I', LanguageType: 'L', Name: "Lakalei"},
"lkb": {Part3: "lkb", Scope: 'I', LanguageType: 'L', Name: "Kabras"},
"lkc": {Part3: "lkc", Scope: 'I', LanguageType: 'L', Name: "Kucong"},
"lkd": {Part3: "lkd", Scope: 'I', LanguageType: 'L', Name: "Lakondê"},
"lke": {Part3: "lke", Scope: 'I', LanguageType: 'L', Name: "Kenyi"},
"lkh": {Part3: "lkh", Scope: 'I', LanguageType: 'L', Name: "Lakha"},
"lki": {Part3: "lki", Scope: 'I', LanguageType: 'L', Name: "Laki"},
"lkj": {Part3: "lkj", Scope: 'I', LanguageType: 'L', Name: "Remun"},
"lkl": {Part3: "lkl", Scope: 'I', LanguageType: 'L', Name: "Laeko-Libuat"},
"lkm": {Part3: "lkm", Scope: 'I', LanguageType: 'E', Name: "Kalaamaya"},
"lkn": {Part3: "lkn", Scope: 'I', LanguageType: 'L', Name: "Lakon"},
"lko": {Part3: "lko", Scope: 'I', LanguageType: 'L', Name: "Khayo"},
"lkr": {Part3: "lkr", Scope: 'I', LanguageType: 'L', Name: "Päri"},
"lks": {Part3: "lks", Scope: 'I', LanguageType: 'L', Name: "Kisa"},
"lkt": {Part3: "lkt", Scope: 'I', LanguageType: 'L', Name: "Lakota"},
"lku": {Part3: "lku", Scope: 'I', LanguageType: 'E', Name: "Kungkari"},
"lky": {Part3: "lky", Scope: 'I', LanguageType: 'L', Name: "Lokoya"},
"lla": {Part3: "lla", Scope: 'I', LanguageType: 'L', Name: "Lala-Roba"},
"llb": {Part3: "llb", Scope: 'I', LanguageType: 'L', Name: "Lolo"},
"llc": {Part3: "llc", Scope: 'I', LanguageType: 'L', Name: "Lele (Guinea)"},
"lld": {Part3: "lld", Scope: 'I', LanguageType: 'L', Name: "Ladin"},
"lle": {Part3: "lle", Scope: 'I', LanguageType: 'L', Name: "Lele (Papua New Guinea)"},
"llf": {Part3: "llf", Scope: 'I', LanguageType: 'E', Name: "Hermit"},
"llg": {Part3: "llg", Scope: 'I', LanguageType: 'L', Name: "Lole"},
"llh": {Part3: "llh", Scope: 'I', LanguageType: 'L', Name: "Lamu"},
"lli": {Part3: "lli", Scope: 'I', LanguageType: 'L', Name: "Teke-Laali"},
"llj": {Part3: "llj", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"llk": {Part3: "llk", Scope: 'I', LanguageType: 'E', Name: "Lelak"},
"lll": {Part3: "lll", Scope: 'I', LanguageType: 'L', Name: "Lilau"},
"llm": {Part3: "llm", Scope: 'I', LanguageType: 'L', Name: "Lasalimu"},
"lln": {Part3: "lln", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"llp": {Part3: "llp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"llq": {Part3: "llq", Scope: 'I', LanguageType: 'L', Name: "Lolak"},
"lls": {Part3: "lls", Scope: 'I', LanguageType: 'L', Name: "Lithuanian Sign Language"},
"llu": {Part3: "llu", Scope: 'I', LanguageType: 'L', Name: "Lau"},
"llx": {Part3: "llx", Scope: 'I', LanguageType: 'L', Name: "Lauan"},
"lma": {Part3: "lma", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lmb": {Part3: "lmb", Scope: 'I', LanguageType: 'L', Name: "Merei"},
"lmc": {Part3: "lmc", Scope: 'I', LanguageType: 'E', Name: "Limilngan"},
"lmd": {Part3: "lmd", Scope: 'I', LanguageType: 'L', Name: "Lumun"},
"lme": {Part3: "lme", Scope: 'I', LanguageType: 'L', Name: "Pévé"},
"lmf": {Part3: "lmf", Scope: 'I', LanguageType: 'L', Name: "South Lembata"},
"lmg": {Part3: "lmg", Scope: 'I', LanguageType: 'L', Name: "Lamogai"},
"lmh": {Part3: "lmh", Scope: 'I', LanguageType: 'L', Name: "Lambichhong"},
"lmi": {Part3: "lmi", Scope: 'I', LanguageType: 'L', Name: "Lombi"},
"lmj": {Part3: "lmj", Scope: 'I', LanguageType: 'L', Name: "West Lembata"},
"lmk": {Part3: "lmk", Scope: 'I', LanguageType: 'L', Name: "Lamkang"},
"lml": {Part3: "lml", Scope: 'I', LanguageType: 'L', Name: "Hano"},
"lmn": {Part3: "lmn", Scope: 'I', LanguageType: 'L', Name: "Lambadi"},
"lmo": {Part3: "lmo", Scope: 'I', LanguageType: 'L', Name: "Lombard"},
"lmp": {Part3: "lmp", Scope: 'I', LanguageType: 'L', Name: "Limbum"},
"lmq": {Part3: "lmq", Scope: 'I', LanguageType: 'L', Name: "Lamatuka"},
"lmr": {Part3: "lmr", Scope: 'I', LanguageType: 'L', Name: "Lamalera"},
"lmu": {Part3: "lmu", Scope: 'I', LanguageType: 'L', Name: "Lamenu"},
"lmv": {Part3: "lmv", Scope: 'I', LanguageType: 'L', Name: "Lomaiviti"},
"lmw": {Part3: "lmw", Scope: 'I', LanguageType: 'L', Name: "Lake Miwok"},
"lmx": {Part3: "lmx", Scope: 'I', LanguageType: 'L', Name: "Laimbue"},
"lmy": {Part3: "lmy", Scope: 'I', LanguageType: 'L', Name: "Lamboya"},
"lna": {Part3: "lna", Scope: 'I', LanguageType: 'L', Name: "Langbashe"},
"lnb": {Part3: "lnb", Scope: 'I', LanguageType: 'L', Name: "Mbalanhu"},
"lnd": {Part3: "lnd", Scope: 'I', LanguageType: 'L', Name: "Lundayeh"},
"lng": {Part3: "lng", Scope: 'I', LanguageType: 'A', Name: "Langobardic"},
"lnh": {Part3: "lnh", Scope: 'I', LanguageType: 'L', Name: "Lanoh"},
"lni": {Part3: "lni", Scope: 'I', LanguageType: 'L', Name: "Daantanai'"},
"lnj": {Part3: "lnj", Scope: 'I', LanguageType: 'E', Name: "Leningitij"},
"lnl": {Part3: "lnl", Scope: 'I', LanguageType: 'L', Name: "South Central Banda"},
"lnm": {Part3: "lnm", Scope: 'I', LanguageType: 'L', Name: "Langam"},
"lnn": {Part3: "lnn", Scope: 'I', LanguageType: 'L', Name: "Lorediakarkar"},
"lno": {Part3: "lno", Scope: 'I', LanguageType: 'L', Name: "Lango (South Sudan)"},
"lns": {Part3: "lns", Scope: 'I', LanguageType: 'L', Name: "Lamnso'"},
"lnu": {Part3: "lnu", Scope: 'I', LanguageType: 'L', Name: "Longuda"},
"lnw": {Part3: "lnw", Scope: 'I', LanguageType: 'E', Name: "Lanima"},
"lnz": {Part3: "lnz", Scope: 'I', LanguageType: 'L', Name: "Lonzo"},
"loa": {Part3: "loa", Scope: 'I', LanguageType: 'L', Name: "Loloda"},
"lob": {Part3: "lob", Scope: 'I', LanguageType: 'L', Name: "Lobi"},
"loc": {Part3: "loc", Scope: 'I', LanguageType: 'L', Name: "Inonhan"},
"loe": {Part3: "loe", Scope: 'I', LanguageType: 'L', Name: "Saluan"},
"lof": {Part3: "lof", Scope: 'I', LanguageType: 'L', Name: "Logol"},
"log": {Part3: "log", Scope: 'I', LanguageType: 'L', Name: "Logo"},
"loh": {Part3: "loh", Scope: 'I', LanguageType: 'L', Name: "Narim"},
"loi": {Part3: "loi", Scope: 'I', LanguageType: 'L', Name: "Loma (Côte d'Ivoire)"},
"loj": {Part3: "loj", Scope: 'I', LanguageType: 'L', Name: "Lou"},
"lok": {Part3: "lok", Scope: 'I', LanguageType: 'L', Name: "Loko"},
"lol": {Part3: "lol", Part2B: "lol", Part2T: "lol", Scope: 'I', LanguageType: 'L', Name: "Mongo"},
"lom": {Part3: "lom", Scope: 'I', LanguageType: 'L', Name: "Loma (Liberia)"},
"lon": {Part3: "lon", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"loo": {Part3: "loo", Scope: 'I', LanguageType: 'L', Name: "Lombo"},
"lop": {Part3: "lop", Scope: 'I', LanguageType: 'L', Name: "Lopa"},
"loq": {Part3: "loq", Scope: 'I', LanguageType: 'L', Name: "Lobala"},
"lor": {Part3: "lor", Scope: 'I', LanguageType: 'L', Name: "Téén"},
"los": {Part3: "los", Scope: 'I', LanguageType: 'L', Name: "Loniu"},
"lot": {Part3: "lot", Scope: 'I', LanguageType: 'L', Name: "Otuho"},
"lou": {Part3: "lou", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lov": {Part3: "lov", Scope: 'I', LanguageType: 'L', Name: "Lopi"},
"low": {Part3: "low", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lox": {Part3: "lox", Scope: 'I', LanguageType: 'L', Name: "Loun"},
"loy": {Part3: "loy", Scope: 'I', LanguageType: 'L', Name: "Loke"},
"loz": {Part3: "loz", Part2B: "loz", Part2T: "loz", Scope: 'I', LanguageType: 'L', Name: "Lozi"},
"lpa": {Part3: "lpa", Scope: 'I', LanguageType: 'L', Name: "Lelepa"},
"lpe": {Part3: "lpe", Scope: 'I', LanguageType: 'L', Name: "Lepki"},
"lpn": {Part3: "lpn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lpo": {Part3: "lpo", Scope: 'I', LanguageType: 'L', Name: "Lipo"},
"lpx": {Part3: "lpx", Scope: 'I', LanguageType: 'L', Name: "Lopit"},
"lra": {Part3: "lra", Scope: 'I', LanguageType: 'L', Name: "<NAME>'"},
"lrc": {Part3: "lrc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lre": {Part3: "lre", Scope: 'I', LanguageType: 'E', Name: "Laurentian"},
"lrg": {Part3: "lrg", Scope: 'I', LanguageType: 'E', Name: "Laragia"},
"lri": {Part3: "lri", Scope: 'I', LanguageType: 'L', Name: "Marachi"},
"lrk": {Part3: "lrk", Scope: 'I', LanguageType: 'L', Name: "Loarki"},
"lrl": {Part3: "lrl", Scope: 'I', LanguageType: 'L', Name: "Lari"},
"lrm": {Part3: "lrm", Scope: 'I', LanguageType: 'L', Name: "Marama"},
"lrn": {Part3: "lrn", Scope: 'I', LanguageType: 'L', Name: "Lorang"},
"lro": {Part3: "lro", Scope: 'I', LanguageType: 'L', Name: "Laro"},
"lrr": {Part3: "lrr", Scope: 'I', LanguageType: 'L', Name: "Southern Yamphu"},
"lrt": {Part3: "lrt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lrv": {Part3: "lrv", Scope: 'I', LanguageType: 'L', Name: "Larevat"},
"lrz": {Part3: "lrz", Scope: 'I', LanguageType: 'L', Name: "Lemerig"},
"lsa": {Part3: "lsa", Scope: 'I', LanguageType: 'L', Name: "Lasgerdi"},
"lsb": {Part3: "lsb", Scope: 'I', LanguageType: 'L', Name: "Burundian Sign Language"},
"lsd": {Part3: "lsd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lse": {Part3: "lse", Scope: 'I', LanguageType: 'L', Name: "Lusengo"},
"lsh": {Part3: "lsh", Scope: 'I', LanguageType: 'L', Name: "Lish"},
"lsi": {Part3: "lsi", Scope: 'I', LanguageType: 'L', Name: "Lashi"},
"lsl": {Part3: "lsl", Scope: 'I', LanguageType: 'L', Name: "Latvian Sign Language"},
"lsm": {Part3: "lsm", Scope: 'I', LanguageType: 'L', Name: "Saamia"},
"lsn": {Part3: "lsn", Scope: 'I', LanguageType: 'L', Name: "Tibetan Sign Language"},
"lso": {Part3: "lso", Scope: 'I', LanguageType: 'L', Name: "Laos Sign Language"},
"lsp": {Part3: "lsp", Scope: 'I', LanguageType: 'L', Name: "Panamanian Sign Language"},
"lsr": {Part3: "lsr", Scope: 'I', LanguageType: 'L', Name: "Aruop"},
"lss": {Part3: "lss", Scope: 'I', LanguageType: 'L', Name: "Lasi"},
"lst": {Part3: "lst", Scope: 'I', LanguageType: 'L', Name: "Trinidad and Tobago Sign Language"},
"lsv": {Part3: "lsv", Scope: 'I', LanguageType: 'L', Name: "Sivia Sign Language"},
"lsy": {Part3: "lsy", Scope: 'I', LanguageType: 'L', Name: "Mauritian Sign Language"},
"ltc": {Part3: "ltc", Scope: 'I', LanguageType: 'H', Name: "Late Middle Chinese"},
"ltg": {Part3: "ltg", Scope: 'I', LanguageType: 'L', Name: "Latgalian"},
"lth": {Part3: "lth", Scope: 'I', LanguageType: 'L', Name: "Thur"},
"lti": {Part3: "lti", Scope: 'I', LanguageType: 'L', Name: "Leti (Indonesia)"},
"ltn": {Part3: "ltn", Scope: 'I', LanguageType: 'L', Name: "Latundê"},
"lto": {Part3: "lto", Scope: 'I', LanguageType: 'L', Name: "Tsotso"},
"lts": {Part3: "lts", Scope: 'I', LanguageType: 'L', Name: "Tachoni"},
"ltu": {Part3: "ltu", Scope: 'I', LanguageType: 'L', Name: "Latu"},
"ltz": {Part3: "ltz", Part2B: "ltz", Part2T: "ltz", Part1: "lb", Scope: 'I', LanguageType: 'L', Name: "Luxembourgish"},
"lua": {Part3: "lua", Part2B: "lua", Part2T: "lua", Scope: 'I', LanguageType: 'L', Name: "Luba-Lulua"},
"lub": {Part3: "lub", Part2B: "lub", Part2T: "lub", Part1: "lu", Scope: 'I', LanguageType: 'L', Name: "Luba-Katanga"},
"luc": {Part3: "luc", Scope: 'I', LanguageType: 'L', Name: "Aringa"},
"lud": {Part3: "lud", Scope: 'I', LanguageType: 'L', Name: "Ludian"},
"lue": {Part3: "lue", Scope: 'I', LanguageType: 'L', Name: "Luvale"},
"luf": {Part3: "luf", Scope: 'I', LanguageType: 'L', Name: "Laua"},
"lug": {Part3: "lug", Part2B: "lug", Part2T: "lug", Part1: "lg", Scope: 'I', LanguageType: 'L', Name: "Ganda"},
"lui": {Part3: "lui", Part2B: "lui", Part2T: "lui", Scope: 'I', LanguageType: 'E', Name: "Luiseno"},
"luj": {Part3: "luj", Scope: 'I', LanguageType: 'L', Name: "Luna"},
"luk": {Part3: "luk", Scope: 'I', LanguageType: 'L', Name: "Lunanakha"},
"lul": {Part3: "lul", Scope: 'I', LanguageType: 'L', Name: "Olu'bo"},
"lum": {Part3: "lum", Scope: 'I', LanguageType: 'L', Name: "Luimbi"},
"lun": {Part3: "lun", Part2B: "lun", Part2T: "lun", Scope: 'I', LanguageType: 'L', Name: "Lunda"},
"luo": {Part3: "luo", Part2B: "luo", Part2T: "luo", Scope: 'I', LanguageType: 'L', Name: "Luo (Kenya and Tanzania)"},
"lup": {Part3: "lup", Scope: 'I', LanguageType: 'L', Name: "Lumbu"},
"luq": {Part3: "luq", Scope: 'I', LanguageType: 'L', Name: "Lucumi"},
"lur": {Part3: "lur", Scope: 'I', LanguageType: 'L', Name: "Laura"},
"lus": {Part3: "lus", Part2B: "lus", Part2T: "lus", Scope: 'I', LanguageType: 'L', Name: "Lushai"},
"lut": {Part3: "lut", Scope: 'I', LanguageType: 'L', Name: "Lushootseed"},
"luu": {Part3: "luu", Scope: 'I', LanguageType: 'L', Name: "Lumba-Yakkha"},
"luv": {Part3: "luv", Scope: 'I', LanguageType: 'L', Name: "Luwati"},
"luw": {Part3: "luw", Scope: 'I', LanguageType: 'L', Name: "Luo (Cameroon)"},
"luy": {Part3: "luy", Scope: 'M', LanguageType: 'L', Name: "Luyia"},
"luz": {Part3: "luz", Scope: 'I', LanguageType: 'L', Name: "Southern Luri"},
"lva": {Part3: "lva", Scope: 'I', LanguageType: 'L', Name: "Maku'a"},
"lvi": {Part3: "lvi", Scope: 'I', LanguageType: 'L', Name: "Lavi"},
"lvk": {Part3: "lvk", Scope: 'I', LanguageType: 'L', Name: "Lavukaleve"},
"lvs": {Part3: "lvs", Scope: 'I', LanguageType: 'L', Name: "Standard Latvian"},
"lvu": {Part3: "lvu", Scope: 'I', LanguageType: 'L', Name: "Levuka"},
"lwa": {Part3: "lwa", Scope: 'I', LanguageType: 'L', Name: "Lwalu"},
"lwe": {Part3: "lwe", Scope: 'I', LanguageType: 'L', Name: "L<NAME>"},
"lwg": {Part3: "lwg", Scope: 'I', LanguageType: 'L', Name: "Wanga"},
"lwh": {Part3: "lwh", Scope: 'I', LanguageType: 'L', Name: "White Lachi"},
"lwl": {Part3: "lwl", Scope: 'I', LanguageType: 'L', Name: "Eastern Lawa"},
"lwm": {Part3: "lwm", Scope: 'I', LanguageType: 'L', Name: "Laomian"},
"lwo": {Part3: "lwo", Scope: 'I', LanguageType: 'L', Name: "Luwo"},
"lws": {Part3: "lws", Scope: 'I', LanguageType: 'L', Name: "Malawian Sign Language"},
"lwt": {Part3: "lwt", Scope: 'I', LanguageType: 'L', Name: "Lewotobi"},
"lwu": {Part3: "lwu", Scope: 'I', LanguageType: 'L', Name: "Lawu"},
"lww": {Part3: "lww", Scope: 'I', LanguageType: 'L', Name: "Lewo"},
"lxm": {Part3: "lxm", Scope: 'I', LanguageType: 'L', Name: "Lakurumau"},
"lya": {Part3: "lya", Scope: 'I', LanguageType: 'L', Name: "Layakha"},
"lyg": {Part3: "lyg", Scope: 'I', LanguageType: 'L', Name: "Lyngngam"},
"lyn": {Part3: "lyn", Scope: 'I', LanguageType: 'L', Name: "Luyana"},
"lzh": {Part3: "lzh", Scope: 'I', LanguageType: 'H', Name: "Literary Chinese"},
"lzl": {Part3: "lzl", Scope: 'I', LanguageType: 'L', Name: "Litzlitz"},
"lzn": {Part3: "lzn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"lzz": {Part3: "lzz", Scope: 'I', LanguageType: 'L', Name: "Laz"},
"maa": {Part3: "maa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mab": {Part3: "mab", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mad": {Part3: "mad", Part2B: "mad", Part2T: "mad", Scope: 'I', LanguageType: 'L', Name: "Madurese"},
"mae": {Part3: "mae", Scope: 'I', LanguageType: 'L', Name: "Bo-Rukul"},
"maf": {Part3: "maf", Scope: 'I', LanguageType: 'L', Name: "Mafa"},
"mag": {Part3: "mag", Part2B: "mag", Part2T: "mag", Scope: 'I', LanguageType: 'L', Name: "Magahi"},
"mah": {Part3: "mah", Part2B: "mah", Part2T: "mah", Part1: "mh", Scope: 'I', LanguageType: 'L', Name: "Marshallese"},
"mai": {Part3: "mai", Part2B: "mai", Part2T: "mai", Scope: 'I', LanguageType: 'L', Name: "Maithili"},
"maj": {Part3: "maj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mak": {Part3: "mak", Part2B: "mak", Part2T: "mak", Scope: 'I', LanguageType: 'L', Name: "Makasar"},
"mal": {Part3: "mal", Part2B: "mal", Part2T: "mal", Part1: "ml", Scope: 'I', LanguageType: 'L', Name: "Malayalam"},
"mam": {Part3: "mam", Scope: 'I', LanguageType: 'L', Name: "Mam"},
"man": {Part3: "man", Part2B: "man", Part2T: "man", Scope: 'M', LanguageType: 'L', Name: "Mandingo"},
"maq": {Part3: "maq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mar": {Part3: "mar", Part2B: "mar", Part2T: "mar", Part1: "mr", Scope: 'I', LanguageType: 'L', Name: "Marathi"},
"mas": {Part3: "mas", Part2B: "mas", Part2T: "mas", Scope: 'I', LanguageType: 'L', Name: "Masai"},
"mat": {Part3: "mat", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mau": {Part3: "mau", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mav": {Part3: "mav", Scope: 'I', LanguageType: 'L', Name: "Sateré-Mawé"},
"maw": {Part3: "maw", Scope: 'I', LanguageType: 'L', Name: "Mampruli"},
"max": {Part3: "max", Scope: 'I', LanguageType: 'L', Name: "North Moluccan Malay"},
"maz": {Part3: "maz", Scope: 'I', LanguageType: 'L', Name: "Central Mazahua"},
"mba": {Part3: "mba", Scope: 'I', LanguageType: 'L', Name: "Higaonon"},
"mbb": {Part3: "mbb", Scope: 'I', LanguageType: 'L', Name: "Western Bukidnon Manobo"},
"mbc": {Part3: "mbc", Scope: 'I', LanguageType: 'L', Name: "Macushi"},
"mbd": {Part3: "mbd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mbe": {Part3: "mbe", Scope: 'I', LanguageType: 'E', Name: "Molale"},
"mbf": {Part3: "mbf", Scope: 'I', LanguageType: 'L', Name: "Baba Malay"},
"mbh": {Part3: "mbh", Scope: 'I', LanguageType: 'L', Name: "Mangseng"},
"mbi": {Part3: "mbi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mbj": {Part3: "mbj", Scope: 'I', LanguageType: 'L', Name: "Nadëb"},
"mbk": {Part3: "mbk", Scope: 'I', LanguageType: 'L', Name: "Malol"},
"mbl": {Part3: "mbl", Scope: 'I', LanguageType: 'L', Name: "Maxakalí"},
"mbm": {Part3: "mbm", Scope: 'I', LanguageType: 'L', Name: "Ombamba"},
"mbn": {Part3: "mbn", Scope: 'I', LanguageType: 'L', Name: "Macaguán"},
"mbo": {Part3: "mbo", Scope: 'I', LanguageType: 'L', Name: "Mbo (Cameroon)"},
"mbp": {Part3: "mbp", Scope: 'I', LanguageType: 'L', Name: "Malayo"},
"mbq": {Part3: "mbq", Scope: 'I', LanguageType: 'L', Name: "Maisin"},
"mbr": {Part3: "mbr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mbs": {Part3: "mbs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mbt": {Part3: "mbt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mbu": {Part3: "mbu", Scope: 'I', LanguageType: 'L', Name: "Mbula-Bwazza"},
"mbv": {Part3: "mbv", Scope: 'I', LanguageType: 'L', Name: "Mbulungish"},
"mbw": {Part3: "mbw", Scope: 'I', LanguageType: 'L', Name: "Maring"},
"mbx": {Part3: "mbx", Scope: 'I', LanguageType: 'L', Name: "Mari (East Sepik Province)"},
"mby": {Part3: "mby", Scope: 'I', LanguageType: 'L', Name: "Memoni"},
"mbz": {Part3: "mbz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mca": {Part3: "mca", Scope: 'I', LanguageType: 'L', Name: "Maca"},
"mcb": {Part3: "mcb", Scope: 'I', LanguageType: 'L', Name: "Machiguenga"},
"mcc": {Part3: "mcc", Scope: 'I', LanguageType: 'L', Name: "Bitur"},
"mcd": {Part3: "mcd", Scope: 'I', LanguageType: 'L', Name: "Sharanahua"},
"mce": {Part3: "mce", Scope: 'I', LanguageType: 'L', Name: "Itundujia Mixtec"},
"mcf": {Part3: "mcf", Scope: 'I', LanguageType: 'L', Name: "Matsés"},
"mcg": {Part3: "mcg", Scope: 'I', LanguageType: 'L', Name: "Mapoyo"},
"mch": {Part3: "mch", Scope: 'I', LanguageType: 'L', Name: "Maquiritari"},
"mci": {Part3: "mci", Scope: 'I', LanguageType: 'L', Name: "Mese"},
"mcj": {Part3: "mcj", Scope: 'I', LanguageType: 'L', Name: "Mvanip"},
"mck": {Part3: "mck", Scope: 'I', LanguageType: 'L', Name: "Mbunda"},
"mcl": {Part3: "mcl", Scope: 'I', LanguageType: 'E', Name: "Macaguaje"},
"mcm": {Part3: "mcm", Scope: 'I', LanguageType: 'L', Name: "Malaccan Creole Portuguese"},
"mcn": {Part3: "mcn", Scope: 'I', LanguageType: 'L', Name: "Masana"},
"mco": {Part3: "mco", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mcp": {Part3: "mcp", Scope: 'I', LanguageType: 'L', Name: "Makaa"},
"mcq": {Part3: "mcq", Scope: 'I', LanguageType: 'L', Name: "Ese"},
"mcr": {Part3: "mcr", Scope: 'I', LanguageType: 'L', Name: "Menya"},
"mcs": {Part3: "mcs", Scope: 'I', LanguageType: 'L', Name: "Mambai"},
"mct": {Part3: "mct", Scope: 'I', LanguageType: 'L', Name: "Mengisa"},
"mcu": {Part3: "mcu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mcv": {Part3: "mcv", Scope: 'I', LanguageType: 'L', Name: "Minanibai"},
"mcw": {Part3: "mcw", Scope: 'I', LanguageType: 'L', Name: "Mawa (Chad)"},
"mcx": {Part3: "mcx", Scope: 'I', LanguageType: 'L', Name: "Mpiemo"},
"mcy": {Part3: "mcy", Scope: 'I', LanguageType: 'L', Name: "South Watut"},
"mcz": {Part3: "mcz", Scope: 'I', LanguageType: 'L', Name: "Mawan"},
"mda": {Part3: "mda", Scope: 'I', LanguageType: 'L', Name: "Mada (Nigeria)"},
"mdb": {Part3: "mdb", Scope: 'I', LanguageType: 'L', Name: "Morigi"},
"mdc": {Part3: "mdc", Scope: 'I', LanguageType: 'L', Name: "Male (Papua New Guinea)"},
"mdd": {Part3: "mdd", Scope: 'I', LanguageType: 'L', Name: "Mbum"},
"mde": {Part3: "mde", Scope: 'I', LanguageType: 'L', Name: "Maba (Chad)"},
"mdf": {Part3: "mdf", Part2B: "mdf", Part2T: "mdf", Scope: 'I', LanguageType: 'L', Name: "Moksha"},
"mdg": {Part3: "mdg", Scope: 'I', LanguageType: 'L', Name: "Massalat"},
"mdh": {Part3: "mdh", Scope: 'I', LanguageType: 'L', Name: "Maguindanaon"},
"mdi": {Part3: "mdi", Scope: 'I', LanguageType: 'L', Name: "Mamvu"},
"mdj": {Part3: "mdj", Scope: 'I', LanguageType: 'L', Name: "Mangbetu"},
"mdk": {Part3: "mdk", Scope: 'I', LanguageType: 'L', Name: "Mangbutu"},
"mdl": {Part3: "mdl", Scope: 'I', LanguageType: 'L', Name: "Maltese Sign Language"},
"mdm": {Part3: "mdm", Scope: 'I', LanguageType: 'L', Name: "Mayogo"},
"mdn": {Part3: "mdn", Scope: 'I', LanguageType: 'L', Name: "Mbati"},
"mdp": {Part3: "mdp", Scope: 'I', LanguageType: 'L', Name: "Mbala"},
"mdq": {Part3: "mdq", Scope: 'I', LanguageType: 'L', Name: "Mbole"},
"mdr": {Part3: "mdr", Part2B: "mdr", Part2T: "mdr", Scope: 'I', LanguageType: 'L', Name: "Mandar"},
"mds": {Part3: "mds", Scope: 'I', LanguageType: 'L', Name: "Maria (Papua New Guinea)"},
"mdt": {Part3: "mdt", Scope: 'I', LanguageType: 'L', Name: "Mbere"},
"mdu": {Part3: "mdu", Scope: 'I', LanguageType: 'L', Name: "Mboko"},
"mdv": {Part3: "mdv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mdw": {Part3: "mdw", Scope: 'I', LanguageType: 'L', Name: "Mbosi"},
"mdx": {Part3: "mdx", Scope: 'I', LanguageType: 'L', Name: "Dizin"},
"mdy": {Part3: "mdy", Scope: 'I', LanguageType: 'L', Name: "Male (Ethiopia)"},
"mdz": {Part3: "mdz", Scope: 'I', LanguageType: 'L', Name: "<NAME>á"},
"mea": {Part3: "mea", Scope: 'I', LanguageType: 'L', Name: "Menka"},
"meb": {Part3: "meb", Scope: 'I', LanguageType: 'L', Name: "Ikobi"},
"mec": {Part3: "mec", Scope: 'I', LanguageType: 'L', Name: "Marra"},
"med": {Part3: "med", Scope: 'I', LanguageType: 'L', Name: "Melpa"},
"mee": {Part3: "mee", Scope: 'I', LanguageType: 'L', Name: "Mengen"},
"mef": {Part3: "mef", Scope: 'I', LanguageType: 'L', Name: "Megam"},
"meh": {Part3: "meh", Scope: 'I', LanguageType: 'L', Name: "Southwestern Tlaxiaco Mixtec"},
"mei": {Part3: "mei", Scope: 'I', LanguageType: 'L', Name: "Midob"},
"mej": {Part3: "mej", Scope: 'I', LanguageType: 'L', Name: "Meyah"},
"mek": {Part3: "mek", Scope: 'I', LanguageType: 'L', Name: "Mekeo"},
"mel": {Part3: "mel", Scope: 'I', LanguageType: 'L', Name: "Central Melanau"},
"mem": {Part3: "mem", Scope: 'I', LanguageType: 'E', Name: "Mangala"},
"men": {Part3: "men", Part2B: "men", Part2T: "men", Scope: 'I', LanguageType: 'L', Name: "Mende (Si<NAME>)"},
"meo": {Part3: "meo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mep": {Part3: "mep", Scope: 'I', LanguageType: 'L', Name: "Miriwoong"},
"meq": {Part3: "meq", Scope: 'I', LanguageType: 'L', Name: "Merey"},
"mer": {Part3: "mer", Scope: 'I', LanguageType: 'L', Name: "Meru"},
"mes": {Part3: "mes", Scope: 'I', LanguageType: 'L', Name: "Masmaje"},
"met": {Part3: "met", Scope: 'I', LanguageType: 'L', Name: "Mato"},
"meu": {Part3: "meu", Scope: 'I', LanguageType: 'L', Name: "Motu"},
"mev": {Part3: "mev", Scope: 'I', LanguageType: 'L', Name: "Mano"},
"mew": {Part3: "mew", Scope: 'I', LanguageType: 'L', Name: "Maaka"},
"mey": {Part3: "mey", Scope: 'I', LanguageType: 'L', Name: "Hassaniyya"},
"mez": {Part3: "mez", Scope: 'I', LanguageType: 'L', Name: "Menominee"},
"mfa": {Part3: "mfa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mfb": {Part3: "mfb", Scope: 'I', LanguageType: 'L', Name: "Bangka"},
"mfc": {Part3: "mfc", Scope: 'I', LanguageType: 'L', Name: "Mba"},
"mfd": {Part3: "mfd", Scope: 'I', LanguageType: 'L', Name: "Mendankwe-Nkwen"},
"mfe": {Part3: "mfe", Scope: 'I', LanguageType: 'L', Name: "Morisyen"},
"mff": {Part3: "mff", Scope: 'I', LanguageType: 'L', Name: "Naki"},
"mfg": {Part3: "mfg", Scope: 'I', LanguageType: 'L', Name: "Mogofin"},
"mfh": {Part3: "mfh", Scope: 'I', LanguageType: 'L', Name: "Matal"},
"mfi": {Part3: "mfi", Scope: 'I', LanguageType: 'L', Name: "Wandala"},
"mfj": {Part3: "mfj", Scope: 'I', LanguageType: 'L', Name: "Mefele"},
"mfk": {Part3: "mfk", Scope: 'I', LanguageType: 'L', Name: "North Mofu"},
"mfl": {Part3: "mfl", Scope: 'I', LanguageType: 'L', Name: "Putai"},
"mfm": {Part3: "mfm", Scope: 'I', LanguageType: 'L', Name: "Marghi South"},
"mfn": {Part3: "mfn", Scope: 'I', LanguageType: 'L', Name: "Cross River Mbembe"},
"mfo": {Part3: "mfo", Scope: 'I', LanguageType: 'L', Name: "Mbe"},
"mfp": {Part3: "mfp", Scope: 'I', LanguageType: 'L', Name: "Makassar Malay"},
"mfq": {Part3: "mfq", Scope: 'I', LanguageType: 'L', Name: "Moba"},
"mfr": {Part3: "mfr", Scope: 'I', LanguageType: 'L', Name: "Marrithiyel"},
"mfs": {Part3: "mfs", Scope: 'I', LanguageType: 'L', Name: "Mexican Sign Language"},
"mft": {Part3: "mft", Scope: 'I', LanguageType: 'L', Name: "Mokerang"},
"mfu": {Part3: "mfu", Scope: 'I', LanguageType: 'L', Name: "Mbwela"},
"mfv": {Part3: "mfv", Scope: 'I', LanguageType: 'L', Name: "Mandjak"},
"mfw": {Part3: "mfw", Scope: 'I', LanguageType: 'E', Name: "Mulaha"},
"mfx": {Part3: "mfx", Scope: 'I', LanguageType: 'L', Name: "Melo"},
"mfy": {Part3: "mfy", Scope: 'I', LanguageType: 'L', Name: "Mayo"},
"mfz": {Part3: "mfz", Scope: 'I', LanguageType: 'L', Name: "Mabaan"},
"mga": {Part3: "mga", Part2B: "mga", Part2T: "mga", Scope: 'I', LanguageType: 'H', Name: "Middle Irish (900-1200)"},
"mgb": {Part3: "mgb", Scope: 'I', LanguageType: 'L', Name: "Mararit"},
"mgc": {Part3: "mgc", Scope: 'I', LanguageType: 'L', Name: "Morokodo"},
"mgd": {Part3: "mgd", Scope: 'I', LanguageType: 'L', Name: "Moru"},
"mge": {Part3: "mge", Scope: 'I', LanguageType: 'L', Name: "Mango"},
"mgf": {Part3: "mgf", Scope: 'I', LanguageType: 'L', Name: "Maklew"},
"mgg": {Part3: "mgg", Scope: 'I', LanguageType: 'L', Name: "Mpumpong"},
"mgh": {Part3: "mgh", Scope: 'I', LanguageType: 'L', Name: "Makhuwa-Meetto"},
"mgi": {Part3: "mgi", Scope: 'I', LanguageType: 'L', Name: "Lijili"},
"mgj": {Part3: "mgj", Scope: 'I', LanguageType: 'L', Name: "Abureni"},
"mgk": {Part3: "mgk", Scope: 'I', LanguageType: 'L', Name: "Mawes"},
"mgl": {Part3: "mgl", Scope: 'I', LanguageType: 'L', Name: "Maleu-Kilenge"},
"mgm": {Part3: "mgm", Scope: 'I', LanguageType: 'L', Name: "Mambae"},
"mgn": {Part3: "mgn", Scope: 'I', LanguageType: 'L', Name: "Mbangi"},
"mgo": {Part3: "mgo", Scope: 'I', LanguageType: 'L', Name: "Meta'"},
"mgp": {Part3: "mgp", Scope: 'I', LanguageType: 'L', Name: "Eastern Magar"},
"mgq": {Part3: "mgq", Scope: 'I', LanguageType: 'L', Name: "Malila"},
"mgr": {Part3: "mgr", Scope: 'I', LanguageType: 'L', Name: "Mambwe-Lungu"},
"mgs": {Part3: "mgs", Scope: 'I', LanguageType: 'L', Name: "Manda (Tanzania)"},
"mgt": {Part3: "mgt", Scope: 'I', LanguageType: 'L', Name: "Mongol"},
"mgu": {Part3: "mgu", Scope: 'I', LanguageType: 'L', Name: "Mailu"},
"mgv": {Part3: "mgv", Scope: 'I', LanguageType: 'L', Name: "Matengo"},
"mgw": {Part3: "mgw", Scope: 'I', LanguageType: 'L', Name: "Matumbi"},
"mgy": {Part3: "mgy", Scope: 'I', LanguageType: 'L', Name: "Mbunga"},
"mgz": {Part3: "mgz", Scope: 'I', LanguageType: 'L', Name: "Mbugwe"},
"mha": {Part3: "mha", Scope: 'I', LanguageType: 'L', Name: "Manda (India)"},
"mhb": {Part3: "mhb", Scope: 'I', LanguageType: 'L', Name: "Mahongwe"},
"mhc": {Part3: "mhc", Scope: 'I', LanguageType: 'L', Name: "Mocho"},
"mhd": {Part3: "mhd", Scope: 'I', LanguageType: 'L', Name: "Mbugu"},
"mhe": {Part3: "mhe", Scope: 'I', LanguageType: 'L', Name: "Besisi"},
"mhf": {Part3: "mhf", Scope: 'I', LanguageType: 'L', Name: "Mamaa"},
"mhg": {Part3: "mhg", Scope: 'I', LanguageType: 'L', Name: "Margu"},
"mhi": {Part3: "mhi", Scope: 'I', LanguageType: 'L', Name: "Ma'di"},
"mhj": {Part3: "mhj", Scope: 'I', LanguageType: 'L', Name: "Mogholi"},
"mhk": {Part3: "mhk", Scope: 'I', LanguageType: 'L', Name: "Mungaka"},
"mhl": {Part3: "mhl", Scope: 'I', LanguageType: 'L', Name: "Mauwake"},
"mhm": {Part3: "mhm", Scope: 'I', LanguageType: 'L', Name: "Makhuwa-Moniga"},
"mhn": {Part3: "mhn", Scope: 'I', LanguageType: 'L', Name: "Mócheno"},
"mho": {Part3: "mho", Scope: 'I', LanguageType: 'L', Name: "Mashi (Zambia)"},
"mhp": {Part3: "mhp", Scope: 'I', LanguageType: 'L', Name: "Balinese Malay"},
"mhq": {Part3: "mhq", Scope: 'I', LanguageType: 'L', Name: "Mandan"},
"mhr": {Part3: "mhr", Scope: 'I', LanguageType: 'L', Name: "Eastern Mari"},
"mhs": {Part3: "mhs", Scope: 'I', LanguageType: 'L', Name: "Buru (Indonesia)"},
"mht": {Part3: "mht", Scope: 'I', LanguageType: 'L', Name: "Mandahuaca"},
"mhu": {Part3: "mhu", Scope: 'I', LanguageType: 'L', Name: "Digaro-Mishmi"},
"mhw": {Part3: "mhw", Scope: 'I', LanguageType: 'L', Name: "Mbukushu"},
"mhx": {Part3: "mhx", Scope: 'I', LanguageType: 'L', Name: "Maru"},
"mhy": {Part3: "mhy", Scope: 'I', LanguageType: 'L', Name: "Ma'anyan"},
"mhz": {Part3: "mhz", Scope: 'I', LanguageType: 'L', Name: "Mor (Mor Islands)"},
"mia": {Part3: "mia", Scope: 'I', LanguageType: 'L', Name: "Miami"},
"mib": {Part3: "mib", Scope: 'I', LanguageType: 'L', Name: "Atatláhuca Mixtec"},
"mic": {Part3: "mic", Part2B: "mic", Part2T: "mic", Scope: 'I', LanguageType: 'L', Name: "Mi'kmaq"},
"mid": {Part3: "mid", Scope: 'I', LanguageType: 'L', Name: "Mandaic"},
"mie": {Part3: "mie", Scope: 'I', LanguageType: 'L', Name: "Ocotepec Mixtec"},
"mif": {Part3: "mif", Scope: 'I', LanguageType: 'L', Name: "Mofu-Gudur"},
"mig": {Part3: "mig", Scope: 'I', LanguageType: 'L', Name: "<NAME> Mixtec"},
"mih": {Part3: "mih", Scope: 'I', LanguageType: 'L', Name: "Chayuco Mixtec"},
"mii": {Part3: "mii", Scope: 'I', LanguageType: 'L', Name: "Chigmecatitlán Mixtec"},
"mij": {Part3: "mij", Scope: 'I', LanguageType: 'L', Name: "Abar"},
"mik": {Part3: "mik", Scope: 'I', LanguageType: 'L', Name: "Mikasuki"},
"mil": {Part3: "mil", Scope: 'I', LanguageType: 'L', Name: "Peñoles Mixtec"},
"mim": {Part3: "mim", Scope: 'I', LanguageType: 'L', Name: "Alacatlatzala Mixtec"},
"min": {Part3: "min", Part2B: "min", Part2T: "min", Scope: 'I', LanguageType: 'L', Name: "Minangkabau"},
"mio": {Part3: "mio", Scope: 'I', LanguageType: 'L', Name: "Pinotepa Nacional Mixtec"},
"mip": {Part3: "mip", Scope: 'I', LanguageType: 'L', Name: "Apasco-Apoala Mixtec"},
"miq": {Part3: "miq", Scope: 'I', LanguageType: 'L', Name: "Mískito"},
"mir": {Part3: "mir", Scope: 'I', LanguageType: 'L', Name: "Isthmus Mixe"},
"mis": {Part3: "mis", Part2B: "mis", Part2T: "mis", Scope: 'S', LanguageType: 'S', Name: "Uncoded languages"},
"mit": {Part3: "mit", Scope: 'I', LanguageType: 'L', Name: "Southern Puebla Mixtec"},
"miu": {Part3: "miu", Scope: 'I', LanguageType: 'L', Name: "Cacaloxtepec Mixtec"},
"miw": {Part3: "miw", Scope: 'I', LanguageType: 'L', Name: "Akoye"},
"mix": {Part3: "mix", Scope: 'I', LanguageType: 'L', Name: "Mixtepec Mixtec"},
"miy": {Part3: "miy", Scope: 'I', LanguageType: 'L', Name: "Ayutla Mixtec"},
"miz": {Part3: "miz", Scope: 'I', LanguageType: 'L', Name: "Coatzospan Mixtec"},
"mjb": {Part3: "mjb", Scope: 'I', LanguageType: 'L', Name: "Makalero"},
"mjc": {Part3: "mjc", Scope: 'I', LanguageType: 'L', Name: "San Juan Colorado Mixtec"},
"mjd": {Part3: "mjd", Scope: 'I', LanguageType: 'L', Name: "Northwest Maidu"},
"mje": {Part3: "mje", Scope: 'I', LanguageType: 'E', Name: "Muskum"},
"mjg": {Part3: "mjg", Scope: 'I', LanguageType: 'L', Name: "Tu"},
"mjh": {Part3: "mjh", Scope: 'I', LanguageType: 'L', Name: "Mwera (Nyasa)"},
"mji": {Part3: "mji", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mjj": {Part3: "mjj", Scope: 'I', LanguageType: 'L', Name: "Mawak"},
"mjk": {Part3: "mjk", Scope: 'I', LanguageType: 'L', Name: "Matukar"},
"mjl": {Part3: "mjl", Scope: 'I', LanguageType: 'L', Name: "Mandeali"},
"mjm": {Part3: "mjm", Scope: 'I', LanguageType: 'L', Name: "Medebur"},
"mjn": {Part3: "mjn", Scope: 'I', LanguageType: 'L', Name: "Ma (P<NAME>)"},
"mjo": {Part3: "mjo", Scope: 'I', LanguageType: 'L', Name: "Malankuravan"},
"mjp": {Part3: "mjp", Scope: 'I', LanguageType: 'L', Name: "Malapandaram"},
"mjq": {Part3: "mjq", Scope: 'I', LanguageType: 'E', Name: "Malaryan"},
"mjr": {Part3: "mjr", Scope: 'I', LanguageType: 'L', Name: "Malavedan"},
"mjs": {Part3: "mjs", Scope: 'I', LanguageType: 'L', Name: "Miship"},
"mjt": {Part3: "mjt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mju": {Part3: "mju", Scope: 'I', LanguageType: 'L', Name: "Manna-Dora"},
"mjv": {Part3: "mjv", Scope: 'I', LanguageType: 'L', Name: "Mannan"},
"mjw": {Part3: "mjw", Scope: 'I', LanguageType: 'L', Name: "Karbi"},
"mjx": {Part3: "mjx", Scope: 'I', LanguageType: 'L', Name: "Mahali"},
"mjy": {Part3: "mjy", Scope: 'I', LanguageType: 'E', Name: "Mahican"},
"mjz": {Part3: "mjz", Scope: 'I', LanguageType: 'L', Name: "Majhi"},
"mka": {Part3: "mka", Scope: 'I', LanguageType: 'L', Name: "Mbre"},
"mkb": {Part3: "mkb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mkc": {Part3: "mkc", Scope: 'I', LanguageType: 'L', Name: "Siliput"},
"mkd": {Part3: "mkd", Part2B: "mac", Part2T: "mkd", Part1: "mk", Scope: 'I', LanguageType: 'L', Name: "Macedonian"},
"mke": {Part3: "mke", Scope: 'I', LanguageType: 'L', Name: "Mawchi"},
"mkf": {Part3: "mkf", Scope: 'I', LanguageType: 'L', Name: "Miya"},
"mkg": {Part3: "mkg", Scope: 'I', LanguageType: 'L', Name: "Mak (China)"},
"mki": {Part3: "mki", Scope: 'I', LanguageType: 'L', Name: "Dhatki"},
"mkj": {Part3: "mkj", Scope: 'I', LanguageType: 'L', Name: "Mokilese"},
"mkk": {Part3: "mkk", Scope: 'I', LanguageType: 'L', Name: "Byep"},
"mkl": {Part3: "mkl", Scope: 'I', LanguageType: 'L', Name: "Mokole"},
"mkm": {Part3: "mkm", Scope: 'I', LanguageType: 'L', Name: "Moklen"},
"mkn": {Part3: "mkn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mko": {Part3: "mko", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mkp": {Part3: "mkp", Scope: 'I', LanguageType: 'L', Name: "Moikodi"},
"mkq": {Part3: "mkq", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"mkr": {Part3: "mkr", Scope: 'I', LanguageType: 'L', Name: "Malas"},
"mks": {Part3: "mks", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mkt": {Part3: "mkt", Scope: 'I', LanguageType: 'L', Name: "Vamale"},
"mku": {Part3: "mku", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mkv": {Part3: "mkv", Scope: 'I', LanguageType: 'L', Name: "Mafea"},
"mkw": {Part3: "mkw", Scope: 'I', LanguageType: 'L', Name: "Kituba (Congo)"},
"mkx": {Part3: "mkx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mky": {Part3: "mky", Scope: 'I', LanguageType: 'L', Name: "East Makian"},
"mkz": {Part3: "mkz", Scope: 'I', LanguageType: 'L', Name: "Makasae"},
"mla": {Part3: "mla", Scope: 'I', LanguageType: 'L', Name: "Malo"},
"mlb": {Part3: "mlb", Scope: 'I', LanguageType: 'L', Name: "Mbule"},
"mlc": {Part3: "mlc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mle": {Part3: "mle", Scope: 'I', LanguageType: 'L', Name: "Manambu"},
"mlf": {Part3: "mlf", Scope: 'I', LanguageType: 'L', Name: "Mal"},
"mlg": {Part3: "mlg", Part2B: "mlg", Part2T: "mlg", Part1: "mg", Scope: 'M', LanguageType: 'L', Name: "Malagasy"},
"mlh": {Part3: "mlh", Scope: 'I', LanguageType: 'L', Name: "Mape"},
"mli": {Part3: "mli", Scope: 'I', LanguageType: 'L', Name: "Malimpung"},
"mlj": {Part3: "mlj", Scope: 'I', LanguageType: 'L', Name: "Miltu"},
"mlk": {Part3: "mlk", Scope: 'I', LanguageType: 'L', Name: "Ilwana"},
"mll": {Part3: "mll", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mlm": {Part3: "mlm", Scope: 'I', LanguageType: 'L', Name: "Mulam"},
"mln": {Part3: "mln", Scope: 'I', LanguageType: 'L', Name: "Malango"},
"mlo": {Part3: "mlo", Scope: 'I', LanguageType: 'L', Name: "Mlomp"},
"mlp": {Part3: "mlp", Scope: 'I', LanguageType: 'L', Name: "Bargam"},
"mlq": {Part3: "mlq", Scope: 'I', LanguageType: 'L', Name: "Western Maninkakan"},
"mlr": {Part3: "mlr", Scope: 'I', LanguageType: 'L', Name: "Vame"},
"mls": {Part3: "mls", Scope: 'I', LanguageType: 'L', Name: "Masalit"},
"mlt": {Part3: "mlt", Part2B: "mlt", Part2T: "mlt", Part1: "mt", Scope: 'I', LanguageType: 'L', Name: "Maltese"},
"mlu": {Part3: "mlu", Scope: 'I', LanguageType: 'L', Name: "To'abaita"},
"mlv": {Part3: "mlv", Scope: 'I', LanguageType: 'L', Name: "Motlav"},
"mlw": {Part3: "mlw", Scope: 'I', LanguageType: 'L', Name: "Moloko"},
"mlx": {Part3: "mlx", Scope: 'I', LanguageType: 'L', Name: "Malfaxal"},
"mlz": {Part3: "mlz", Scope: 'I', LanguageType: 'L', Name: "Malaynon"},
"mma": {Part3: "mma", Scope: 'I', LanguageType: 'L', Name: "Mama"},
"mmb": {Part3: "mmb", Scope: 'I', LanguageType: 'L', Name: "Momina"},
"mmc": {Part3: "mmc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mmd": {Part3: "mmd", Scope: 'I', LanguageType: 'L', Name: "Maonan"},
"mme": {Part3: "mme", Scope: 'I', LanguageType: 'L', Name: "Mae"},
"mmf": {Part3: "mmf", Scope: 'I', LanguageType: 'L', Name: "Mundat"},
"mmg": {Part3: "mmg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mmh": {Part3: "mmh", Scope: 'I', LanguageType: 'L', Name: "Mehináku"},
"mmi": {Part3: "mmi", Scope: 'I', LanguageType: 'L', Name: "Musar"},
"mmj": {Part3: "mmj", Scope: 'I', LanguageType: 'L', Name: "Majhwar"},
"mmk": {Part3: "mmk", Scope: 'I', LanguageType: 'L', Name: "Mukha-Dora"},
"mml": {Part3: "mml", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mmm": {Part3: "mmm", Scope: 'I', LanguageType: 'L', Name: "Maii"},
"mmn": {Part3: "mmn", Scope: 'I', LanguageType: 'L', Name: "Mamanwa"},
"mmo": {Part3: "mmo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mmp": {Part3: "mmp", Scope: 'I', LanguageType: 'L', Name: "Siawi"},
"mmq": {Part3: "mmq", Scope: 'I', LanguageType: 'L', Name: "Musak"},
"mmr": {Part3: "mmr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mmt": {Part3: "mmt", Scope: 'I', LanguageType: 'L', Name: "Malalamai"},
"mmu": {Part3: "mmu", Scope: 'I', LanguageType: 'L', Name: "Mmaala"},
"mmv": {Part3: "mmv", Scope: 'I', LanguageType: 'E', Name: "Miriti"},
"mmw": {Part3: "mmw", Scope: 'I', LanguageType: 'L', Name: "Emae"},
"mmx": {Part3: "mmx", Scope: 'I', LanguageType: 'L', Name: "Madak"},
"mmy": {Part3: "mmy", Scope: 'I', LanguageType: 'L', Name: "Migaama"},
"mmz": {Part3: "mmz", Scope: 'I', LanguageType: 'L', Name: "Mabaale"},
"mna": {Part3: "mna", Scope: 'I', LanguageType: 'L', Name: "Mbula"},
"mnb": {Part3: "mnb", Scope: 'I', LanguageType: 'L', Name: "Muna"},
"mnc": {Part3: "mnc", Part2B: "mnc", Part2T: "mnc", Scope: 'I', LanguageType: 'L', Name: "Manchu"},
"mnd": {Part3: "mnd", Scope: 'I', LanguageType: 'L', Name: "Mondé"},
"mne": {Part3: "mne", Scope: 'I', LanguageType: 'L', Name: "Naba"},
"mnf": {Part3: "mnf", Scope: 'I', LanguageType: 'L', Name: "Mundani"},
"mng": {Part3: "mng", Scope: 'I', LanguageType: 'L', Name: "Eastern Mnong"},
"mnh": {Part3: "mnh", Scope: 'I', LanguageType: 'L', Name: "Mono (Democratic Republic of Congo)"},
"mni": {Part3: "mni", Part2B: "mni", Part2T: "mni", Scope: 'I', LanguageType: 'L', Name: "Manipuri"},
"mnj": {Part3: "mnj", Scope: 'I', LanguageType: 'L', Name: "Munji"},
"mnk": {Part3: "mnk", Scope: 'I', LanguageType: 'L', Name: "Mandinka"},
"mnl": {Part3: "mnl", Scope: 'I', LanguageType: 'L', Name: "Tiale"},
"mnm": {Part3: "mnm", Scope: 'I', LanguageType: 'L', Name: "Mapena"},
"mnn": {Part3: "mnn", Scope: 'I', LanguageType: 'L', Name: "Southern Mnong"},
"mnp": {Part3: "mnp", Scope: 'I', LanguageType: 'L', Name: "Min Bei Chinese"},
"mnq": {Part3: "mnq", Scope: 'I', LanguageType: 'L', Name: "Minriq"},
"mnr": {Part3: "mnr", Scope: 'I', LanguageType: 'L', Name: "Mono (USA)"},
"mns": {Part3: "mns", Scope: 'I', LanguageType: 'L', Name: "Mansi"},
"mnu": {Part3: "mnu", Scope: 'I', LanguageType: 'L', Name: "Mer"},
"mnv": {Part3: "mnv", Scope: 'I', LanguageType: 'L', Name: "Rennell-Bellona"},
"mnw": {Part3: "mnw", Scope: 'I', LanguageType: 'L', Name: "Mon"},
"mnx": {Part3: "mnx", Scope: 'I', LanguageType: 'L', Name: "Manikion"},
"mny": {Part3: "mny", Scope: 'I', LanguageType: 'L', Name: "Manyawa"},
"mnz": {Part3: "mnz", Scope: 'I', LanguageType: 'L', Name: "Moni"},
"moa": {Part3: "moa", Scope: 'I', LanguageType: 'L', Name: "Mwan"},
"moc": {Part3: "moc", Scope: 'I', LanguageType: 'L', Name: "Mocoví"},
"mod": {Part3: "mod", Scope: 'I', LanguageType: 'E', Name: "Mobilian"},
"moe": {Part3: "moe", Scope: 'I', LanguageType: 'L', Name: "Innu"},
"mog": {Part3: "mog", Scope: 'I', LanguageType: 'L', Name: "Mongondow"},
"moh": {Part3: "moh", Part2B: "moh", Part2T: "moh", Scope: 'I', LanguageType: 'L', Name: "Mohawk"},
"moi": {Part3: "moi", Scope: 'I', LanguageType: 'L', Name: "Mboi"},
"moj": {Part3: "moj", Scope: 'I', LanguageType: 'L', Name: "Monzombo"},
"mok": {Part3: "mok", Scope: 'I', LanguageType: 'L', Name: "Morori"},
"mom": {Part3: "mom", Scope: 'I', LanguageType: 'E', Name: "Mangue"},
"mon": {Part3: "mon", Part2B: "mon", Part2T: "mon", Part1: "mn", Scope: 'M', LanguageType: 'L', Name: "Mongolian"},
"moo": {Part3: "moo", Scope: 'I', LanguageType: 'L', Name: "Monom"},
"mop": {Part3: "mop", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"moq": {Part3: "moq", Scope: 'I', LanguageType: 'L', Name: "Mor (Bomber<NAME>)"},
"mor": {Part3: "mor", Scope: 'I', LanguageType: 'L', Name: "Moro"},
"mos": {Part3: "mos", Part2B: "mos", Part2T: "mos", Scope: 'I', LanguageType: 'L', Name: "Mossi"},
"mot": {Part3: "mot", Scope: 'I', LanguageType: 'L', Name: "Barí"},
"mou": {Part3: "mou", Scope: 'I', LanguageType: 'L', Name: "Mogum"},
"mov": {Part3: "mov", Scope: 'I', LanguageType: 'L', Name: "Mohave"},
"mow": {Part3: "mow", Scope: 'I', LanguageType: 'L', Name: "Moi (Congo)"},
"mox": {Part3: "mox", Scope: 'I', LanguageType: 'L', Name: "Molima"},
"moy": {Part3: "moy", Scope: 'I', LanguageType: 'L', Name: "Shekkacho"},
"moz": {Part3: "moz", Scope: 'I', LanguageType: 'L', Name: "Mukulu"},
"mpa": {Part3: "mpa", Scope: 'I', LanguageType: 'L', Name: "Mpoto"},
"mpb": {Part3: "mpb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mpc": {Part3: "mpc", Scope: 'I', LanguageType: 'L', Name: "Mangarrayi"},
"mpd": {Part3: "mpd", Scope: 'I', LanguageType: 'L', Name: "Machinere"},
"mpe": {Part3: "mpe", Scope: 'I', LanguageType: 'L', Name: "Majang"},
"mpg": {Part3: "mpg", Scope: 'I', LanguageType: 'L', Name: "Marba"},
"mph": {Part3: "mph", Scope: 'I', LanguageType: 'L', Name: "Maung"},
"mpi": {Part3: "mpi", Scope: 'I', LanguageType: 'L', Name: "Mpade"},
"mpj": {Part3: "mpj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mpk": {Part3: "mpk", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"mpl": {Part3: "mpl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mpm": {Part3: "mpm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mpn": {Part3: "mpn", Scope: 'I', LanguageType: 'L', Name: "Mindiri"},
"mpo": {Part3: "mpo", Scope: 'I', LanguageType: 'L', Name: "Miu"},
"mpp": {Part3: "mpp", Scope: 'I', LanguageType: 'L', Name: "Migabac"},
"mpq": {Part3: "mpq", Scope: 'I', LanguageType: 'L', Name: "Matís"},
"mpr": {Part3: "mpr", Scope: 'I', LanguageType: 'L', Name: "Vangunu"},
"mps": {Part3: "mps", Scope: 'I', LanguageType: 'L', Name: "Dadibi"},
"mpt": {Part3: "mpt", Scope: 'I', LanguageType: 'L', Name: "Mian"},
"mpu": {Part3: "mpu", Scope: 'I', LanguageType: 'L', Name: "Makuráp"},
"mpv": {Part3: "mpv", Scope: 'I', LanguageType: 'L', Name: "Mungkip"},
"mpw": {Part3: "mpw", Scope: 'I', LanguageType: 'L', Name: "Mapidian"},
"mpx": {Part3: "mpx", Scope: 'I', LanguageType: 'L', Name: "Misima-Panaeati"},
"mpy": {Part3: "mpy", Scope: 'I', LanguageType: 'L', Name: "Mapia"},
"mpz": {Part3: "mpz", Scope: 'I', LanguageType: 'L', Name: "Mpi"},
"mqa": {Part3: "mqa", Scope: 'I', LanguageType: 'L', Name: "Maba (Indonesia)"},
"mqb": {Part3: "mqb", Scope: 'I', LanguageType: 'L', Name: "Mbuko"},
"mqc": {Part3: "mqc", Scope: 'I', LanguageType: 'L', Name: "Mangole"},
"mqe": {Part3: "mqe", Scope: 'I', LanguageType: 'L', Name: "Matepi"},
"mqf": {Part3: "mqf", Scope: 'I', LanguageType: 'L', Name: "Momuna"},
"mqg": {Part3: "mqg", Scope: 'I', LanguageType: 'L', Name: "Kota Bangun Kutai Malay"},
"mqh": {Part3: "mqh", Scope: 'I', LanguageType: 'L', Name: "Tlazoyaltepec Mixtec"},
"mqi": {Part3: "mqi", Scope: 'I', LanguageType: 'L', Name: "Mariri"},
"mqj": {Part3: "mqj", Scope: 'I', LanguageType: 'L', Name: "Mamasa"},
"mqk": {Part3: "mqk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mql": {Part3: "mql", Scope: 'I', LanguageType: 'L', Name: "Mbelime"},
"mqm": {Part3: "mqm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mqn": {Part3: "mqn", Scope: 'I', LanguageType: 'L', Name: "Moronene"},
"mqo": {Part3: "mqo", Scope: 'I', LanguageType: 'L', Name: "Modole"},
"mqp": {Part3: "mqp", Scope: 'I', LanguageType: 'L', Name: "Manipa"},
"mqq": {Part3: "mqq", Scope: 'I', LanguageType: 'L', Name: "Minokok"},
"mqr": {Part3: "mqr", Scope: 'I', LanguageType: 'L', Name: "Mander"},
"mqs": {Part3: "mqs", Scope: 'I', LanguageType: 'L', Name: "West Makian"},
"mqt": {Part3: "mqt", Scope: 'I', LanguageType: 'L', Name: "Mok"},
"mqu": {Part3: "mqu", Scope: 'I', LanguageType: 'L', Name: "Mandari"},
"mqv": {Part3: "mqv", Scope: 'I', LanguageType: 'L', Name: "Mosimo"},
"mqw": {Part3: "mqw", Scope: 'I', LanguageType: 'L', Name: "Murupi"},
"mqx": {Part3: "mqx", Scope: 'I', LanguageType: 'L', Name: "Mamuju"},
"mqy": {Part3: "mqy", Scope: 'I', LanguageType: 'L', Name: "Manggarai"},
"mqz": {Part3: "mqz", Scope: 'I', LanguageType: 'L', Name: "Pano"},
"mra": {Part3: "mra", Scope: 'I', LanguageType: 'L', Name: "Mlabri"},
"mrb": {Part3: "mrb", Scope: 'I', LanguageType: 'L', Name: "Marino"},
"mrc": {Part3: "mrc", Scope: 'I', LanguageType: 'L', Name: "Maricopa"},
"mrd": {Part3: "mrd", Scope: 'I', LanguageType: 'L', Name: "Western Magar"},
"mre": {Part3: "mre", Scope: 'I', LanguageType: 'E', Name: "Martha's Vineyard Sign Language"},
"mrf": {Part3: "mrf", Scope: 'I', LanguageType: 'L', Name: "Elseng"},
"mrg": {Part3: "mrg", Scope: 'I', LanguageType: 'L', Name: "Mising"},
"mrh": {Part3: "mrh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mri": {Part3: "mri", Part2B: "mao", Part2T: "mri", Part1: "mi", Scope: 'I', LanguageType: 'L', Name: "Maori"},
"mrj": {Part3: "mrj", Scope: 'I', LanguageType: 'L', Name: "Western Mari"},
"mrk": {Part3: "mrk", Scope: 'I', LanguageType: 'L', Name: "Hmwaveke"},
"mrl": {Part3: "mrl", Scope: 'I', LanguageType: 'L', Name: "Mortlockese"},
"mrm": {Part3: "mrm", Scope: 'I', LanguageType: 'L', Name: "Merlav"},
"mrn": {Part3: "mrn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mro": {Part3: "mro", Scope: 'I', LanguageType: 'L', Name: "Mru"},
"mrp": {Part3: "mrp", Scope: 'I', LanguageType: 'L', Name: "Morouas"},
"mrq": {Part3: "mrq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mrr": {Part3: "mrr", Scope: 'I', LanguageType: 'L', Name: "Maria (India)"},
"mrs": {Part3: "mrs", Scope: 'I', LanguageType: 'L', Name: "Maragus"},
"mrt": {Part3: "mrt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mru": {Part3: "mru", Scope: 'I', LanguageType: 'L', Name: "Mono (Cameroon)"},
"mrv": {Part3: "mrv", Scope: 'I', LanguageType: 'L', Name: "Mangareva"},
"mrw": {Part3: "mrw", Scope: 'I', LanguageType: 'L', Name: "Maranao"},
"mrx": {Part3: "mrx", Scope: 'I', LanguageType: 'L', Name: "Maremgi"},
"mry": {Part3: "mry", Scope: 'I', LanguageType: 'L', Name: "Mandaya"},
"mrz": {Part3: "mrz", Scope: 'I', LanguageType: 'L', Name: "Marind"},
"msa": {Part3: "msa", Part2B: "may", Part2T: "msa", Part1: "ms", Scope: 'M', LanguageType: 'L', Name: "Malay (macrolanguage)"},
"msb": {Part3: "msb", Scope: 'I', LanguageType: 'L', Name: "Masbatenyo"},
"msc": {Part3: "msc", Scope: 'I', LanguageType: 'L', Name: "<NAME>inka"},
"msd": {Part3: "msd", Scope: 'I', LanguageType: 'L', Name: "Yucatec Maya Sign Language"},
"mse": {Part3: "mse", Scope: 'I', LanguageType: 'L', Name: "Musey"},
"msf": {Part3: "msf", Scope: 'I', LanguageType: 'L', Name: "Mekwei"},
"msg": {Part3: "msg", Scope: 'I', LanguageType: 'L', Name: "Moraid"},
"msh": {Part3: "msh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"msi": {Part3: "msi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"msj": {Part3: "msj", Scope: 'I', LanguageType: 'L', Name: "Ma (Democratic Republic of Congo)"},
"msk": {Part3: "msk", Scope: 'I', LanguageType: 'L', Name: "Mansaka"},
"msl": {Part3: "msl", Scope: 'I', LanguageType: 'L', Name: "Molof"},
"msm": {Part3: "msm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"msn": {Part3: "msn", Scope: 'I', LanguageType: 'L', Name: "Vurës"},
"mso": {Part3: "mso", Scope: 'I', LanguageType: 'L', Name: "Mombum"},
"msp": {Part3: "msp", Scope: 'I', LanguageType: 'E', Name: "Maritsauá"},
"msq": {Part3: "msq", Scope: 'I', LanguageType: 'L', Name: "Caac"},
"msr": {Part3: "msr", Scope: 'I', LanguageType: 'L', Name: "Mongolian Sign Language"},
"mss": {Part3: "mss", Scope: 'I', LanguageType: 'L', Name: "West Masela"},
"msu": {Part3: "msu", Scope: 'I', LanguageType: 'L', Name: "Musom"},
"msv": {Part3: "msv", Scope: 'I', LanguageType: 'L', Name: "Maslam"},
"msw": {Part3: "msw", Scope: 'I', LanguageType: 'L', Name: "Mansoanka"},
"msx": {Part3: "msx", Scope: 'I', LanguageType: 'L', Name: "Moresada"},
"msy": {Part3: "msy", Scope: 'I', LanguageType: 'L', Name: "Aruamu"},
"msz": {Part3: "msz", Scope: 'I', LanguageType: 'L', Name: "Momare"},
"mta": {Part3: "mta", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mtb": {Part3: "mtb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mtc": {Part3: "mtc", Scope: 'I', LanguageType: 'L', Name: "Munit"},
"mtd": {Part3: "mtd", Scope: 'I', LanguageType: 'L', Name: "Mualang"},
"mte": {Part3: "mte", Scope: 'I', LanguageType: 'L', Name: "Mono (Solomon Islands)"},
"mtf": {Part3: "mtf", Scope: 'I', LanguageType: 'L', Name: "Murik (Papua New Guinea)"},
"mtg": {Part3: "mtg", Scope: 'I', LanguageType: 'L', Name: "Una"},
"mth": {Part3: "mth", Scope: 'I', LanguageType: 'L', Name: "Munggui"},
"mti": {Part3: "mti", Scope: 'I', LanguageType: 'L', Name: "Maiwa (Papua New Guinea)"},
"mtj": {Part3: "mtj", Scope: 'I', LanguageType: 'L', Name: "Moskona"},
"mtk": {Part3: "mtk", Scope: 'I', LanguageType: 'L', Name: "Mbe'"},
"mtl": {Part3: "mtl", Scope: 'I', LanguageType: 'L', Name: "Montol"},
"mtm": {Part3: "mtm", Scope: 'I', LanguageType: 'E', Name: "Mator"},
"mtn": {Part3: "mtn", Scope: 'I', LanguageType: 'E', Name: "Matagalpa"},
"mto": {Part3: "mto", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mtp": {Part3: "mtp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mtq": {Part3: "mtq", Scope: 'I', LanguageType: 'L', Name: "Muong"},
"mtr": {Part3: "mtr", Scope: 'I', LanguageType: 'L', Name: "Mewari"},
"mts": {Part3: "mts", Scope: 'I', LanguageType: 'L', Name: "Yora"},
"mtt": {Part3: "mtt", Scope: 'I', LanguageType: 'L', Name: "Mota"},
"mtu": {Part3: "mtu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mtv": {Part3: "mtv", Scope: 'I', LanguageType: 'L', Name: "Asaro'o"},
"mtw": {Part3: "mtw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mtx": {Part3: "mtx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mty": {Part3: "mty", Scope: 'I', LanguageType: 'L', Name: "Nabi"},
"mua": {Part3: "mua", Scope: 'I', LanguageType: 'L', Name: "Mundang"},
"mub": {Part3: "mub", Scope: 'I', LanguageType: 'L', Name: "Mubi"},
"muc": {Part3: "muc", Scope: 'I', LanguageType: 'L', Name: "Ajumbu"},
"mud": {Part3: "mud", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mue": {Part3: "mue", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mug": {Part3: "mug", Scope: 'I', LanguageType: 'L', Name: "Musgu"},
"muh": {Part3: "muh", Scope: 'I', LanguageType: 'L', Name: "Mündü"},
"mui": {Part3: "mui", Scope: 'I', LanguageType: 'L', Name: "Musi"},
"muj": {Part3: "muj", Scope: 'I', LanguageType: 'L', Name: "Mabire"},
"muk": {Part3: "muk", Scope: 'I', LanguageType: 'L', Name: "Mugom"},
"mul": {Part3: "mul", Part2B: "mul", Part2T: "mul", Scope: 'S', LanguageType: 'S', Name: "Multiple languages"},
"mum": {Part3: "mum", Scope: 'I', LanguageType: 'L', Name: "Maiwala"},
"muo": {Part3: "muo", Scope: 'I', LanguageType: 'L', Name: "Nyong"},
"mup": {Part3: "mup", Scope: 'I', LanguageType: 'L', Name: "Malvi"},
"muq": {Part3: "muq", Scope: 'I', LanguageType: 'L', Name: "Eastern Xiangxi Miao"},
"mur": {Part3: "mur", Scope: 'I', LanguageType: 'L', Name: "Murle"},
"mus": {Part3: "mus", Part2B: "mus", Part2T: "mus", Scope: 'I', LanguageType: 'L', Name: "Creek"},
"mut": {Part3: "mut", Scope: 'I', LanguageType: 'L', Name: "Western Muria"},
"muu": {Part3: "muu", Scope: 'I', LanguageType: 'L', Name: "Yaaku"},
"muv": {Part3: "muv", Scope: 'I', LanguageType: 'L', Name: "Muthuvan"},
"mux": {Part3: "mux", Scope: 'I', LanguageType: 'L', Name: "Bo-Ung"},
"muy": {Part3: "muy", Scope: 'I', LanguageType: 'L', Name: "Muyang"},
"muz": {Part3: "muz", Scope: 'I', LanguageType: 'L', Name: "Mursi"},
"mva": {Part3: "mva", Scope: 'I', LanguageType: 'L', Name: "Manam"},
"mvb": {Part3: "mvb", Scope: 'I', LanguageType: 'E', Name: "Mattole"},
"mvd": {Part3: "mvd", Scope: 'I', LanguageType: 'L', Name: "Mamboru"},
"mve": {Part3: "mve", Scope: 'I', LanguageType: 'L', Name: "Marwari (Pakistan)"},
"mvf": {Part3: "mvf", Scope: 'I', LanguageType: 'L', Name: "Peripheral Mongolian"},
"mvg": {Part3: "mvg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mvh": {Part3: "mvh", Scope: 'I', LanguageType: 'L', Name: "Mulgi"},
"mvi": {Part3: "mvi", Scope: 'I', LanguageType: 'L', Name: "Miyako"},
"mvk": {Part3: "mvk", Scope: 'I', LanguageType: 'L', Name: "Mekmek"},
"mvl": {Part3: "mvl", Scope: 'I', LanguageType: 'E', Name: "Mbara (Australia)"},
"mvn": {Part3: "mvn", Scope: 'I', LanguageType: 'L', Name: "Minaveha"},
"mvo": {Part3: "mvo", Scope: 'I', LanguageType: 'L', Name: "Marovo"},
"mvp": {Part3: "mvp", Scope: 'I', LanguageType: 'L', Name: "Duri"},
"mvq": {Part3: "mvq", Scope: 'I', LanguageType: 'L', Name: "Moere"},
"mvr": {Part3: "mvr", Scope: 'I', LanguageType: 'L', Name: "Marau"},
"mvs": {Part3: "mvs", Scope: 'I', LanguageType: 'L', Name: "Massep"},
"mvt": {Part3: "mvt", Scope: 'I', LanguageType: 'L', Name: "Mpotovoro"},
"mvu": {Part3: "mvu", Scope: 'I', LanguageType: 'L', Name: "Marfa"},
"mvv": {Part3: "mvv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mvw": {Part3: "mvw", Scope: 'I', LanguageType: 'L', Name: "Machinga"},
"mvx": {Part3: "mvx", Scope: 'I', LanguageType: 'L', Name: "Meoswar"},
"mvy": {Part3: "mvy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mvz": {Part3: "mvz", Scope: 'I', LanguageType: 'L', Name: "Mesqan"},
"mwa": {Part3: "mwa", Scope: 'I', LanguageType: 'L', Name: "Mwatebu"},
"mwb": {Part3: "mwb", Scope: 'I', LanguageType: 'L', Name: "Juwal"},
"mwc": {Part3: "mwc", Scope: 'I', LanguageType: 'L', Name: "Are"},
"mwe": {Part3: "mwe", Scope: 'I', LanguageType: 'L', Name: "Mwera (Chimwera)"},
"mwf": {Part3: "mwf", Scope: 'I', LanguageType: 'L', Name: "Murrinh-Patha"},
"mwg": {Part3: "mwg", Scope: 'I', LanguageType: 'L', Name: "Aiklep"},
"mwh": {Part3: "mwh", Scope: 'I', LanguageType: 'L', Name: "Mouk-Aria"},
"mwi": {Part3: "mwi", Scope: 'I', LanguageType: 'L', Name: "Labo"},
"mwk": {Part3: "mwk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mwl": {Part3: "mwl", Part2B: "mwl", Part2T: "mwl", Scope: 'I', LanguageType: 'L', Name: "Mirandese"},
"mwm": {Part3: "mwm", Scope: 'I', LanguageType: 'L', Name: "Sar"},
"mwn": {Part3: "mwn", Scope: 'I', LanguageType: 'L', Name: "Nyamwanga"},
"mwo": {Part3: "mwo", Scope: 'I', LanguageType: 'L', Name: "Central Maewo"},
"mwp": {Part3: "mwp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mwq": {Part3: "mwq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mwr": {Part3: "mwr", Part2B: "mwr", Part2T: "mwr", Scope: 'M', LanguageType: 'L', Name: "Marwari"},
"mws": {Part3: "mws", Scope: 'I', LanguageType: 'L', Name: "Mwimbi-Muthambi"},
"mwt": {Part3: "mwt", Scope: 'I', LanguageType: 'L', Name: "Moken"},
"mwu": {Part3: "mwu", Scope: 'I', LanguageType: 'E', Name: "Mittu"},
"mwv": {Part3: "mwv", Scope: 'I', LanguageType: 'L', Name: "Mentawai"},
"mww": {Part3: "mww", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mwz": {Part3: "mwz", Scope: 'I', LanguageType: 'L', Name: "Moingi"},
"mxa": {Part3: "mxa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mxb": {Part3: "mxb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mxc": {Part3: "mxc", Scope: 'I', LanguageType: 'L', Name: "Manyika"},
"mxd": {Part3: "mxd", Scope: 'I', LanguageType: 'L', Name: "Modang"},
"mxe": {Part3: "mxe", Scope: 'I', LanguageType: 'L', Name: "Mele-Fila"},
"mxf": {Part3: "mxf", Scope: 'I', LanguageType: 'L', Name: "Malgbe"},
"mxg": {Part3: "mxg", Scope: 'I', LanguageType: 'L', Name: "Mbangala"},
"mxh": {Part3: "mxh", Scope: 'I', LanguageType: 'L', Name: "Mvuba"},
"mxi": {Part3: "mxi", Scope: 'I', LanguageType: 'H', Name: "Mozarabic"},
"mxj": {Part3: "mxj", Scope: 'I', LanguageType: 'L', Name: "Miju-Mishmi"},
"mxk": {Part3: "mxk", Scope: 'I', LanguageType: 'L', Name: "Monumbo"},
"mxl": {Part3: "mxl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mxm": {Part3: "mxm", Scope: 'I', LanguageType: 'L', Name: "Meramera"},
"mxn": {Part3: "mxn", Scope: 'I', LanguageType: 'L', Name: "Moi (Indonesia)"},
"mxo": {Part3: "mxo", Scope: 'I', LanguageType: 'L', Name: "Mbowe"},
"mxp": {Part3: "mxp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mxq": {Part3: "mxq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mxr": {Part3: "mxr", Scope: 'I', LanguageType: 'L', Name: "Murik (Malaysia)"},
"mxs": {Part3: "mxs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mxt": {Part3: "mxt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mxu": {Part3: "mxu", Scope: 'I', LanguageType: 'L', Name: "Mada (Cameroon)"},
"mxv": {Part3: "mxv", Scope: 'I', LanguageType: 'L', Name: "<NAME>tec"},
"mxw": {Part3: "mxw", Scope: 'I', LanguageType: 'L', Name: "Namo"},
"mxx": {Part3: "mxx", Scope: 'I', LanguageType: 'L', Name: "Mahou"},
"mxy": {Part3: "mxy", Scope: 'I', LanguageType: 'L', Name: "Southeastern Nochixtlán Mixtec"},
"mxz": {Part3: "mxz", Scope: 'I', LanguageType: 'L', Name: "Central Masela"},
"mya": {Part3: "mya", Part2B: "bur", Part2T: "mya", Part1: "my", Scope: 'I', LanguageType: 'L', Name: "Burmese"},
"myb": {Part3: "myb", Scope: 'I', LanguageType: 'L', Name: "Mbay"},
"myc": {Part3: "myc", Scope: 'I', LanguageType: 'L', Name: "Mayeka"},
"mye": {Part3: "mye", Scope: 'I', LanguageType: 'L', Name: "Myene"},
"myf": {Part3: "myf", Scope: 'I', LanguageType: 'L', Name: "Bambassi"},
"myg": {Part3: "myg", Scope: 'I', LanguageType: 'L', Name: "Manta"},
"myh": {Part3: "myh", Scope: 'I', LanguageType: 'L', Name: "Makah"},
"myj": {Part3: "myj", Scope: 'I', LanguageType: 'L', Name: "Mangayat"},
"myk": {Part3: "myk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"myl": {Part3: "myl", Scope: 'I', LanguageType: 'L', Name: "Moma"},
"mym": {Part3: "mym", Scope: 'I', LanguageType: 'L', Name: "Me'en"},
"myo": {Part3: "myo", Scope: 'I', LanguageType: 'L', Name: "Anfillo"},
"myp": {Part3: "myp", Scope: 'I', LanguageType: 'L', Name: "Pirahã"},
"myr": {Part3: "myr", Scope: 'I', LanguageType: 'L', Name: "Muniche"},
"mys": {Part3: "mys", Scope: 'I', LanguageType: 'E', Name: "Mesmes"},
"myu": {Part3: "myu", Scope: 'I', LanguageType: 'L', Name: "Mundurukú"},
"myv": {Part3: "myv", Part2B: "myv", Part2T: "myv", Scope: 'I', LanguageType: 'L', Name: "Erzya"},
"myw": {Part3: "myw", Scope: 'I', LanguageType: 'L', Name: "Muyuw"},
"myx": {Part3: "myx", Scope: 'I', LanguageType: 'L', Name: "Masaaba"},
"myy": {Part3: "myy", Scope: 'I', LanguageType: 'L', Name: "Macuna"},
"myz": {Part3: "myz", Scope: 'I', LanguageType: 'H', Name: "Classical Mandaic"},
"mza": {Part3: "mza", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mzb": {Part3: "mzb", Scope: 'I', LanguageType: 'L', Name: "Tumzabt"},
"mzc": {Part3: "mzc", Scope: 'I', LanguageType: 'L', Name: "Madagascar Sign Language"},
"mzd": {Part3: "mzd", Scope: 'I', LanguageType: 'L', Name: "Malimba"},
"mze": {Part3: "mze", Scope: 'I', LanguageType: 'L', Name: "Morawa"},
"mzg": {Part3: "mzg", Scope: 'I', LanguageType: 'L', Name: "Monastic Sign Language"},
"mzh": {Part3: "mzh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mzi": {Part3: "mzi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mzj": {Part3: "mzj", Scope: 'I', LanguageType: 'L', Name: "Manya"},
"mzk": {Part3: "mzk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mzl": {Part3: "mzl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mzm": {Part3: "mzm", Scope: 'I', LanguageType: 'L', Name: "Mumuye"},
"mzn": {Part3: "mzn", Scope: 'I', LanguageType: 'L', Name: "Mazanderani"},
"mzo": {Part3: "mzo", Scope: 'I', LanguageType: 'E', Name: "Matipuhy"},
"mzp": {Part3: "mzp", Scope: 'I', LanguageType: 'L', Name: "Movima"},
"mzq": {Part3: "mzq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"mzr": {Part3: "mzr", Scope: 'I', LanguageType: 'L', Name: "Marúbo"},
"mzs": {Part3: "mzs", Scope: 'I', LanguageType: 'L', Name: "Macanese"},
"mzt": {Part3: "mzt", Scope: 'I', LanguageType: 'L', Name: "Mintil"},
"mzu": {Part3: "mzu", Scope: 'I', LanguageType: 'L', Name: "Inapang"},
"mzv": {Part3: "mzv", Scope: 'I', LanguageType: 'L', Name: "Manza"},
"mzw": {Part3: "mzw", Scope: 'I', LanguageType: 'L', Name: "Deg"},
"mzx": {Part3: "mzx", Scope: 'I', LanguageType: 'L', Name: "Mawayana"},
"mzy": {Part3: "mzy", Scope: 'I', LanguageType: 'L', Name: "Mozambican Sign Language"},
"mzz": {Part3: "mzz", Scope: 'I', LanguageType: 'L', Name: "Maiadomu"},
"naa": {Part3: "naa", Scope: 'I', LanguageType: 'L', Name: "Namla"},
"nab": {Part3: "nab", Scope: 'I', LanguageType: 'L', Name: "Southern Nambikuára"},
"nac": {Part3: "nac", Scope: 'I', LanguageType: 'L', Name: "Narak"},
"nae": {Part3: "nae", Scope: 'I', LanguageType: 'E', Name: "Naka'ela"},
"naf": {Part3: "naf", Scope: 'I', LanguageType: 'L', Name: "Nabak"},
"nag": {Part3: "nag", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"naj": {Part3: "naj", Scope: 'I', LanguageType: 'L', Name: "Nalu"},
"nak": {Part3: "nak", Scope: 'I', LanguageType: 'L', Name: "Nakanai"},
"nal": {Part3: "nal", Scope: 'I', LanguageType: 'L', Name: "Nalik"},
"nam": {Part3: "nam", Scope: 'I', LanguageType: 'L', Name: "Ngan'gityemerri"},
"nan": {Part3: "nan", Scope: 'I', LanguageType: 'L', Name: "Min Nan Chinese"},
"nao": {Part3: "nao", Scope: 'I', LanguageType: 'L', Name: "Naaba"},
"nap": {Part3: "nap", Part2B: "nap", Part2T: "nap", Scope: 'I', LanguageType: 'L', Name: "Neapolitan"},
"naq": {Part3: "naq", Scope: 'I', LanguageType: 'L', Name: "Khoekhoe"},
"nar": {Part3: "nar", Scope: 'I', LanguageType: 'L', Name: "Iguta"},
"nas": {Part3: "nas", Scope: 'I', LanguageType: 'L', Name: "Naasioi"},
"nat": {Part3: "nat", Scope: 'I', LanguageType: 'L', Name: "Ca̱hungwa̱rya̱"},
"nau": {Part3: "nau", Part2B: "nau", Part2T: "nau", Part1: "na", Scope: 'I', LanguageType: 'L', Name: "Nauru"},
"nav": {Part3: "nav", Part2B: "nav", Part2T: "nav", Part1: "nv", Scope: 'I', LanguageType: 'L', Name: "Navajo"},
"naw": {Part3: "naw", Scope: 'I', LanguageType: 'L', Name: "Nawuri"},
"nax": {Part3: "nax", Scope: 'I', LanguageType: 'L', Name: "Nakwi"},
"nay": {Part3: "nay", Scope: 'I', LanguageType: 'E', Name: "Ngarrindjeri"},
"naz": {Part3: "naz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nba": {Part3: "nba", Scope: 'I', LanguageType: 'L', Name: "Nyemba"},
"nbb": {Part3: "nbb", Scope: 'I', LanguageType: 'L', Name: "Ndoe"},
"nbc": {Part3: "nbc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nbd": {Part3: "nbd", Scope: 'I', LanguageType: 'L', Name: "Ngbinda"},
"nbe": {Part3: "nbe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nbg": {Part3: "nbg", Scope: 'I', LanguageType: 'L', Name: "Nagarchal"},
"nbh": {Part3: "nbh", Scope: 'I', LanguageType: 'L', Name: "Ngamo"},
"nbi": {Part3: "nbi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nbj": {Part3: "nbj", Scope: 'I', LanguageType: 'L', Name: "Ngarinyman"},
"nbk": {Part3: "nbk", Scope: 'I', LanguageType: 'L', Name: "Nake"},
"nbl": {Part3: "nbl", Part2B: "nbl", Part2T: "nbl", Part1: "nr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nbm": {Part3: "nbm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nbn": {Part3: "nbn", Scope: 'I', LanguageType: 'L', Name: "Kuri"},
"nbo": {Part3: "nbo", Scope: 'I', LanguageType: 'L', Name: "Nkukoli"},
"nbp": {Part3: "nbp", Scope: 'I', LanguageType: 'L', Name: "Nnam"},
"nbq": {Part3: "nbq", Scope: 'I', LanguageType: 'L', Name: "Nggem"},
"nbr": {Part3: "nbr", Scope: 'I', LanguageType: 'L', Name: "Numana"},
"nbs": {Part3: "nbs", Scope: 'I', LanguageType: 'L', Name: "Namibian Sign Language"},
"nbt": {Part3: "nbt", Scope: 'I', LanguageType: 'L', Name: "Na"},
"nbu": {Part3: "nbu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nbv": {Part3: "nbv", Scope: 'I', LanguageType: 'L', Name: "Ngamambo"},
"nbw": {Part3: "nbw", Scope: 'I', LanguageType: 'L', Name: "Southern Ngbandi"},
"nby": {Part3: "nby", Scope: 'I', LanguageType: 'L', Name: "Ningera"},
"nca": {Part3: "nca", Scope: 'I', LanguageType: 'L', Name: "Iyo"},
"ncb": {Part3: "ncb", Scope: 'I', LanguageType: 'L', Name: "Central Nicobarese"},
"ncc": {Part3: "ncc", Scope: 'I', LanguageType: 'L', Name: "Ponam"},
"ncd": {Part3: "ncd", Scope: 'I', LanguageType: 'L', Name: "Nachering"},
"nce": {Part3: "nce", Scope: 'I', LanguageType: 'L', Name: "Yale"},
"ncf": {Part3: "ncf", Scope: 'I', LanguageType: 'L', Name: "Notsi"},
"ncg": {Part3: "ncg", Scope: 'I', LanguageType: 'L', Name: "Nisga'a"},
"nch": {Part3: "nch", Scope: 'I', LanguageType: 'L', Name: "Central Huasteca Nahuatl"},
"nci": {Part3: "nci", Scope: 'I', LanguageType: 'H', Name: "Classical Nahuatl"},
"ncj": {Part3: "ncj", Scope: 'I', LanguageType: 'L', Name: "Northern Puebla Nahuatl"},
"nck": {Part3: "nck", Scope: 'I', LanguageType: 'L', Name: "Na-kara"},
"ncl": {Part3: "ncl", Scope: 'I', LanguageType: 'L', Name: "Michoacán Nahuatl"},
"ncm": {Part3: "ncm", Scope: 'I', LanguageType: 'L', Name: "Nambo"},
"ncn": {Part3: "ncn", Scope: 'I', LanguageType: 'L', Name: "Nauna"},
"nco": {Part3: "nco", Scope: 'I', LanguageType: 'L', Name: "Sibe"},
"ncq": {Part3: "ncq", Scope: 'I', LanguageType: 'L', Name: "Northern Katang"},
"ncr": {Part3: "ncr", Scope: 'I', LanguageType: 'L', Name: "Ncane"},
"ncs": {Part3: "ncs", Scope: 'I', LanguageType: 'L', Name: "Nicaraguan Sign Language"},
"nct": {Part3: "nct", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ncu": {Part3: "ncu", Scope: 'I', LanguageType: 'L', Name: "Chumburung"},
"ncx": {Part3: "ncx", Scope: 'I', LanguageType: 'L', Name: "Central Puebla Nahuatl"},
"ncz": {Part3: "ncz", Scope: 'I', LanguageType: 'E', Name: "Natchez"},
"nda": {Part3: "nda", Scope: 'I', LanguageType: 'L', Name: "Ndasa"},
"ndb": {Part3: "ndb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ndc": {Part3: "ndc", Scope: 'I', LanguageType: 'L', Name: "Ndau"},
"ndd": {Part3: "ndd", Scope: 'I', LanguageType: 'L', Name: "Nde-Nsele-Nta"},
"nde": {Part3: "nde", Part2B: "nde", Part2T: "nde", Part1: "nd", Scope: 'I', LanguageType: 'L', Name: "North Ndebele"},
"ndf": {Part3: "ndf", Scope: 'I', LanguageType: 'H', Name: "Nadruvian"},
"ndg": {Part3: "ndg", Scope: 'I', LanguageType: 'L', Name: "Ndengereko"},
"ndh": {Part3: "ndh", Scope: 'I', LanguageType: 'L', Name: "Ndali"},
"ndi": {Part3: "ndi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ndj": {Part3: "ndj", Scope: 'I', LanguageType: 'L', Name: "Ndamba"},
"ndk": {Part3: "ndk", Scope: 'I', LanguageType: 'L', Name: "Ndaka"},
"ndl": {Part3: "ndl", Scope: 'I', LanguageType: 'L', Name: "Ndolo"},
"ndm": {Part3: "ndm", Scope: 'I', LanguageType: 'L', Name: "Ndam"},
"ndn": {Part3: "ndn", Scope: 'I', LanguageType: 'L', Name: "Ngundi"},
"ndo": {Part3: "ndo", Part2B: "ndo", Part2T: "ndo", Part1: "ng", Scope: 'I', LanguageType: 'L', Name: "Ndonga"},
"ndp": {Part3: "ndp", Scope: 'I', LanguageType: 'L', Name: "Ndo"},
"ndq": {Part3: "ndq", Scope: 'I', LanguageType: 'L', Name: "Ndombe"},
"ndr": {Part3: "ndr", Scope: 'I', LanguageType: 'L', Name: "Ndoola"},
"nds": {Part3: "nds", Part2B: "nds", Part2T: "nds", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ndt": {Part3: "ndt", Scope: 'I', LanguageType: 'L', Name: "Ndunga"},
"ndu": {Part3: "ndu", Scope: 'I', LanguageType: 'L', Name: "Dugun"},
"ndv": {Part3: "ndv", Scope: 'I', LanguageType: 'L', Name: "Ndut"},
"ndw": {Part3: "ndw", Scope: 'I', LanguageType: 'L', Name: "Ndobo"},
"ndx": {Part3: "ndx", Scope: 'I', LanguageType: 'L', Name: "Nduga"},
"ndy": {Part3: "ndy", Scope: 'I', LanguageType: 'L', Name: "Lutos"},
"ndz": {Part3: "ndz", Scope: 'I', LanguageType: 'L', Name: "Ndogo"},
"nea": {Part3: "nea", Scope: 'I', LanguageType: 'L', Name: "Eastern Ngad'a"},
"neb": {Part3: "neb", Scope: 'I', LanguageType: 'L', Name: "Toura (Côte d'Ivoire)"},
"nec": {Part3: "nec", Scope: 'I', LanguageType: 'L', Name: "Nedebang"},
"ned": {Part3: "ned", Scope: 'I', LanguageType: 'L', Name: "Nde-Gbite"},
"nee": {Part3: "nee", Scope: 'I', LanguageType: 'L', Name: "Nêlêmwa-Nixumwak"},
"nef": {Part3: "nef", Scope: 'I', LanguageType: 'L', Name: "Nefamese"},
"neg": {Part3: "neg", Scope: 'I', LanguageType: 'L', Name: "Negidal"},
"neh": {Part3: "neh", Scope: 'I', LanguageType: 'L', Name: "Nyenkha"},
"nei": {Part3: "nei", Scope: 'I', LanguageType: 'A', Name: "Neo-Hittite"},
"nej": {Part3: "nej", Scope: 'I', LanguageType: 'L', Name: "Neko"},
"nek": {Part3: "nek", Scope: 'I', LanguageType: 'L', Name: "Neku"},
"nem": {Part3: "nem", Scope: 'I', LanguageType: 'L', Name: "Nemi"},
"nen": {Part3: "nen", Scope: 'I', LanguageType: 'L', Name: "Nengone"},
"neo": {Part3: "neo", Scope: 'I', LanguageType: 'L', Name: "Ná-Meo"},
"nep": {Part3: "nep", Part2B: "nep", Part2T: "nep", Part1: "ne", Scope: 'M', LanguageType: 'L', Name: "Nepali (macrolanguage)"},
"neq": {Part3: "neq", Scope: 'I', LanguageType: 'L', Name: "North Central Mixe"},
"ner": {Part3: "ner", Scope: 'I', LanguageType: 'L', Name: "Yahadian"},
"nes": {Part3: "nes", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"net": {Part3: "net", Scope: 'I', LanguageType: 'L', Name: "Nete"},
"neu": {Part3: "neu", Scope: 'I', LanguageType: 'C', Name: "Neo"},
"nev": {Part3: "nev", Scope: 'I', LanguageType: 'L', Name: "Nyaheun"},
"new": {Part3: "new", Part2B: "new", Part2T: "new", Scope: 'I', LanguageType: 'L', Name: "Newari"},
"nex": {Part3: "nex", Scope: 'I', LanguageType: 'L', Name: "Neme"},
"ney": {Part3: "ney", Scope: 'I', LanguageType: 'L', Name: "Neyo"},
"nez": {Part3: "nez", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nfa": {Part3: "nfa", Scope: 'I', LanguageType: 'L', Name: "Dhao"},
"nfd": {Part3: "nfd", Scope: 'I', LanguageType: 'L', Name: "Ahwai"},
"nfl": {Part3: "nfl", Scope: 'I', LanguageType: 'L', Name: "Ayiwo"},
"nfr": {Part3: "nfr", Scope: 'I', LanguageType: 'L', Name: "Nafaanra"},
"nfu": {Part3: "nfu", Scope: 'I', LanguageType: 'L', Name: "Mfumte"},
"nga": {Part3: "nga", Scope: 'I', LanguageType: 'L', Name: "Ngbaka"},
"ngb": {Part3: "ngb", Scope: 'I', LanguageType: 'L', Name: "Northern Ngbandi"},
"ngc": {Part3: "ngc", Scope: 'I', LanguageType: 'L', Name: "Ngombe (Democratic Republic of Congo)"},
"ngd": {Part3: "ngd", Scope: 'I', LanguageType: 'L', Name: "Ngando (Central African Republic)"},
"nge": {Part3: "nge", Scope: 'I', LanguageType: 'L', Name: "Ngemba"},
"ngg": {Part3: "ngg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ngh": {Part3: "ngh", Scope: 'I', LanguageType: 'L', Name: "Nǁng"},
"ngi": {Part3: "ngi", Scope: 'I', LanguageType: 'L', Name: "Ngizim"},
"ngj": {Part3: "ngj", Scope: 'I', LanguageType: 'L', Name: "Ngie"},
"ngk": {Part3: "ngk", Scope: 'I', LanguageType: 'L', Name: "Dalabon"},
"ngl": {Part3: "ngl", Scope: 'I', LanguageType: 'L', Name: "Lomwe"},
"ngm": {Part3: "ngm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ngn": {Part3: "ngn", Scope: 'I', LanguageType: 'L', Name: "Ngwo"},
"ngp": {Part3: "ngp", Scope: 'I', LanguageType: 'L', Name: "Ngulu"},
"ngq": {Part3: "ngq", Scope: 'I', LanguageType: 'L', Name: "Ngurimi"},
"ngr": {Part3: "ngr", Scope: 'I', LanguageType: 'L', Name: "Engdewu"},
"ngs": {Part3: "ngs", Scope: 'I', LanguageType: 'L', Name: "Gvoko"},
"ngt": {Part3: "ngt", Scope: 'I', LanguageType: 'L', Name: "Kriang"},
"ngu": {Part3: "ngu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ngv": {Part3: "ngv", Scope: 'I', LanguageType: 'E', Name: "Nagumi"},
"ngw": {Part3: "ngw", Scope: 'I', LanguageType: 'L', Name: "Ngwaba"},
"ngx": {Part3: "ngx", Scope: 'I', LanguageType: 'L', Name: "Nggwahyi"},
"ngy": {Part3: "ngy", Scope: 'I', LanguageType: 'L', Name: "Tibea"},
"ngz": {Part3: "ngz", Scope: 'I', LanguageType: 'L', Name: "Ngungwel"},
"nha": {Part3: "nha", Scope: 'I', LanguageType: 'L', Name: "Nhanda"},
"nhb": {Part3: "nhb", Scope: 'I', LanguageType: 'L', Name: "Beng"},
"nhc": {Part3: "nhc", Scope: 'I', LanguageType: 'E', Name: "<NAME>atl"},
"nhd": {Part3: "nhd", Scope: 'I', LanguageType: 'L', Name: "Chiripá"},
"nhe": {Part3: "nhe", Scope: 'I', LanguageType: 'L', Name: "Eastern Huasteca Nahuatl"},
"nhf": {Part3: "nhf", Scope: 'I', LanguageType: 'L', Name: "Nhuwala"},
"nhg": {Part3: "nhg", Scope: 'I', LanguageType: 'L', Name: "Tetelcingo Nahuatl"},
"nhh": {Part3: "nhh", Scope: 'I', LanguageType: 'L', Name: "Nahari"},
"nhi": {Part3: "nhi", Scope: 'I', LanguageType: 'L', Name: "Zacatlán-Ahuacatlán-Tepetzintla Nahuatl"},
"nhk": {Part3: "nhk", Scope: 'I', LanguageType: 'L', Name: "Isthmus-Cosoleacaque Nahuatl"},
"nhm": {Part3: "nhm", Scope: 'I', LanguageType: 'L', Name: "Morelos Nahuatl"},
"nhn": {Part3: "nhn", Scope: 'I', LanguageType: 'L', Name: "Central Nahuatl"},
"nho": {Part3: "nho", Scope: 'I', LanguageType: 'L', Name: "Takuu"},
"nhp": {Part3: "nhp", Scope: 'I', LanguageType: 'L', Name: "Isthmus-Pajapan Nahuatl"},
"nhq": {Part3: "nhq", Scope: 'I', LanguageType: 'L', Name: "Huaxcaleca Nahuatl"},
"nhr": {Part3: "nhr", Scope: 'I', LanguageType: 'L', Name: "Naro"},
"nht": {Part3: "nht", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nhu": {Part3: "nhu", Scope: 'I', LanguageType: 'L', Name: "Noone"},
"nhv": {Part3: "nhv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nhw": {Part3: "nhw", Scope: 'I', LanguageType: 'L', Name: "Western Huasteca Nahuatl"},
"nhx": {Part3: "nhx", Scope: 'I', LanguageType: 'L', Name: "Isthmus-Mecayapan Nahuatl"},
"nhy": {Part3: "nhy", Scope: 'I', LanguageType: 'L', Name: "Northern Oaxaca Nahuatl"},
"nhz": {Part3: "nhz", Scope: 'I', LanguageType: 'L', Name: "<NAME> La Alta Nahuatl"},
"nia": {Part3: "nia", Part2B: "nia", Part2T: "nia", Scope: 'I', LanguageType: 'L', Name: "Nias"},
"nib": {Part3: "nib", Scope: 'I', LanguageType: 'L', Name: "Nakame"},
"nid": {Part3: "nid", Scope: 'I', LanguageType: 'E', Name: "Ngandi"},
"nie": {Part3: "nie", Scope: 'I', LanguageType: 'L', Name: "Niellim"},
"nif": {Part3: "nif", Scope: 'I', LanguageType: 'L', Name: "Nek"},
"nig": {Part3: "nig", Scope: 'I', LanguageType: 'E', Name: "Ngalakgan"},
"nih": {Part3: "nih", Scope: 'I', LanguageType: 'L', Name: "Nyiha (Tanzania)"},
"nii": {Part3: "nii", Scope: 'I', LanguageType: 'L', Name: "Nii"},
"nij": {Part3: "nij", Scope: 'I', LanguageType: 'L', Name: "Ngaju"},
"nik": {Part3: "nik", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nil": {Part3: "nil", Scope: 'I', LanguageType: 'L', Name: "Nila"},
"nim": {Part3: "nim", Scope: 'I', LanguageType: 'L', Name: "Nilamba"},
"nin": {Part3: "nin", Scope: 'I', LanguageType: 'L', Name: "Ninzo"},
"nio": {Part3: "nio", Scope: 'I', LanguageType: 'L', Name: "Nganasan"},
"niq": {Part3: "niq", Scope: 'I', LanguageType: 'L', Name: "Nandi"},
"nir": {Part3: "nir", Scope: 'I', LanguageType: 'L', Name: "Nimboran"},
"nis": {Part3: "nis", Scope: 'I', LanguageType: 'L', Name: "Nimi"},
"nit": {Part3: "nit", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"niu": {Part3: "niu", Part2B: "niu", Part2T: "niu", Scope: 'I', LanguageType: 'L', Name: "Niuean"},
"niv": {Part3: "niv", Scope: 'I', LanguageType: 'L', Name: "Gilyak"},
"niw": {Part3: "niw", Scope: 'I', LanguageType: 'L', Name: "Nimo"},
"nix": {Part3: "nix", Scope: 'I', LanguageType: 'L', Name: "Hema"},
"niy": {Part3: "niy", Scope: 'I', LanguageType: 'L', Name: "Ngiti"},
"niz": {Part3: "niz", Scope: 'I', LanguageType: 'L', Name: "Ningil"},
"nja": {Part3: "nja", Scope: 'I', LanguageType: 'L', Name: "Nzanyi"},
"njb": {Part3: "njb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"njd": {Part3: "njd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"njh": {Part3: "njh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nji": {Part3: "nji", Scope: 'I', LanguageType: 'L', Name: "Gudanji"},
"njj": {Part3: "njj", Scope: 'I', LanguageType: 'L', Name: "Njen"},
"njl": {Part3: "njl", Scope: 'I', LanguageType: 'L', Name: "Njalgulgule"},
"njm": {Part3: "njm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"njn": {Part3: "njn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"njo": {Part3: "njo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"njr": {Part3: "njr", Scope: 'I', LanguageType: 'L', Name: "Njerep"},
"njs": {Part3: "njs", Scope: 'I', LanguageType: 'L', Name: "Nisa"},
"njt": {Part3: "njt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nju": {Part3: "nju", Scope: 'I', LanguageType: 'L', Name: "Ngadjunmaya"},
"njx": {Part3: "njx", Scope: 'I', LanguageType: 'L', Name: "Kunyi"},
"njy": {Part3: "njy", Scope: 'I', LanguageType: 'L', Name: "Njyem"},
"njz": {Part3: "njz", Scope: 'I', LanguageType: 'L', Name: "Nyishi"},
"nka": {Part3: "nka", Scope: 'I', LanguageType: 'L', Name: "Nkoya"},
"nkb": {Part3: "nkb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nkc": {Part3: "nkc", Scope: 'I', LanguageType: 'L', Name: "Nkongho"},
"nkd": {Part3: "nkd", Scope: 'I', LanguageType: 'L', Name: "Koireng"},
"nke": {Part3: "nke", Scope: 'I', LanguageType: 'L', Name: "Duke"},
"nkf": {Part3: "nkf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nkg": {Part3: "nkg", Scope: 'I', LanguageType: 'L', Name: "Nekgini"},
"nkh": {Part3: "nkh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nki": {Part3: "nki", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nkj": {Part3: "nkj", Scope: 'I', LanguageType: 'L', Name: "Nakai"},
"nkk": {Part3: "nkk", Scope: 'I', LanguageType: 'L', Name: "Nokuku"},
"nkm": {Part3: "nkm", Scope: 'I', LanguageType: 'L', Name: "Namat"},
"nkn": {Part3: "nkn", Scope: 'I', LanguageType: 'L', Name: "Nkangala"},
"nko": {Part3: "nko", Scope: 'I', LanguageType: 'L', Name: "Nkonya"},
"nkp": {Part3: "nkp", Scope: 'I', LanguageType: 'E', Name: "Niuatoputapu"},
"nkq": {Part3: "nkq", Scope: 'I', LanguageType: 'L', Name: "Nkami"},
"nkr": {Part3: "nkr", Scope: 'I', LanguageType: 'L', Name: "Nukuoro"},
"nks": {Part3: "nks", Scope: 'I', LanguageType: 'L', Name: "North Asmat"},
"nkt": {Part3: "nkt", Scope: 'I', LanguageType: 'L', Name: "Nyika (Tanzania)"},
"nku": {Part3: "nku", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nkv": {Part3: "nkv", Scope: 'I', LanguageType: 'L', Name: "Nyika (Malawi and Zambia)"},
"nkw": {Part3: "nkw", Scope: 'I', LanguageType: 'L', Name: "Nkutu"},
"nkx": {Part3: "nkx", Scope: 'I', LanguageType: 'L', Name: "Nkoroo"},
"nkz": {Part3: "nkz", Scope: 'I', LanguageType: 'L', Name: "Nkari"},
"nla": {Part3: "nla", Scope: 'I', LanguageType: 'L', Name: "Ngombale"},
"nlc": {Part3: "nlc", Scope: 'I', LanguageType: 'L', Name: "Nalca"},
"nld": {Part3: "nld", Part2B: "dut", Part2T: "nld", Part1: "nl", Scope: 'I', LanguageType: 'L', Name: "Dutch"},
"nle": {Part3: "nle", Scope: 'I', LanguageType: 'L', Name: "East Nyala"},
"nlg": {Part3: "nlg", Scope: 'I', LanguageType: 'L', Name: "Gela"},
"nli": {Part3: "nli", Scope: 'I', LanguageType: 'L', Name: "Grangali"},
"nlj": {Part3: "nlj", Scope: 'I', LanguageType: 'L', Name: "Nyali"},
"nlk": {Part3: "nlk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nll": {Part3: "nll", Scope: 'I', LanguageType: 'L', Name: "Nihali"},
"nlm": {Part3: "nlm", Scope: 'I', LanguageType: 'L', Name: "Mankiyali"},
"nlo": {Part3: "nlo", Scope: 'I', LanguageType: 'L', Name: "Ngul"},
"nlq": {Part3: "nlq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nlu": {Part3: "nlu", Scope: 'I', LanguageType: 'L', Name: "Nchumbulu"},
"nlv": {Part3: "nlv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nlw": {Part3: "nlw", Scope: 'I', LanguageType: 'E', Name: "Walangama"},
"nlx": {Part3: "nlx", Scope: 'I', LanguageType: 'L', Name: "Nahali"},
"nly": {Part3: "nly", Scope: 'I', LanguageType: 'L', Name: "Nyamal"},
"nlz": {Part3: "nlz", Scope: 'I', LanguageType: 'L', Name: "Nalögo"},
"nma": {Part3: "nma", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nmb": {Part3: "nmb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nmc": {Part3: "nmc", Scope: 'I', LanguageType: 'L', Name: "Ngam"},
"nmd": {Part3: "nmd", Scope: 'I', LanguageType: 'L', Name: "Ndumu"},
"nme": {Part3: "nme", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nmf": {Part3: "nmf", Scope: 'I', LanguageType: 'L', Name: "<NAME> (India)"},
"nmg": {Part3: "nmg", Scope: 'I', LanguageType: 'L', Name: "Kwasio"},
"nmh": {Part3: "nmh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nmi": {Part3: "nmi", Scope: 'I', LanguageType: 'L', Name: "Nyam"},
"nmj": {Part3: "nmj", Scope: 'I', LanguageType: 'L', Name: "Ngombe (Central African Republic)"},
"nmk": {Part3: "nmk", Scope: 'I', LanguageType: 'L', Name: "Namakura"},
"nml": {Part3: "nml", Scope: 'I', LanguageType: 'L', Name: "Ndemli"},
"nmm": {Part3: "nmm", Scope: 'I', LanguageType: 'L', Name: "Manangba"},
"nmn": {Part3: "nmn", Scope: 'I', LanguageType: 'L', Name: "ǃXóõ"},
"nmo": {Part3: "nmo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nmp": {Part3: "nmp", Scope: 'I', LanguageType: 'E', Name: "Nimanbur"},
"nmq": {Part3: "nmq", Scope: 'I', LanguageType: 'L', Name: "Nambya"},
"nmr": {Part3: "nmr", Scope: 'I', LanguageType: 'E', Name: "Nimbari"},
"nms": {Part3: "nms", Scope: 'I', LanguageType: 'L', Name: "Letemboi"},
"nmt": {Part3: "nmt", Scope: 'I', LanguageType: 'L', Name: "Namonuito"},
"nmu": {Part3: "nmu", Scope: 'I', LanguageType: 'L', Name: "Northeast Maidu"},
"nmv": {Part3: "nmv", Scope: 'I', LanguageType: 'E', Name: "Ngamini"},
"nmw": {Part3: "nmw", Scope: 'I', LanguageType: 'L', Name: "Nimoa"},
"nmx": {Part3: "nmx", Scope: 'I', LanguageType: 'L', Name: "Nama (Papua New Guinea)"},
"nmy": {Part3: "nmy", Scope: 'I', LanguageType: 'L', Name: "Namuyi"},
"nmz": {Part3: "nmz", Scope: 'I', LanguageType: 'L', Name: "Nawdm"},
"nna": {Part3: "nna", Scope: 'I', LanguageType: 'L', Name: "Nyangumarta"},
"nnb": {Part3: "nnb", Scope: 'I', LanguageType: 'L', Name: "Nande"},
"nnc": {Part3: "nnc", Scope: 'I', LanguageType: 'L', Name: "Nancere"},
"nnd": {Part3: "nnd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nne": {Part3: "nne", Scope: 'I', LanguageType: 'L', Name: "Ngandyera"},
"nnf": {Part3: "nnf", Scope: 'I', LanguageType: 'L', Name: "Ngaing"},
"nng": {Part3: "nng", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nnh": {Part3: "nnh", Scope: 'I', LanguageType: 'L', Name: "Ngiemboon"},
"nni": {Part3: "nni", Scope: 'I', LanguageType: 'L', Name: "North Nuaulu"},
"nnj": {Part3: "nnj", Scope: 'I', LanguageType: 'L', Name: "Nyangatom"},
"nnk": {Part3: "nnk", Scope: 'I', LanguageType: 'L', Name: "Nankina"},
"nnl": {Part3: "nnl", Scope: 'I', LanguageType: 'L', Name: "Northern Rengma Naga"},
"nnm": {Part3: "nnm", Scope: 'I', LanguageType: 'L', Name: "Namia"},
"nnn": {Part3: "nnn", Scope: 'I', LanguageType: 'L', Name: "Ngete"},
"nno": {Part3: "nno", Part2B: "nno", Part2T: "nno", Part1: "nn", Scope: 'I', LanguageType: 'L', Name: "Norwegian Nynorsk"},
"nnp": {Part3: "nnp", Scope: 'I', LanguageType: 'L', Name: "Wancho Naga"},
"nnq": {Part3: "nnq", Scope: 'I', LanguageType: 'L', Name: "Ngindo"},
"nnr": {Part3: "nnr", Scope: 'I', LanguageType: 'E', Name: "Narungga"},
"nnt": {Part3: "nnt", Scope: 'I', LanguageType: 'E', Name: "Nanticoke"},
"nnu": {Part3: "nnu", Scope: 'I', LanguageType: 'L', Name: "Dwang"},
"nnv": {Part3: "nnv", Scope: 'I', LanguageType: 'E', Name: "Nugunu (Australia)"},
"nnw": {Part3: "nnw", Scope: 'I', LanguageType: 'L', Name: "Southern Nuni"},
"nny": {Part3: "nny", Scope: 'I', LanguageType: 'E', Name: "Nyangga"},
"nnz": {Part3: "nnz", Scope: 'I', LanguageType: 'L', Name: "Nda'nda'"},
"noa": {Part3: "noa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nob": {Part3: "nob", Part2B: "nob", Part2T: "nob", Part1: "nb", Scope: 'I', LanguageType: 'L', Name: "Norwegian Bokmål"},
"noc": {Part3: "noc", Scope: 'I', LanguageType: 'L', Name: "Nuk"},
"nod": {Part3: "nod", Scope: 'I', LanguageType: 'L', Name: "Northern Thai"},
"noe": {Part3: "noe", Scope: 'I', LanguageType: 'L', Name: "Nimadi"},
"nof": {Part3: "nof", Scope: 'I', LanguageType: 'L', Name: "Nomane"},
"nog": {Part3: "nog", Part2B: "nog", Part2T: "nog", Scope: 'I', LanguageType: 'L', Name: "Nogai"},
"noh": {Part3: "noh", Scope: 'I', LanguageType: 'L', Name: "Nomu"},
"noi": {Part3: "noi", Scope: 'I', LanguageType: 'L', Name: "Noiri"},
"noj": {Part3: "noj", Scope: 'I', LanguageType: 'L', Name: "Nonuya"},
"nok": {Part3: "nok", Scope: 'I', LanguageType: 'E', Name: "Nooksack"},
"nol": {Part3: "nol", Scope: 'I', LanguageType: 'E', Name: "Nomlaki"},
"nom": {Part3: "nom", Scope: 'I', LanguageType: 'E', Name: "Nocamán"},
"non": {Part3: "non", Part2B: "non", Part2T: "non", Scope: 'I', LanguageType: 'H', Name: "Old Norse"},
"nop": {Part3: "nop", Scope: 'I', LanguageType: 'L', Name: "Numanggang"},
"noq": {Part3: "noq", Scope: 'I', LanguageType: 'L', Name: "Ngongo"},
"nor": {Part3: "nor", Part2B: "nor", Part2T: "nor", Part1: "no", Scope: 'M', LanguageType: 'L', Name: "Norwegian"},
"nos": {Part3: "nos", Scope: 'I', LanguageType: 'L', Name: "Eastern Nisu"},
"not": {Part3: "not", Scope: 'I', LanguageType: 'L', Name: "Nomatsiguenga"},
"nou": {Part3: "nou", Scope: 'I', LanguageType: 'L', Name: "Ewage-Notu"},
"nov": {Part3: "nov", Scope: 'I', LanguageType: 'C', Name: "Novial"},
"now": {Part3: "now", Scope: 'I', LanguageType: 'L', Name: "Nyambo"},
"noy": {Part3: "noy", Scope: 'I', LanguageType: 'L', Name: "Noy"},
"noz": {Part3: "noz", Scope: 'I', LanguageType: 'L', Name: "Nayi"},
"npa": {Part3: "npa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"npb": {Part3: "npb", Scope: 'I', LanguageType: 'L', Name: "Nupbikha"},
"npg": {Part3: "npg", Scope: 'I', LanguageType: 'L', Name: "Ponyo-Gongwang Naga"},
"nph": {Part3: "nph", Scope: 'I', LanguageType: 'L', Name: "Ph<NAME>"},
"npi": {Part3: "npi", Scope: 'I', LanguageType: 'L', Name: "Nepali (individual language)"},
"npl": {Part3: "npl", Scope: 'I', LanguageType: 'L', Name: "Southeastern Puebla Nahuatl"},
"npn": {Part3: "npn", Scope: 'I', LanguageType: 'L', Name: "Mondropolon"},
"npo": {Part3: "npo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nps": {Part3: "nps", Scope: 'I', LanguageType: 'L', Name: "Nipsan"},
"npu": {Part3: "npu", Scope: 'I', LanguageType: 'L', Name: "Puimei Naga"},
"npx": {Part3: "npx", Scope: 'I', LanguageType: 'L', Name: "Noipx"},
"npy": {Part3: "npy", Scope: 'I', LanguageType: 'L', Name: "Napu"},
"nqg": {Part3: "nqg", Scope: 'I', LanguageType: 'L', Name: "Southern Nago"},
"nqk": {Part3: "nqk", Scope: 'I', LanguageType: 'L', Name: "K<NAME>"},
"nql": {Part3: "nql", Scope: 'I', LanguageType: 'L', Name: "Ngendelengo"},
"nqm": {Part3: "nqm", Scope: 'I', LanguageType: 'L', Name: "Ndom"},
"nqn": {Part3: "nqn", Scope: 'I', LanguageType: 'L', Name: "Nen"},
"nqo": {Part3: "nqo", Part2B: "nqo", Part2T: "nqo", Scope: 'I', LanguageType: 'L', Name: "N'Ko"},
"nqq": {Part3: "nqq", Scope: 'I', LanguageType: 'L', Name: "Kyan-K<NAME>"},
"nqt": {Part3: "nqt", Scope: 'I', LanguageType: 'L', Name: "Nteng"},
"nqy": {Part3: "nqy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nra": {Part3: "nra", Scope: 'I', LanguageType: 'L', Name: "Ngom"},
"nrb": {Part3: "nrb", Scope: 'I', LanguageType: 'L', Name: "Nara"},
"nrc": {Part3: "nrc", Scope: 'I', LanguageType: 'A', Name: "Noric"},
"nre": {Part3: "nre", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nrf": {Part3: "nrf", Scope: 'I', LanguageType: 'L', Name: "Jèrriais"},
"nrg": {Part3: "nrg", Scope: 'I', LanguageType: 'L', Name: "Narango"},
"nri": {Part3: "nri", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nrk": {Part3: "nrk", Scope: 'I', LanguageType: 'L', Name: "Ngarla"},
"nrl": {Part3: "nrl", Scope: 'I', LanguageType: 'L', Name: "Ngarluma"},
"nrm": {Part3: "nrm", Scope: 'I', LanguageType: 'L', Name: "Narom"},
"nrn": {Part3: "nrn", Scope: 'I', LanguageType: 'E', Name: "Norn"},
"nrp": {Part3: "nrp", Scope: 'I', LanguageType: 'A', Name: "<NAME>"},
"nrr": {Part3: "nrr", Scope: 'I', LanguageType: 'E', Name: "Norra"},
"nrt": {Part3: "nrt", Scope: 'I', LanguageType: 'E', Name: "Northern Kalapuya"},
"nru": {Part3: "nru", Scope: 'I', LanguageType: 'L', Name: "Narua"},
"nrx": {Part3: "nrx", Scope: 'I', LanguageType: 'E', Name: "Ngurmbur"},
"nrz": {Part3: "nrz", Scope: 'I', LanguageType: 'L', Name: "Lala"},
"nsa": {Part3: "nsa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nsb": {Part3: "nsb", Scope: 'I', LanguageType: 'E', Name: "Lower Nossob"},
"nsc": {Part3: "nsc", Scope: 'I', LanguageType: 'L', Name: "Nshi"},
"nsd": {Part3: "nsd", Scope: 'I', LanguageType: 'L', Name: "Southern Nisu"},
"nse": {Part3: "nse", Scope: 'I', LanguageType: 'L', Name: "Nsenga"},
"nsf": {Part3: "nsf", Scope: 'I', LanguageType: 'L', Name: "Northwestern Nisu"},
"nsg": {Part3: "nsg", Scope: 'I', LanguageType: 'L', Name: "Ngasa"},
"nsh": {Part3: "nsh", Scope: 'I', LanguageType: 'L', Name: "Ngoshie"},
"nsi": {Part3: "nsi", Scope: 'I', LanguageType: 'L', Name: "Nigerian Sign Language"},
"nsk": {Part3: "nsk", Scope: 'I', LanguageType: 'L', Name: "Naskapi"},
"nsl": {Part3: "nsl", Scope: 'I', LanguageType: 'L', Name: "Norwegian Sign Language"},
"nsm": {Part3: "nsm", Scope: 'I', LanguageType: 'L', Name: "Sumi Naga"},
"nsn": {Part3: "nsn", Scope: 'I', LanguageType: 'L', Name: "Nehan"},
"nso": {Part3: "nso", Part2B: "nso", Part2T: "nso", Scope: 'I', LanguageType: 'L', Name: "Pedi"},
"nsp": {Part3: "nsp", Scope: 'I', LanguageType: 'L', Name: "Nepalese Sign Language"},
"nsq": {Part3: "nsq", Scope: 'I', LanguageType: 'L', Name: "Northern Sierra Miwok"},
"nsr": {Part3: "nsr", Scope: 'I', LanguageType: 'L', Name: "Maritime Sign Language"},
"nss": {Part3: "nss", Scope: 'I', LanguageType: 'L', Name: "Nali"},
"nst": {Part3: "nst", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nsu": {Part3: "nsu", Scope: 'I', LanguageType: 'L', Name: "Sierra Negra Nahuatl"},
"nsv": {Part3: "nsv", Scope: 'I', LanguageType: 'L', Name: "Southwestern Nisu"},
"nsw": {Part3: "nsw", Scope: 'I', LanguageType: 'L', Name: "Navut"},
"nsx": {Part3: "nsx", Scope: 'I', LanguageType: 'L', Name: "Nsongo"},
"nsy": {Part3: "nsy", Scope: 'I', LanguageType: 'L', Name: "Nasal"},
"nsz": {Part3: "nsz", Scope: 'I', LanguageType: 'L', Name: "Nisenan"},
"ntd": {Part3: "ntd", Scope: 'I', LanguageType: 'L', Name: "Northern Tidung"},
"nte": {Part3: "nte", Scope: 'I', LanguageType: 'L', Name: "Nathembo"},
"ntg": {Part3: "ntg", Scope: 'I', LanguageType: 'E', Name: "Ngantangarra"},
"nti": {Part3: "nti", Scope: 'I', LanguageType: 'L', Name: "Natioro"},
"ntj": {Part3: "ntj", Scope: 'I', LanguageType: 'L', Name: "Ngaanyatjarra"},
"ntk": {Part3: "ntk", Scope: 'I', LanguageType: 'L', Name: "Ikoma-Nata-Isenye"},
"ntm": {Part3: "ntm", Scope: 'I', LanguageType: 'L', Name: "Nateni"},
"nto": {Part3: "nto", Scope: 'I', LanguageType: 'L', Name: "Ntomba"},
"ntp": {Part3: "ntp", Scope: 'I', LanguageType: 'L', Name: "Northern Tepehuan"},
"ntr": {Part3: "ntr", Scope: 'I', LanguageType: 'L', Name: "Delo"},
"ntu": {Part3: "ntu", Scope: 'I', LanguageType: 'L', Name: "Natügu"},
"ntw": {Part3: "ntw", Scope: 'I', LanguageType: 'E', Name: "Nottoway"},
"ntx": {Part3: "ntx", Scope: 'I', LanguageType: 'L', Name: "<NAME> (Myanmar)"},
"nty": {Part3: "nty", Scope: 'I', LanguageType: 'L', Name: "Mantsi"},
"ntz": {Part3: "ntz", Scope: 'I', LanguageType: 'L', Name: "Natanzi"},
"nua": {Part3: "nua", Scope: 'I', LanguageType: 'L', Name: "Yuanga"},
"nuc": {Part3: "nuc", Scope: 'I', LanguageType: 'E', Name: "Nukuini"},
"nud": {Part3: "nud", Scope: 'I', LanguageType: 'L', Name: "Ngala"},
"nue": {Part3: "nue", Scope: 'I', LanguageType: 'L', Name: "Ngundu"},
"nuf": {Part3: "nuf", Scope: 'I', LanguageType: 'L', Name: "Nusu"},
"nug": {Part3: "nug", Scope: 'I', LanguageType: 'E', Name: "Nungali"},
"nuh": {Part3: "nuh", Scope: 'I', LanguageType: 'L', Name: "Ndunda"},
"nui": {Part3: "nui", Scope: 'I', LanguageType: 'L', Name: "Ngumbi"},
"nuj": {Part3: "nuj", Scope: 'I', LanguageType: 'L', Name: "Nyole"},
"nuk": {Part3: "nuk", Scope: 'I', LanguageType: 'L', Name: "Nuu-chah-nulth"},
"nul": {Part3: "nul", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"num": {Part3: "num", Scope: 'I', LanguageType: 'L', Name: "Niuafo'ou"},
"nun": {Part3: "nun", Scope: 'I', LanguageType: 'L', Name: "Anong"},
"nuo": {Part3: "nuo", Scope: 'I', LanguageType: 'L', Name: "Nguôn"},
"nup": {Part3: "nup", Scope: 'I', LanguageType: 'L', Name: "Nupe-Nupe-Tako"},
"nuq": {Part3: "nuq", Scope: 'I', LanguageType: 'L', Name: "Nukumanu"},
"nur": {Part3: "nur", Scope: 'I', LanguageType: 'L', Name: "Nukuria"},
"nus": {Part3: "nus", Scope: 'I', LanguageType: 'L', Name: "Nuer"},
"nut": {Part3: "nut", Scope: 'I', LanguageType: 'L', Name: "Nung (Viet Nam)"},
"nuu": {Part3: "nuu", Scope: 'I', LanguageType: 'L', Name: "Ngbundu"},
"nuv": {Part3: "nuv", Scope: 'I', LanguageType: 'L', Name: "Northern Nuni"},
"nuw": {Part3: "nuw", Scope: 'I', LanguageType: 'L', Name: "Nguluwan"},
"nux": {Part3: "nux", Scope: 'I', LanguageType: 'L', Name: "Mehek"},
"nuy": {Part3: "nuy", Scope: 'I', LanguageType: 'L', Name: "Nunggubuyu"},
"nuz": {Part3: "nuz", Scope: 'I', LanguageType: 'L', Name: "Tlamacazapa Nahuatl"},
"nvh": {Part3: "nvh", Scope: 'I', LanguageType: 'L', Name: "Nasarian"},
"nvm": {Part3: "nvm", Scope: 'I', LanguageType: 'L', Name: "Namiae"},
"nvo": {Part3: "nvo", Scope: 'I', LanguageType: 'L', Name: "Nyokon"},
"nwa": {Part3: "nwa", Scope: 'I', LanguageType: 'E', Name: "Nawathinehena"},
"nwb": {Part3: "nwb", Scope: 'I', LanguageType: 'L', Name: "Nyabwa"},
"nwc": {Part3: "nwc", Part2B: "nwc", Part2T: "nwc", Scope: 'I', LanguageType: 'H', Name: "Classical Newari"},
"nwe": {Part3: "nwe", Scope: 'I', LanguageType: 'L', Name: "Ngwe"},
"nwg": {Part3: "nwg", Scope: 'I', LanguageType: 'E', Name: "Ngayawung"},
"nwi": {Part3: "nwi", Scope: 'I', LanguageType: 'L', Name: "Southwest Tanna"},
"nwm": {Part3: "nwm", Scope: 'I', LanguageType: 'L', Name: "Nyamusa-Molo"},
"nwo": {Part3: "nwo", Scope: 'I', LanguageType: 'E', Name: "Nauo"},
"nwr": {Part3: "nwr", Scope: 'I', LanguageType: 'L', Name: "Nawaru"},
"nwx": {Part3: "nwx", Scope: 'I', LanguageType: 'H', Name: "<NAME>"},
"nwy": {Part3: "nwy", Scope: 'I', LanguageType: 'E', Name: "Nottoway-Meherrin"},
"nxa": {Part3: "nxa", Scope: 'I', LanguageType: 'L', Name: "Nauete"},
"nxd": {Part3: "nxd", Scope: 'I', LanguageType: 'L', Name: "Ngando (Democratic Republic of Congo)"},
"nxe": {Part3: "nxe", Scope: 'I', LanguageType: 'L', Name: "Nage"},
"nxg": {Part3: "nxg", Scope: 'I', LanguageType: 'L', Name: "Ngad'a"},
"nxi": {Part3: "nxi", Scope: 'I', LanguageType: 'L', Name: "Nindi"},
"nxk": {Part3: "nxk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nxl": {Part3: "nxl", Scope: 'I', LanguageType: 'L', Name: "South Nuaulu"},
"nxm": {Part3: "nxm", Scope: 'I', LanguageType: 'A', Name: "Numidian"},
"nxn": {Part3: "nxn", Scope: 'I', LanguageType: 'E', Name: "Ngawun"},
"nxo": {Part3: "nxo", Scope: 'I', LanguageType: 'L', Name: "Ndambomo"},
"nxq": {Part3: "nxq", Scope: 'I', LanguageType: 'L', Name: "Naxi"},
"nxr": {Part3: "nxr", Scope: 'I', LanguageType: 'L', Name: "Ninggerum"},
"nxx": {Part3: "nxx", Scope: 'I', LanguageType: 'L', Name: "Nafri"},
"nya": {Part3: "nya", Part2B: "nya", Part2T: "nya", Part1: "ny", Scope: 'I', LanguageType: 'L', Name: "Nyanja"},
"nyb": {Part3: "nyb", Scope: 'I', LanguageType: 'L', Name: "Nyangbo"},
"nyc": {Part3: "nyc", Scope: 'I', LanguageType: 'L', Name: "Nyanga-li"},
"nyd": {Part3: "nyd", Scope: 'I', LanguageType: 'L', Name: "Nyore"},
"nye": {Part3: "nye", Scope: 'I', LanguageType: 'L', Name: "Nyengo"},
"nyf": {Part3: "nyf", Scope: 'I', LanguageType: 'L', Name: "Giryama"},
"nyg": {Part3: "nyg", Scope: 'I', LanguageType: 'L', Name: "Nyindu"},
"nyh": {Part3: "nyh", Scope: 'I', LanguageType: 'L', Name: "Nyikina"},
"nyi": {Part3: "nyi", Scope: 'I', LanguageType: 'L', Name: "Ama (Sudan)"},
"nyj": {Part3: "nyj", Scope: 'I', LanguageType: 'L', Name: "Nyanga"},
"nyk": {Part3: "nyk", Scope: 'I', LanguageType: 'L', Name: "Nyaneka"},
"nyl": {Part3: "nyl", Scope: 'I', LanguageType: 'L', Name: "Nyeu"},
"nym": {Part3: "nym", Part2B: "nym", Part2T: "nym", Scope: 'I', LanguageType: 'L', Name: "Nyamwezi"},
"nyn": {Part3: "nyn", Part2B: "nyn", Part2T: "nyn", Scope: 'I', LanguageType: 'L', Name: "Nyankole"},
"nyo": {Part3: "nyo", Part2B: "nyo", Part2T: "nyo", Scope: 'I', LanguageType: 'L', Name: "Nyoro"},
"nyp": {Part3: "nyp", Scope: 'I', LanguageType: 'E', Name: "Nyang'i"},
"nyq": {Part3: "nyq", Scope: 'I', LanguageType: 'L', Name: "Nayini"},
"nyr": {Part3: "nyr", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"nys": {Part3: "nys", Scope: 'I', LanguageType: 'L', Name: "Nyungar"},
"nyt": {Part3: "nyt", Scope: 'I', LanguageType: 'E', Name: "Nyawaygi"},
"nyu": {Part3: "nyu", Scope: 'I', LanguageType: 'L', Name: "Nyungwe"},
"nyv": {Part3: "nyv", Scope: 'I', LanguageType: 'E', Name: "Nyulnyul"},
"nyw": {Part3: "nyw", Scope: 'I', LanguageType: 'L', Name: "Nyaw"},
"nyx": {Part3: "nyx", Scope: 'I', LanguageType: 'E', Name: "Nganyaywana"},
"nyy": {Part3: "nyy", Scope: 'I', LanguageType: 'L', Name: "Nyakyusa-Ngonde"},
"nza": {Part3: "nza", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nzb": {Part3: "nzb", Scope: 'I', LanguageType: 'L', Name: "Njebi"},
"nzd": {Part3: "nzd", Scope: 'I', LanguageType: 'L', Name: "Nzadi"},
"nzi": {Part3: "nzi", Part2B: "nzi", Part2T: "nzi", Scope: 'I', LanguageType: 'L', Name: "Nzima"},
"nzk": {Part3: "nzk", Scope: 'I', LanguageType: 'L', Name: "Nzakara"},
"nzm": {Part3: "nzm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"nzs": {Part3: "nzs", Scope: 'I', LanguageType: 'L', Name: "New Zealand Sign Language"},
"nzu": {Part3: "nzu", Scope: 'I', LanguageType: 'L', Name: "Teke-Nzikou"},
"nzy": {Part3: "nzy", Scope: 'I', LanguageType: 'L', Name: "Nzakambay"},
"nzz": {Part3: "nzz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"oaa": {Part3: "oaa", Scope: 'I', LanguageType: 'L', Name: "Orok"},
"oac": {Part3: "oac", Scope: 'I', LanguageType: 'L', Name: "Oroch"},
"oar": {Part3: "oar", Scope: 'I', LanguageType: 'A', Name: "Old Aramaic (up to 700 BCE)"},
"oav": {Part3: "oav", Scope: 'I', LanguageType: 'H', Name: "Old Avar"},
"obi": {Part3: "obi", Scope: 'I', LanguageType: 'E', Name: "Obispeño"},
"obk": {Part3: "obk", Scope: 'I', LanguageType: 'L', Name: "Southern Bontok"},
"obl": {Part3: "obl", Scope: 'I', LanguageType: 'L', Name: "Oblo"},
"obm": {Part3: "obm", Scope: 'I', LanguageType: 'A', Name: "Moabite"},
"obo": {Part3: "obo", Scope: 'I', LanguageType: 'L', Name: "O<NAME>"},
"obr": {Part3: "obr", Scope: 'I', LanguageType: 'H', Name: "Old Burmese"},
"obt": {Part3: "obt", Scope: 'I', LanguageType: 'H', Name: "Old Breton"},
"obu": {Part3: "obu", Scope: 'I', LanguageType: 'L', Name: "Obulom"},
"oca": {Part3: "oca", Scope: 'I', LanguageType: 'L', Name: "Ocaina"},
"och": {Part3: "och", Scope: 'I', LanguageType: 'A', Name: "Old Chinese"},
"oci": {Part3: "oci", Part2B: "oci", Part2T: "oci", Part1: "oc", Scope: 'I', LanguageType: 'L', Name: "Occitan (post 1500)"},
"ocm": {Part3: "ocm", Scope: 'I', LanguageType: 'H', Name: "Old Cham"},
"oco": {Part3: "oco", Scope: 'I', LanguageType: 'H', Name: "Old Cornish"},
"ocu": {Part3: "ocu", Scope: 'I', LanguageType: 'L', Name: "At<NAME>"},
"oda": {Part3: "oda", Scope: 'I', LanguageType: 'L', Name: "Odut"},
"odk": {Part3: "odk", Scope: 'I', LanguageType: 'L', Name: "Od"},
"odt": {Part3: "odt", Scope: 'I', LanguageType: 'H', Name: "Old Dutch"},
"odu": {Part3: "odu", Scope: 'I', LanguageType: 'L', Name: "Odual"},
"ofo": {Part3: "ofo", Scope: 'I', LanguageType: 'E', Name: "Ofo"},
"ofs": {Part3: "ofs", Scope: 'I', LanguageType: 'H', Name: "Old Frisian"},
"ofu": {Part3: "ofu", Scope: 'I', LanguageType: 'L', Name: "Efutop"},
"ogb": {Part3: "ogb", Scope: 'I', LanguageType: 'L', Name: "Ogbia"},
"ogc": {Part3: "ogc", Scope: 'I', LanguageType: 'L', Name: "Ogbah"},
"oge": {Part3: "oge", Scope: 'I', LanguageType: 'H', Name: "Old Georgian"},
"ogg": {Part3: "ogg", Scope: 'I', LanguageType: 'L', Name: "Ogbogolo"},
"ogo": {Part3: "ogo", Scope: 'I', LanguageType: 'L', Name: "Khana"},
"ogu": {Part3: "ogu", Scope: 'I', LanguageType: 'L', Name: "Ogbronuagum"},
"oht": {Part3: "oht", Scope: 'I', LanguageType: 'A', Name: "Old Hittite"},
"ohu": {Part3: "ohu", Scope: 'I', LanguageType: 'H', Name: "Old Hungarian"},
"oia": {Part3: "oia", Scope: 'I', LanguageType: 'L', Name: "Oirata"},
"oin": {Part3: "oin", Scope: 'I', LanguageType: 'L', Name: "Inebu One"},
"ojb": {Part3: "ojb", Scope: 'I', LanguageType: 'L', Name: "Northwestern Ojibwa"},
"ojc": {Part3: "ojc", Scope: 'I', LanguageType: 'L', Name: "Central Ojibwa"},
"ojg": {Part3: "ojg", Scope: 'I', LanguageType: 'L', Name: "Eastern Ojibwa"},
"oji": {Part3: "oji", Part2B: "oji", Part2T: "oji", Part1: "oj", Scope: 'M', LanguageType: 'L', Name: "Ojibwa"},
"ojp": {Part3: "ojp", Scope: 'I', LanguageType: 'H', Name: "Old Japanese"},
"ojs": {Part3: "ojs", Scope: 'I', LanguageType: 'L', Name: "Se<NAME>"},
"ojv": {Part3: "ojv", Scope: 'I', LanguageType: 'L', Name: "Ontong Java"},
"ojw": {Part3: "ojw", Scope: 'I', LanguageType: 'L', Name: "Western Ojibwa"},
"oka": {Part3: "oka", Scope: 'I', LanguageType: 'L', Name: "Okanagan"},
"okb": {Part3: "okb", Scope: 'I', LanguageType: 'L', Name: "Okobo"},
"okc": {Part3: "okc", Scope: 'I', LanguageType: 'L', Name: "Kobo"},
"okd": {Part3: "okd", Scope: 'I', LanguageType: 'L', Name: "Okodia"},
"oke": {Part3: "oke", Scope: 'I', LanguageType: 'L', Name: "Okpe (Southwestern Edo)"},
"okg": {Part3: "okg", Scope: 'I', LanguageType: 'E', Name: "Koko Babangk"},
"okh": {Part3: "okh", Scope: 'I', LanguageType: 'L', Name: "Ko<NAME>"},
"oki": {Part3: "oki", Scope: 'I', LanguageType: 'L', Name: "Okiek"},
"okj": {Part3: "okj", Scope: 'I', LanguageType: 'E', Name: "Oko-Juwoi"},
"okk": {Part3: "okk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"okl": {Part3: "okl", Scope: 'I', LanguageType: 'E', Name: "Old Kentish Sign Language"},
"okm": {Part3: "okm", Scope: 'I', LanguageType: 'H', Name: "Middle Korean (10th-16th cent.)"},
"okn": {Part3: "okn", Scope: 'I', LanguageType: 'L', Name: "Oki-No-Erabu"},
"oko": {Part3: "oko", Scope: 'I', LanguageType: 'H', Name: "Old Korean (3rd-9th cent.)"},
"okr": {Part3: "okr", Scope: 'I', LanguageType: 'L', Name: "Kirike"},
"oks": {Part3: "oks", Scope: 'I', LanguageType: 'L', Name: "Oko-Eni-Osayen"},
"oku": {Part3: "oku", Scope: 'I', LanguageType: 'L', Name: "Oku"},
"okv": {Part3: "okv", Scope: 'I', LanguageType: 'L', Name: "Orokaiva"},
"okx": {Part3: "okx", Scope: 'I', LanguageType: 'L', Name: "Okpe (Northwestern Edo)"},
"okz": {Part3: "okz", Scope: 'I', LanguageType: 'H', Name: "Old Khmer"},
"ola": {Part3: "ola", Scope: 'I', LanguageType: 'L', Name: "Walungge"},
"old": {Part3: "old", Scope: 'I', LanguageType: 'L', Name: "Mochi"},
"ole": {Part3: "ole", Scope: 'I', LanguageType: 'L', Name: "Olekha"},
"olk": {Part3: "olk", Scope: 'I', LanguageType: 'E', Name: "Olkol"},
"olm": {Part3: "olm", Scope: 'I', LanguageType: 'L', Name: "Oloma"},
"olo": {Part3: "olo", Scope: 'I', LanguageType: 'L', Name: "Livvi"},
"olr": {Part3: "olr", Scope: 'I', LanguageType: 'L', Name: "Olrat"},
"olt": {Part3: "olt", Scope: 'I', LanguageType: 'H', Name: "Old Lithuanian"},
"olu": {Part3: "olu", Scope: 'I', LanguageType: 'L', Name: "Kuvale"},
"oma": {Part3: "oma", Scope: 'I', LanguageType: 'L', Name: "Omaha-Ponca"},
"omb": {Part3: "omb", Scope: 'I', LanguageType: 'L', Name: "East Ambae"},
"omc": {Part3: "omc", Scope: 'I', LanguageType: 'E', Name: "Mochica"},
"omg": {Part3: "omg", Scope: 'I', LanguageType: 'L', Name: "Omagua"},
"omi": {Part3: "omi", Scope: 'I', LanguageType: 'L', Name: "Omi"},
"omk": {Part3: "omk", Scope: 'I', LanguageType: 'E', Name: "Omok"},
"oml": {Part3: "oml", Scope: 'I', LanguageType: 'L', Name: "Ombo"},
"omn": {Part3: "omn", Scope: 'I', LanguageType: 'A', Name: "Minoan"},
"omo": {Part3: "omo", Scope: 'I', LanguageType: 'L', Name: "Utarmbung"},
"omp": {Part3: "omp", Scope: 'I', LanguageType: 'H', Name: "Old Manipuri"},
"omr": {Part3: "omr", Scope: 'I', LanguageType: 'H', Name: "Old Marathi"},
"omt": {Part3: "omt", Scope: 'I', LanguageType: 'L', Name: "Omotik"},
"omu": {Part3: "omu", Scope: 'I', LanguageType: 'E', Name: "Omurano"},
"omw": {Part3: "omw", Scope: 'I', LanguageType: 'L', Name: "South Tairora"},
"omx": {Part3: "omx", Scope: 'I', LanguageType: 'H', Name: "Old Mon"},
"omy": {Part3: "omy", Scope: 'I', LanguageType: 'H', Name: "Old Malay"},
"ona": {Part3: "ona", Scope: 'I', LanguageType: 'L', Name: "Ona"},
"onb": {Part3: "onb", Scope: 'I', LanguageType: 'L', Name: "Lingao"},
"one": {Part3: "one", Scope: 'I', LanguageType: 'L', Name: "Oneida"},
"ong": {Part3: "ong", Scope: 'I', LanguageType: 'L', Name: "Olo"},
"oni": {Part3: "oni", Scope: 'I', LanguageType: 'L', Name: "Onin"},
"onj": {Part3: "onj", Scope: 'I', LanguageType: 'L', Name: "Onjob"},
"onk": {Part3: "onk", Scope: 'I', LanguageType: 'L', Name: "Kabore One"},
"onn": {Part3: "onn", Scope: 'I', LanguageType: 'L', Name: "Onobasulu"},
"ono": {Part3: "ono", Scope: 'I', LanguageType: 'L', Name: "Onondaga"},
"onp": {Part3: "onp", Scope: 'I', LanguageType: 'L', Name: "Sartang"},
"onr": {Part3: "onr", Scope: 'I', LanguageType: 'L', Name: "Northern One"},
"ons": {Part3: "ons", Scope: 'I', LanguageType: 'L', Name: "Ono"},
"ont": {Part3: "ont", Scope: 'I', LanguageType: 'L', Name: "Ontenu"},
"onu": {Part3: "onu", Scope: 'I', LanguageType: 'L', Name: "Unua"},
"onw": {Part3: "onw", Scope: 'I', LanguageType: 'H', Name: "Old Nubian"},
"onx": {Part3: "onx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ood": {Part3: "ood", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"oog": {Part3: "oog", Scope: 'I', LanguageType: 'L', Name: "Ong"},
"oon": {Part3: "oon", Scope: 'I', LanguageType: 'L', Name: "Önge"},
"oor": {Part3: "oor", Scope: 'I', LanguageType: 'L', Name: "Oorlams"},
"oos": {Part3: "oos", Scope: 'I', LanguageType: 'A', Name: "Old Ossetic"},
"opa": {Part3: "opa", Scope: 'I', LanguageType: 'L', Name: "Okpamheri"},
"opk": {Part3: "opk", Scope: 'I', LanguageType: 'L', Name: "Kopkaka"},
"opm": {Part3: "opm", Scope: 'I', LanguageType: 'L', Name: "Oksapmin"},
"opo": {Part3: "opo", Scope: 'I', LanguageType: 'L', Name: "Opao"},
"opt": {Part3: "opt", Scope: 'I', LanguageType: 'E', Name: "Opata"},
"opy": {Part3: "opy", Scope: 'I', LanguageType: 'L', Name: "Ofayé"},
"ora": {Part3: "ora", Scope: 'I', LanguageType: 'L', Name: "Oroha"},
"orc": {Part3: "orc", Scope: 'I', LanguageType: 'L', Name: "Orma"},
"ore": {Part3: "ore", Scope: 'I', LanguageType: 'L', Name: "Orejón"},
"org": {Part3: "org", Scope: 'I', LanguageType: 'L', Name: "Oring"},
"orh": {Part3: "orh", Scope: 'I', LanguageType: 'L', Name: "Oroqen"},
"ori": {Part3: "ori", Part2B: "ori", Part2T: "ori", Part1: "or", Scope: 'M', LanguageType: 'L', Name: "Oriya (macrolanguage)"},
"orm": {Part3: "orm", Part2B: "orm", Part2T: "orm", Part1: "om", Scope: 'M', LanguageType: 'L', Name: "Oromo"},
"orn": {Part3: "orn", Scope: 'I', LanguageType: 'L', Name: "Orang Kanaq"},
"oro": {Part3: "oro", Scope: 'I', LanguageType: 'L', Name: "Orokolo"},
"orr": {Part3: "orr", Scope: 'I', LanguageType: 'L', Name: "Oruma"},
"ors": {Part3: "ors", Scope: 'I', LanguageType: 'L', Name: "Orang Seletar"},
"ort": {Part3: "ort", Scope: 'I', LanguageType: 'L', Name: "Adivasi Oriya"},
"oru": {Part3: "oru", Scope: 'I', LanguageType: 'L', Name: "Ormuri"},
"orv": {Part3: "orv", Scope: 'I', LanguageType: 'H', Name: "Old Russian"},
"orw": {Part3: "orw", Scope: 'I', LanguageType: 'L', Name: "Oro Win"},
"orx": {Part3: "orx", Scope: 'I', LanguageType: 'L', Name: "Oro"},
"ory": {Part3: "ory", Scope: 'I', LanguageType: 'L', Name: "Odia"},
"orz": {Part3: "orz", Scope: 'I', LanguageType: 'L', Name: "Ormu"},
"osa": {Part3: "osa", Part2B: "osa", Part2T: "osa", Scope: 'I', LanguageType: 'L', Name: "Osage"},
"osc": {Part3: "osc", Scope: 'I', LanguageType: 'A', Name: "Oscan"},
"osi": {Part3: "osi", Scope: 'I', LanguageType: 'L', Name: "Osing"},
"osn": {Part3: "osn", Scope: 'I', LanguageType: 'H', Name: "Old Sundanese"},
"oso": {Part3: "oso", Scope: 'I', LanguageType: 'L', Name: "Ososo"},
"osp": {Part3: "osp", Scope: 'I', LanguageType: 'H', Name: "Old Spanish"},
"oss": {Part3: "oss", Part2B: "oss", Part2T: "oss", Part1: "os", Scope: 'I', LanguageType: 'L', Name: "Ossetian"},
"ost": {Part3: "ost", Scope: 'I', LanguageType: 'L', Name: "Osatu"},
"osu": {Part3: "osu", Scope: 'I', LanguageType: 'L', Name: "Southern One"},
"osx": {Part3: "osx", Scope: 'I', LanguageType: 'H', Name: "Old Saxon"},
"ota": {Part3: "ota", Part2B: "ota", Part2T: "ota", Scope: 'I', LanguageType: 'H', Name: "Ottoman Turkish (1500-1928)"},
"otb": {Part3: "otb", Scope: 'I', LanguageType: 'H', Name: "Old Tibetan"},
"otd": {Part3: "otd", Scope: 'I', LanguageType: 'L', Name: "Ot Danum"},
"ote": {Part3: "ote", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"oti": {Part3: "oti", Scope: 'I', LanguageType: 'E', Name: "Oti"},
"otk": {Part3: "otk", Scope: 'I', LanguageType: 'H', Name: "Old Turkish"},
"otl": {Part3: "otl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"otm": {Part3: "otm", Scope: 'I', LanguageType: 'L', Name: "Eastern Highland Otomi"},
"otn": {Part3: "otn", Scope: 'I', LanguageType: 'L', Name: "Ten<NAME>i"},
"otq": {Part3: "otq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"otr": {Part3: "otr", Scope: 'I', LanguageType: 'L', Name: "Otoro"},
"ots": {Part3: "ots", Scope: 'I', LanguageType: 'L', Name: "Estado de México Otomi"},
"ott": {Part3: "ott", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"otu": {Part3: "otu", Scope: 'I', LanguageType: 'E', Name: "Otuke"},
"otw": {Part3: "otw", Scope: 'I', LanguageType: 'L', Name: "Ottawa"},
"otx": {Part3: "otx", Scope: 'I', LanguageType: 'L', Name: "Texcatepec Otomi"},
"oty": {Part3: "oty", Scope: 'I', LanguageType: 'A', Name: "Old Tamil"},
"otz": {Part3: "otz", Scope: 'I', LanguageType: 'L', Name: "Ixtenco Otomi"},
"oua": {Part3: "oua", Scope: 'I', LanguageType: 'L', Name: "Tagargrent"},
"oub": {Part3: "oub", Scope: 'I', LanguageType: 'L', Name: "Glio-Oubi"},
"oue": {Part3: "oue", Scope: 'I', LanguageType: 'L', Name: "Oune"},
"oui": {Part3: "oui", Scope: 'I', LanguageType: 'H', Name: "Old Uighur"},
"oum": {Part3: "oum", Scope: 'I', LanguageType: 'E', Name: "Ouma"},
"ovd": {Part3: "ovd", Scope: 'I', LanguageType: 'L', Name: "Elfdalian"},
"owi": {Part3: "owi", Scope: 'I', LanguageType: 'L', Name: "Owiniga"},
"owl": {Part3: "owl", Scope: 'I', LanguageType: 'H', Name: "Old Welsh"},
"oyb": {Part3: "oyb", Scope: 'I', LanguageType: 'L', Name: "Oy"},
"oyd": {Part3: "oyd", Scope: 'I', LanguageType: 'L', Name: "Oyda"},
"oym": {Part3: "oym", Scope: 'I', LanguageType: 'L', Name: "Wayampi"},
"oyy": {Part3: "oyy", Scope: 'I', LanguageType: 'L', Name: "Oya'oya"},
"ozm": {Part3: "ozm", Scope: 'I', LanguageType: 'L', Name: "Koonzime"},
"pab": {Part3: "pab", Scope: 'I', LanguageType: 'L', Name: "Parecís"},
"pac": {Part3: "pac", Scope: 'I', LanguageType: 'L', Name: "Pacoh"},
"pad": {Part3: "pad", Scope: 'I', LanguageType: 'L', Name: "Paumarí"},
"pae": {Part3: "pae", Scope: 'I', LanguageType: 'L', Name: "Pagibete"},
"paf": {Part3: "paf", Scope: 'I', LanguageType: 'E', Name: "Paranawát"},
"pag": {Part3: "pag", Part2B: "pag", Part2T: "pag", Scope: 'I', LanguageType: 'L', Name: "Pangasinan"},
"pah": {Part3: "pah", Scope: 'I', LanguageType: 'L', Name: "Tenharim"},
"pai": {Part3: "pai", Scope: 'I', LanguageType: 'L', Name: "Pe"},
"pak": {Part3: "pak", Scope: 'I', LanguageType: 'L', Name: "Parakanã"},
"pal": {Part3: "pal", Part2B: "pal", Part2T: "pal", Scope: 'I', LanguageType: 'A', Name: "Pahlavi"},
"pam": {Part3: "pam", Part2B: "pam", Part2T: "pam", Scope: 'I', LanguageType: 'L', Name: "Pampanga"},
"pan": {Part3: "pan", Part2B: "pan", Part2T: "pan", Part1: "pa", Scope: 'I', LanguageType: 'L', Name: "Panjabi"},
"pao": {Part3: "pao", Scope: 'I', LanguageType: 'L', Name: "Northern Paiute"},
"pap": {Part3: "pap", Part2B: "pap", Part2T: "pap", Scope: 'I', LanguageType: 'L', Name: "Papiamento"},
"paq": {Part3: "paq", Scope: 'I', LanguageType: 'L', Name: "Parya"},
"par": {Part3: "par", Scope: 'I', LanguageType: 'L', Name: "Panamint"},
"pas": {Part3: "pas", Scope: 'I', LanguageType: 'L', Name: "Papasena"},
"pau": {Part3: "pau", Part2B: "pau", Part2T: "pau", Scope: 'I', LanguageType: 'L', Name: "Palauan"},
"pav": {Part3: "pav", Scope: 'I', LanguageType: 'L', Name: "Pakaásnovos"},
"paw": {Part3: "paw", Scope: 'I', LanguageType: 'L', Name: "Pawnee"},
"pax": {Part3: "pax", Scope: 'I', LanguageType: 'E', Name: "Pankararé"},
"pay": {Part3: "pay", Scope: 'I', LanguageType: 'L', Name: "Pech"},
"paz": {Part3: "paz", Scope: 'I', LanguageType: 'E', Name: "Pankararú"},
"pbb": {Part3: "pbb", Scope: 'I', LanguageType: 'L', Name: "Páez"},
"pbc": {Part3: "pbc", Scope: 'I', LanguageType: 'L', Name: "Patamona"},
"pbe": {Part3: "pbe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pbf": {Part3: "pbf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pbg": {Part3: "pbg", Scope: 'I', LanguageType: 'E', Name: "Paraujano"},
"pbh": {Part3: "pbh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pbi": {Part3: "pbi", Scope: 'I', LanguageType: 'L', Name: "Parkwa"},
"pbl": {Part3: "pbl", Scope: 'I', LanguageType: 'L', Name: "Mak (Nigeria)"},
"pbm": {Part3: "pbm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pbn": {Part3: "pbn", Scope: 'I', LanguageType: 'L', Name: "Kpasam"},
"pbo": {Part3: "pbo", Scope: 'I', LanguageType: 'L', Name: "Papel"},
"pbp": {Part3: "pbp", Scope: 'I', LanguageType: 'L', Name: "Badyara"},
"pbr": {Part3: "pbr", Scope: 'I', LanguageType: 'L', Name: "Pangwa"},
"pbs": {Part3: "pbs", Scope: 'I', LanguageType: 'L', Name: "Central Pame"},
"pbt": {Part3: "pbt", Scope: 'I', LanguageType: 'L', Name: "Southern Pashto"},
"pbu": {Part3: "pbu", Scope: 'I', LanguageType: 'L', Name: "Northern Pashto"},
"pbv": {Part3: "pbv", Scope: 'I', LanguageType: 'L', Name: "Pnar"},
"pby": {Part3: "pby", Scope: 'I', LanguageType: 'L', Name: "Pyu (Papua New Guinea)"},
"pca": {Part3: "pca", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pcb": {Part3: "pcb", Scope: 'I', LanguageType: 'L', Name: "Pear"},
"pcc": {Part3: "pcc", Scope: 'I', LanguageType: 'L', Name: "Bouyei"},
"pcd": {Part3: "pcd", Scope: 'I', LanguageType: 'L', Name: "Picard"},
"pce": {Part3: "pce", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pcf": {Part3: "pcf", Scope: 'I', LanguageType: 'L', Name: "Paliyan"},
"pcg": {Part3: "pcg", Scope: 'I', LanguageType: 'L', Name: "Paniya"},
"pch": {Part3: "pch", Scope: 'I', LanguageType: 'L', Name: "Pardhan"},
"pci": {Part3: "pci", Scope: 'I', LanguageType: 'L', Name: "Duruwa"},
"pcj": {Part3: "pcj", Scope: 'I', LanguageType: 'L', Name: "Parenga"},
"pck": {Part3: "pck", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pcl": {Part3: "pcl", Scope: 'I', LanguageType: 'L', Name: "Pardhi"},
"pcm": {Part3: "pcm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pcn": {Part3: "pcn", Scope: 'I', LanguageType: 'L', Name: "Piti"},
"pcp": {Part3: "pcp", Scope: 'I', LanguageType: 'L', Name: "Pacahuara"},
"pcw": {Part3: "pcw", Scope: 'I', LanguageType: 'L', Name: "Pyapun"},
"pda": {Part3: "pda", Scope: 'I', LanguageType: 'L', Name: "Anam"},
"pdc": {Part3: "pdc", Scope: 'I', LanguageType: 'L', Name: "Pennsylvania German"},
"pdi": {Part3: "pdi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pdn": {Part3: "pdn", Scope: 'I', LanguageType: 'L', Name: "Podena"},
"pdo": {Part3: "pdo", Scope: 'I', LanguageType: 'L', Name: "Padoe"},
"pdt": {Part3: "pdt", Scope: 'I', LanguageType: 'L', Name: "Plautdietsch"},
"pdu": {Part3: "pdu", Scope: 'I', LanguageType: 'L', Name: "Kayan"},
"pea": {Part3: "pea", Scope: 'I', LanguageType: 'L', Name: "Peranakan Indonesian"},
"peb": {Part3: "peb", Scope: 'I', LanguageType: 'E', Name: "Eastern Pomo"},
"ped": {Part3: "ped", Scope: 'I', LanguageType: 'L', Name: "Mala (Papua New Guinea)"},
"pee": {Part3: "pee", Scope: 'I', LanguageType: 'L', Name: "Taje"},
"pef": {Part3: "pef", Scope: 'I', LanguageType: 'E', Name: "Northeastern Pomo"},
"peg": {Part3: "peg", Scope: 'I', LanguageType: 'L', Name: "Pengo"},
"peh": {Part3: "peh", Scope: 'I', LanguageType: 'L', Name: "Bonan"},
"pei": {Part3: "pei", Scope: 'I', LanguageType: 'L', Name: "Chichimeca-Jonaz"},
"pej": {Part3: "pej", Scope: 'I', LanguageType: 'E', Name: "Northern Pomo"},
"pek": {Part3: "pek", Scope: 'I', LanguageType: 'L', Name: "Penchal"},
"pel": {Part3: "pel", Scope: 'I', LanguageType: 'L', Name: "Pekal"},
"pem": {Part3: "pem", Scope: 'I', LanguageType: 'L', Name: "Phende"},
"peo": {Part3: "peo", Part2B: "peo", Part2T: "peo", Scope: 'I', LanguageType: 'H', Name: "Old Persian (ca. 600-400 B.C.)"},
"pep": {Part3: "pep", Scope: 'I', LanguageType: 'L', Name: "Kunja"},
"peq": {Part3: "peq", Scope: 'I', LanguageType: 'L', Name: "South<NAME>"},
"pes": {Part3: "pes", Scope: 'I', LanguageType: 'L', Name: "Iranian Persian"},
"pev": {Part3: "pev", Scope: 'I', LanguageType: 'L', Name: "Pémono"},
"pex": {Part3: "pex", Scope: 'I', LanguageType: 'L', Name: "Petats"},
"pey": {Part3: "pey", Scope: 'I', LanguageType: 'L', Name: "Petjo"},
"pez": {Part3: "pez", Scope: 'I', LanguageType: 'L', Name: "Eastern Penan"},
"pfa": {Part3: "pfa", Scope: 'I', LanguageType: 'L', Name: "Pááfang"},
"pfe": {Part3: "pfe", Scope: 'I', LanguageType: 'L', Name: "Pere"},
"pfl": {Part3: "pfl", Scope: 'I', LanguageType: 'L', Name: "Pfaelzisch"},
"pga": {Part3: "pga", Scope: 'I', LanguageType: 'L', Name: "Sudanese Creole Arabic"},
"pgd": {Part3: "pgd", Scope: 'I', LanguageType: 'H', Name: "Gāndhārī"},
"pgg": {Part3: "pgg", Scope: 'I', LanguageType: 'L', Name: "Pangwali"},
"pgi": {Part3: "pgi", Scope: 'I', LanguageType: 'L', Name: "Pagi"},
"pgk": {Part3: "pgk", Scope: 'I', LanguageType: 'L', Name: "Rerep"},
"pgl": {Part3: "pgl", Scope: 'I', LanguageType: 'A', Name: "Primitive Irish"},
"pgn": {Part3: "pgn", Scope: 'I', LanguageType: 'A', Name: "Paelignian"},
"pgs": {Part3: "pgs", Scope: 'I', LanguageType: 'L', Name: "Pangseng"},
"pgu": {Part3: "pgu", Scope: 'I', LanguageType: 'L', Name: "Pagu"},
"pgz": {Part3: "pgz", Scope: 'I', LanguageType: 'L', Name: "Papua New Guinean Sign Language"},
"pha": {Part3: "pha", Scope: 'I', LanguageType: 'L', Name: "Pa-Hng"},
"phd": {Part3: "phd", Scope: 'I', LanguageType: 'L', Name: "Phudagi"},
"phg": {Part3: "phg", Scope: 'I', LanguageType: 'L', Name: "Phuong"},
"phh": {Part3: "phh", Scope: 'I', LanguageType: 'L', Name: "Phukha"},
"phk": {Part3: "phk", Scope: 'I', LanguageType: 'L', Name: "Phake"},
"phl": {Part3: "phl", Scope: 'I', LanguageType: 'L', Name: "Phalura"},
"phm": {Part3: "phm", Scope: 'I', LanguageType: 'L', Name: "Phimbi"},
"phn": {Part3: "phn", Part2B: "phn", Part2T: "phn", Scope: 'I', LanguageType: 'A', Name: "Phoenician"},
"pho": {Part3: "pho", Scope: 'I', LanguageType: 'L', Name: "Phunoi"},
"phq": {Part3: "phq", Scope: 'I', LanguageType: 'L', Name: "Phana'"},
"phr": {Part3: "phr", Scope: 'I', LanguageType: 'L', Name: "Pahari-Potwari"},
"pht": {Part3: "pht", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"phu": {Part3: "phu", Scope: 'I', LanguageType: 'L', Name: "Phuan"},
"phv": {Part3: "phv", Scope: 'I', LanguageType: 'L', Name: "Pahlavani"},
"phw": {Part3: "phw", Scope: 'I', LanguageType: 'L', Name: "Phangduwali"},
"pia": {Part3: "pia", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pib": {Part3: "pib", Scope: 'I', LanguageType: 'L', Name: "Yine"},
"pic": {Part3: "pic", Scope: 'I', LanguageType: 'L', Name: "Pinji"},
"pid": {Part3: "pid", Scope: 'I', LanguageType: 'L', Name: "Piaroa"},
"pie": {Part3: "pie", Scope: 'I', LanguageType: 'E', Name: "Piro"},
"pif": {Part3: "pif", Scope: 'I', LanguageType: 'L', Name: "Pingelapese"},
"pig": {Part3: "pig", Scope: 'I', LanguageType: 'L', Name: "Pisabo"},
"pih": {Part3: "pih", Scope: 'I', LanguageType: 'L', Name: "Pitcairn-Norfolk"},
"pii": {Part3: "pii", Scope: 'I', LanguageType: 'L', Name: "Pini"},
"pij": {Part3: "pij", Scope: 'I', LanguageType: 'E', Name: "Pijao"},
"pil": {Part3: "pil", Scope: 'I', LanguageType: 'L', Name: "Yom"},
"pim": {Part3: "pim", Scope: 'I', LanguageType: 'E', Name: "Powhatan"},
"pin": {Part3: "pin", Scope: 'I', LanguageType: 'L', Name: "Piame"},
"pio": {Part3: "pio", Scope: 'I', LanguageType: 'L', Name: "Piapoco"},
"pip": {Part3: "pip", Scope: 'I', LanguageType: 'L', Name: "Pero"},
"pir": {Part3: "pir", Scope: 'I', LanguageType: 'L', Name: "Piratapuyo"},
"pis": {Part3: "pis", Scope: 'I', LanguageType: 'L', Name: "Pijin"},
"pit": {Part3: "pit", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"piu": {Part3: "piu", Scope: 'I', LanguageType: 'L', Name: "Pintupi-Luritja"},
"piv": {Part3: "piv", Scope: 'I', LanguageType: 'L', Name: "Pileni"},
"piw": {Part3: "piw", Scope: 'I', LanguageType: 'L', Name: "Pimbwe"},
"pix": {Part3: "pix", Scope: 'I', LanguageType: 'L', Name: "Piu"},
"piy": {Part3: "piy", Scope: 'I', LanguageType: 'L', Name: "Piya-Kwonci"},
"piz": {Part3: "piz", Scope: 'I', LanguageType: 'L', Name: "Pije"},
"pjt": {Part3: "pjt", Scope: 'I', LanguageType: 'L', Name: "Pitjantjatjara"},
"pka": {Part3: "pka", Scope: 'I', LanguageType: 'H', Name: "<NAME>"},
"pkb": {Part3: "pkb", Scope: 'I', LanguageType: 'L', Name: "Pokomo"},
"pkc": {Part3: "pkc", Scope: 'I', LanguageType: 'A', Name: "Paekche"},
"pkg": {Part3: "pkg", Scope: 'I', LanguageType: 'L', Name: "Pak-Tong"},
"pkh": {Part3: "pkh", Scope: 'I', LanguageType: 'L', Name: "Pankhu"},
"pkn": {Part3: "pkn", Scope: 'I', LanguageType: 'L', Name: "Pakanha"},
"pko": {Part3: "pko", Scope: 'I', LanguageType: 'L', Name: "Pökoot"},
"pkp": {Part3: "pkp", Scope: 'I', LanguageType: 'L', Name: "Pukapuka"},
"pkr": {Part3: "pkr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pks": {Part3: "pks", Scope: 'I', LanguageType: 'L', Name: "Pakistan Sign Language"},
"pkt": {Part3: "pkt", Scope: 'I', LanguageType: 'L', Name: "Maleng"},
"pku": {Part3: "pku", Scope: 'I', LanguageType: 'L', Name: "Paku"},
"pla": {Part3: "pla", Scope: 'I', LanguageType: 'L', Name: "Miani"},
"plb": {Part3: "plb", Scope: 'I', LanguageType: 'L', Name: "Polonombauk"},
"plc": {Part3: "plc", Scope: 'I', LanguageType: 'L', Name: "Central Palawano"},
"pld": {Part3: "pld", Scope: 'I', LanguageType: 'L', Name: "Polari"},
"ple": {Part3: "ple", Scope: 'I', LanguageType: 'L', Name: "Palu'e"},
"plg": {Part3: "plg", Scope: 'I', LanguageType: 'L', Name: "Pilagá"},
"plh": {Part3: "plh", Scope: 'I', LanguageType: 'L', Name: "Paulohi"},
"pli": {Part3: "pli", Part2B: "pli", Part2T: "pli", Part1: "pi", Scope: 'I', LanguageType: 'A', Name: "Pali"},
"plj": {Part3: "plj", Scope: 'I', LanguageType: 'L', Name: "Polci"},
"plk": {Part3: "plk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pll": {Part3: "pll", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pln": {Part3: "pln", Scope: 'I', LanguageType: 'L', Name: "Palenquero"},
"plo": {Part3: "plo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"plq": {Part3: "plq", Scope: 'I', LanguageType: 'A', Name: "Palaic"},
"plr": {Part3: "plr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pls": {Part3: "pls", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"plt": {Part3: "plt", Scope: 'I', LanguageType: 'L', Name: "Plateau Malagasy"},
"plu": {Part3: "plu", Scope: 'I', LanguageType: 'L', Name: "Palikúr"},
"plv": {Part3: "plv", Scope: 'I', LanguageType: 'L', Name: "Southwest Palawano"},
"plw": {Part3: "plw", Scope: 'I', LanguageType: 'L', Name: "Brooke's Point Palawano"},
"ply": {Part3: "ply", Scope: 'I', LanguageType: 'L', Name: "Bolyu"},
"plz": {Part3: "plz", Scope: 'I', LanguageType: 'L', Name: "Paluan"},
"pma": {Part3: "pma", Scope: 'I', LanguageType: 'L', Name: "Paama"},
"pmb": {Part3: "pmb", Scope: 'I', LanguageType: 'L', Name: "Pambia"},
"pmd": {Part3: "pmd", Scope: 'I', LanguageType: 'E', Name: "Pallanganmiddang"},
"pme": {Part3: "pme", Scope: 'I', LanguageType: 'L', Name: "Pwaamei"},
"pmf": {Part3: "pmf", Scope: 'I', LanguageType: 'L', Name: "Pamona"},
"pmh": {Part3: "pmh", Scope: 'I', LanguageType: 'H', Name: "Māhārā<NAME>"},
"pmi": {Part3: "pmi", Scope: 'I', LanguageType: 'L', Name: "Northern Pumi"},
"pmj": {Part3: "pmj", Scope: 'I', LanguageType: 'L', Name: "Southern Pumi"},
"pmk": {Part3: "pmk", Scope: 'I', LanguageType: 'E', Name: "Pamlico"},
"pml": {Part3: "pml", Scope: 'I', LanguageType: 'E', Name: "Lingua Franca"},
"pmm": {Part3: "pmm", Scope: 'I', LanguageType: 'L', Name: "Pomo"},
"pmn": {Part3: "pmn", Scope: 'I', LanguageType: 'L', Name: "Pam"},
"pmo": {Part3: "pmo", Scope: 'I', LanguageType: 'L', Name: "Pom"},
"pmq": {Part3: "pmq", Scope: 'I', LanguageType: 'L', Name: "Northern Pame"},
"pmr": {Part3: "pmr", Scope: 'I', LanguageType: 'L', Name: "Paynamar"},
"pms": {Part3: "pms", Scope: 'I', LanguageType: 'L', Name: "Piemontese"},
"pmt": {Part3: "pmt", Scope: 'I', LanguageType: 'L', Name: "Tuamotuan"},
"pmw": {Part3: "pmw", Scope: 'I', LanguageType: 'L', Name: "Pl<NAME>"},
"pmx": {Part3: "pmx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pmy": {Part3: "pmy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pmz": {Part3: "pmz", Scope: 'I', LanguageType: 'E', Name: "Southern Pame"},
"pna": {Part3: "pna", Scope: 'I', LanguageType: 'L', Name: "Punan Bah-Biau"},
"pnb": {Part3: "pnb", Scope: 'I', LanguageType: 'L', Name: "Western Panjabi"},
"pnc": {Part3: "pnc", Scope: 'I', LanguageType: 'L', Name: "Pannei"},
"pnd": {Part3: "pnd", Scope: 'I', LanguageType: 'L', Name: "Mpinda"},
"pne": {Part3: "pne", Scope: 'I', LanguageType: 'L', Name: "Western Penan"},
"png": {Part3: "png", Scope: 'I', LanguageType: 'L', Name: "Pangu"},
"pnh": {Part3: "pnh", Scope: 'I', LanguageType: 'L', Name: "Penrhyn"},
"pni": {Part3: "pni", Scope: 'I', LanguageType: 'L', Name: "Aoheng"},
"pnj": {Part3: "pnj", Scope: 'I', LanguageType: 'E', Name: "Pinjarup"},
"pnk": {Part3: "pnk", Scope: 'I', LanguageType: 'L', Name: "Paunaka"},
"pnl": {Part3: "pnl", Scope: 'I', LanguageType: 'L', Name: "Paleni"},
"pnm": {Part3: "pnm", Scope: 'I', LanguageType: 'L', Name: "<NAME> 1"},
"pnn": {Part3: "pnn", Scope: 'I', LanguageType: 'L', Name: "Pinai-Hagahai"},
"pno": {Part3: "pno", Scope: 'I', LanguageType: 'E', Name: "Panobo"},
"pnp": {Part3: "pnp", Scope: 'I', LanguageType: 'L', Name: "Pancana"},
"pnq": {Part3: "pnq", Scope: 'I', LanguageType: 'L', Name: "Pana (Burkina Faso)"},
"pnr": {Part3: "pnr", Scope: 'I', LanguageType: 'L', Name: "Panim"},
"pns": {Part3: "pns", Scope: 'I', LanguageType: 'L', Name: "Ponosakan"},
"pnt": {Part3: "pnt", Scope: 'I', LanguageType: 'L', Name: "Pontic"},
"pnu": {Part3: "pnu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pnv": {Part3: "pnv", Scope: 'I', LanguageType: 'L', Name: "Pinigura"},
"pnw": {Part3: "pnw", Scope: 'I', LanguageType: 'L', Name: "Banyjima"},
"pnx": {Part3: "pnx", Scope: 'I', LanguageType: 'L', Name: "Phong-Kniang"},
"pny": {Part3: "pny", Scope: 'I', LanguageType: 'L', Name: "Pinyin"},
"pnz": {Part3: "pnz", Scope: 'I', LanguageType: 'L', Name: "Pana (Central African Republic)"},
"poc": {Part3: "poc", Scope: 'I', LanguageType: 'L', Name: "Poqomam"},
"poe": {Part3: "poe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pof": {Part3: "pof", Scope: 'I', LanguageType: 'L', Name: "Poke"},
"pog": {Part3: "pog", Scope: 'I', LanguageType: 'E', Name: "Potiguára"},
"poh": {Part3: "poh", Scope: 'I', LanguageType: 'L', Name: "Poqomchi'"},
"poi": {Part3: "poi", Scope: 'I', LanguageType: 'L', Name: "Highland Popoluca"},
"pok": {Part3: "pok", Scope: 'I', LanguageType: 'L', Name: "Pokangá"},
"pol": {Part3: "pol", Part2B: "pol", Part2T: "pol", Part1: "pl", Scope: 'I', LanguageType: 'L', Name: "Polish"},
"pom": {Part3: "pom", Scope: 'I', LanguageType: 'L', Name: "Southeastern Pomo"},
"pon": {Part3: "pon", Part2B: "pon", Part2T: "pon", Scope: 'I', LanguageType: 'L', Name: "Pohnpeian"},
"poo": {Part3: "poo", Scope: 'I', LanguageType: 'E', Name: "Central Pomo"},
"pop": {Part3: "pop", Scope: 'I', LanguageType: 'L', Name: "Pwapwâ"},
"poq": {Part3: "poq", Scope: 'I', LanguageType: 'L', Name: "Texistepec Popoluca"},
"por": {Part3: "por", Part2B: "por", Part2T: "por", Part1: "pt", Scope: 'I', LanguageType: 'L', Name: "Portuguese"},
"pos": {Part3: "pos", Scope: 'I', LanguageType: 'L', Name: "Sayula Popoluca"},
"pot": {Part3: "pot", Scope: 'I', LanguageType: 'L', Name: "Potawatomi"},
"pov": {Part3: "pov", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pow": {Part3: "pow", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pox": {Part3: "pox", Scope: 'I', LanguageType: 'E', Name: "Polabian"},
"poy": {Part3: "poy", Scope: 'I', LanguageType: 'L', Name: "Pogolo"},
"ppe": {Part3: "ppe", Scope: 'I', LanguageType: 'L', Name: "Papi"},
"ppi": {Part3: "ppi", Scope: 'I', LanguageType: 'L', Name: "Paipai"},
"ppk": {Part3: "ppk", Scope: 'I', LanguageType: 'L', Name: "Uma"},
"ppl": {Part3: "ppl", Scope: 'I', LanguageType: 'L', Name: "Pipil"},
"ppm": {Part3: "ppm", Scope: 'I', LanguageType: 'L', Name: "Papuma"},
"ppn": {Part3: "ppn", Scope: 'I', LanguageType: 'L', Name: "Papapana"},
"ppo": {Part3: "ppo", Scope: 'I', LanguageType: 'L', Name: "Folopa"},
"ppp": {Part3: "ppp", Scope: 'I', LanguageType: 'L', Name: "Pelende"},
"ppq": {Part3: "ppq", Scope: 'I', LanguageType: 'L', Name: "Pei"},
"pps": {Part3: "pps", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ppt": {Part3: "ppt", Scope: 'I', LanguageType: 'L', Name: "Pare"},
"ppu": {Part3: "ppu", Scope: 'I', LanguageType: 'E', Name: "Papora"},
"pqa": {Part3: "pqa", Scope: 'I', LanguageType: 'L', Name: "Pa'a"},
"pqm": {Part3: "pqm", Scope: 'I', LanguageType: 'L', Name: "Malecite-Passamaquoddy"},
"prc": {Part3: "prc", Scope: 'I', LanguageType: 'L', Name: "Parachi"},
"prd": {Part3: "prd", Scope: 'I', LanguageType: 'L', Name: "Parsi-Dari"},
"pre": {Part3: "pre", Scope: 'I', LanguageType: 'L', Name: "Principense"},
"prf": {Part3: "prf", Scope: 'I', LanguageType: 'L', Name: "Paranan"},
"prg": {Part3: "prg", Scope: 'I', LanguageType: 'L', Name: "Prussian"},
"prh": {Part3: "prh", Scope: 'I', LanguageType: 'L', Name: "Porohanon"},
"pri": {Part3: "pri", Scope: 'I', LanguageType: 'L', Name: "Paicî"},
"prk": {Part3: "prk", Scope: 'I', LanguageType: 'L', Name: "Parauk"},
"prl": {Part3: "prl", Scope: 'I', LanguageType: 'L', Name: "Peruvian Sign Language"},
"prm": {Part3: "prm", Scope: 'I', LanguageType: 'L', Name: "Kibiri"},
"prn": {Part3: "prn", Scope: 'I', LanguageType: 'L', Name: "Prasuni"},
"pro": {Part3: "pro", Part2B: "pro", Part2T: "pro", Scope: 'I', LanguageType: 'H', Name: "Old Provençal (to 1500)"},
"prp": {Part3: "prp", Scope: 'I', LanguageType: 'L', Name: "Parsi"},
"prq": {Part3: "prq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"prr": {Part3: "prr", Scope: 'I', LanguageType: 'E', Name: "Puri"},
"prs": {Part3: "prs", Scope: 'I', LanguageType: 'L', Name: "Dari"},
"prt": {Part3: "prt", Scope: 'I', LanguageType: 'L', Name: "Phai"},
"pru": {Part3: "pru", Scope: 'I', LanguageType: 'L', Name: "Puragi"},
"prw": {Part3: "prw", Scope: 'I', LanguageType: 'L', Name: "Parawen"},
"prx": {Part3: "prx", Scope: 'I', LanguageType: 'L', Name: "Purik"},
"prz": {Part3: "prz", Scope: 'I', LanguageType: 'L', Name: "Providencia Sign Language"},
"psa": {Part3: "psa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"psc": {Part3: "psc", Scope: 'I', LanguageType: 'L', Name: "Persian Sign Language"},
"psd": {Part3: "psd", Scope: 'I', LanguageType: 'L', Name: "Plains Indian Sign Language"},
"pse": {Part3: "pse", Scope: 'I', LanguageType: 'L', Name: "Central Malay"},
"psg": {Part3: "psg", Scope: 'I', LanguageType: 'L', Name: "Penang Sign Language"},
"psh": {Part3: "psh", Scope: 'I', LanguageType: 'L', Name: "Southwest Pashai"},
"psi": {Part3: "psi", Scope: 'I', LanguageType: 'L', Name: "Southeast Pashai"},
"psl": {Part3: "psl", Scope: 'I', LanguageType: 'L', Name: "Puerto Rican Sign Language"},
"psm": {Part3: "psm", Scope: 'I', LanguageType: 'E', Name: "Pauserna"},
"psn": {Part3: "psn", Scope: 'I', LanguageType: 'L', Name: "Panasuan"},
"pso": {Part3: "pso", Scope: 'I', LanguageType: 'L', Name: "Polish Sign Language"},
"psp": {Part3: "psp", Scope: 'I', LanguageType: 'L', Name: "Philippine Sign Language"},
"psq": {Part3: "psq", Scope: 'I', LanguageType: 'L', Name: "Pasi"},
"psr": {Part3: "psr", Scope: 'I', LanguageType: 'L', Name: "Portuguese Sign Language"},
"pss": {Part3: "pss", Scope: 'I', LanguageType: 'L', Name: "Kaulong"},
"pst": {Part3: "pst", Scope: 'I', LanguageType: 'L', Name: "Central Pashto"},
"psu": {Part3: "psu", Scope: 'I', LanguageType: 'H', Name: "Sauraseni Prākrit"},
"psw": {Part3: "psw", Scope: 'I', LanguageType: 'L', Name: "Port Sandwich"},
"psy": {Part3: "psy", Scope: 'I', LanguageType: 'E', Name: "Piscataway"},
"pta": {Part3: "pta", Scope: 'I', LanguageType: 'L', Name: "Pai Tavytera"},
"pth": {Part3: "pth", Scope: 'I', LanguageType: 'E', Name: "Pataxó Hã-Ha-Hãe"},
"pti": {Part3: "pti", Scope: 'I', LanguageType: 'L', Name: "Pindiini"},
"ptn": {Part3: "ptn", Scope: 'I', LanguageType: 'L', Name: "Patani"},
"pto": {Part3: "pto", Scope: 'I', LanguageType: 'L', Name: "Zo'é"},
"ptp": {Part3: "ptp", Scope: 'I', LanguageType: 'L', Name: "Patep"},
"ptq": {Part3: "ptq", Scope: 'I', LanguageType: 'L', Name: "Pattapu"},
"ptr": {Part3: "ptr", Scope: 'I', LanguageType: 'L', Name: "Piamatsina"},
"ptt": {Part3: "ptt", Scope: 'I', LanguageType: 'L', Name: "Enrekang"},
"ptu": {Part3: "ptu", Scope: 'I', LanguageType: 'L', Name: "Bambam"},
"ptv": {Part3: "ptv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ptw": {Part3: "ptw", Scope: 'I', LanguageType: 'E', Name: "Pentlatch"},
"pty": {Part3: "pty", Scope: 'I', LanguageType: 'L', Name: "Pathiya"},
"pua": {Part3: "pua", Scope: 'I', LanguageType: 'L', Name: "Western Highland Purepecha"},
"pub": {Part3: "pub", Scope: 'I', LanguageType: 'L', Name: "Purum"},
"puc": {Part3: "puc", Scope: 'I', LanguageType: 'L', Name: "P<NAME>ap"},
"pud": {Part3: "pud", Scope: 'I', LanguageType: 'L', Name: "Punan Aput"},
"pue": {Part3: "pue", Scope: 'I', LanguageType: 'E', Name: "Puelche"},
"puf": {Part3: "puf", Scope: 'I', LanguageType: 'L', Name: "Punan Merah"},
"pug": {Part3: "pug", Scope: 'I', LanguageType: 'L', Name: "Phuie"},
"pui": {Part3: "pui", Scope: 'I', LanguageType: 'L', Name: "Puinave"},
"puj": {Part3: "puj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pum": {Part3: "pum", Scope: 'I', LanguageType: 'L', Name: "Puma"},
"puo": {Part3: "puo", Scope: 'I', LanguageType: 'L', Name: "Puoc"},
"pup": {Part3: "pup", Scope: 'I', LanguageType: 'L', Name: "Pulabu"},
"puq": {Part3: "puq", Scope: 'I', LanguageType: 'E', Name: "Puquina"},
"pur": {Part3: "pur", Scope: 'I', LanguageType: 'L', Name: "Puruborá"},
"pus": {Part3: "pus", Part2B: "pus", Part2T: "pus", Part1: "ps", Scope: 'M', LanguageType: 'L', Name: "Pushto"},
"put": {Part3: "put", Scope: 'I', LanguageType: 'L', Name: "Putoh"},
"puu": {Part3: "puu", Scope: 'I', LanguageType: 'L', Name: "Punu"},
"puw": {Part3: "puw", Scope: 'I', LanguageType: 'L', Name: "Puluwatese"},
"pux": {Part3: "pux", Scope: 'I', LanguageType: 'L', Name: "Puare"},
"puy": {Part3: "puy", Scope: 'I', LanguageType: 'E', Name: "Purisimeño"},
"pwa": {Part3: "pwa", Scope: 'I', LanguageType: 'L', Name: "Pawaia"},
"pwb": {Part3: "pwb", Scope: 'I', LanguageType: 'L', Name: "Panawa"},
"pwg": {Part3: "pwg", Scope: 'I', LanguageType: 'L', Name: "Gapapaiwa"},
"pwi": {Part3: "pwi", Scope: 'I', LanguageType: 'E', Name: "Patwin"},
"pwm": {Part3: "pwm", Scope: 'I', LanguageType: 'L', Name: "Molbog"},
"pwn": {Part3: "pwn", Scope: 'I', LanguageType: 'L', Name: "Paiwan"},
"pwo": {Part3: "pwo", Scope: 'I', LanguageType: 'L', Name: "Pwo Western Karen"},
"pwr": {Part3: "pwr", Scope: 'I', LanguageType: 'L', Name: "Powari"},
"pww": {Part3: "pww", Scope: 'I', LanguageType: 'L', Name: "Pwo Northern Karen"},
"pxm": {Part3: "pxm", Scope: 'I', LanguageType: 'L', Name: "Quetzaltepec Mixe"},
"pye": {Part3: "pye", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"pym": {Part3: "pym", Scope: 'I', LanguageType: 'L', Name: "Fyam"},
"pyn": {Part3: "pyn", Scope: 'I', LanguageType: 'L', Name: "Poyanáwa"},
"pys": {Part3: "pys", Scope: 'I', LanguageType: 'L', Name: "Paraguayan Sign Language"},
"pyu": {Part3: "pyu", Scope: 'I', LanguageType: 'L', Name: "Puyuma"},
"pyx": {Part3: "pyx", Scope: 'I', LanguageType: 'A', Name: "Pyu (Myanmar)"},
"pyy": {Part3: "pyy", Scope: 'I', LanguageType: 'L', Name: "Pyen"},
"pzn": {Part3: "pzn", Scope: 'I', LanguageType: 'L', Name: "Para Naga"},
"qua": {Part3: "qua", Scope: 'I', LanguageType: 'L', Name: "Quapaw"},
"qub": {Part3: "qub", Scope: 'I', LanguageType: 'L', Name: "<NAME>ua"},
"quc": {Part3: "quc", Scope: 'I', LanguageType: 'L', Name: "K'iche'"},
"qud": {Part3: "qud", Scope: 'I', LanguageType: 'L', Name: "Calderón Highland Quichua"},
"que": {Part3: "que", Part2B: "que", Part2T: "que", Part1: "qu", Scope: 'M', LanguageType: 'L', Name: "Quechua"},
"quf": {Part3: "quf", Scope: 'I', LanguageType: 'L', Name: "Lambayeque Quechua"},
"qug": {Part3: "qug", Scope: 'I', LanguageType: 'L', Name: "Chimborazo Highland Quichua"},
"quh": {Part3: "quh", Scope: 'I', LanguageType: 'L', Name: "South Bolivian Quechua"},
"qui": {Part3: "qui", Scope: 'I', LanguageType: 'L', Name: "Quileute"},
"quk": {Part3: "quk", Scope: 'I', LanguageType: 'L', Name: "Chachapoyas Quechua"},
"qul": {Part3: "qul", Scope: 'I', LanguageType: 'L', Name: "North Bolivian Quechua"},
"qum": {Part3: "qum", Scope: 'I', LanguageType: 'L', Name: "Sipacapense"},
"qun": {Part3: "qun", Scope: 'I', LanguageType: 'E', Name: "Quinault"},
"qup": {Part3: "qup", Scope: 'I', LanguageType: 'L', Name: "Southern Pastaza Quechua"},
"quq": {Part3: "quq", Scope: 'I', LanguageType: 'L', Name: "Quinqui"},
"qur": {Part3: "qur", Scope: 'I', LanguageType: 'L', Name: "Yanahuanca Pasco Quechua"},
"qus": {Part3: "qus", Scope: 'I', LanguageType: 'L', Name: "Santiago del Estero Quichua"},
"quv": {Part3: "quv", Scope: 'I', LanguageType: 'L', Name: "Sacapulteco"},
"quw": {Part3: "quw", Scope: 'I', LanguageType: 'L', Name: "Tena Lowland Quichua"},
"qux": {Part3: "qux", Scope: 'I', LanguageType: 'L', Name: "Yauyos Quechua"},
"quy": {Part3: "quy", Scope: 'I', LanguageType: 'L', Name: "Ayacucho Quechua"},
"quz": {Part3: "quz", Scope: 'I', LanguageType: 'L', Name: "Cusco Quechua"},
"qva": {Part3: "qva", Scope: 'I', LanguageType: 'L', Name: "Ambo-Pasco Quechua"},
"qvc": {Part3: "qvc", Scope: 'I', LanguageType: 'L', Name: "Cajamarca Quechua"},
"qve": {Part3: "qve", Scope: 'I', LanguageType: 'L', Name: "Eastern Apurímac Quechua"},
"qvh": {Part3: "qvh", Scope: 'I', LanguageType: 'L', Name: "Huamalíes-Dos de Mayo Huánuco Quechua"},
"qvi": {Part3: "qvi", Scope: 'I', LanguageType: 'L', Name: "Imbabura Highland Quichua"},
"qvj": {Part3: "qvj", Scope: 'I', LanguageType: 'L', Name: "Loja Highland Quichua"},
"qvl": {Part3: "qvl", Scope: 'I', LanguageType: 'L', Name: "Cajatambo North Lima Quechua"},
"qvm": {Part3: "qvm", Scope: 'I', LanguageType: 'L', Name: "Margos-Yarowilca-Lauricocha Quechua"},
"qvn": {Part3: "qvn", Scope: 'I', LanguageType: 'L', Name: "North Junín Quechua"},
"qvo": {Part3: "qvo", Scope: 'I', LanguageType: 'L', Name: "Napo Lowland Quechua"},
"qvp": {Part3: "qvp", Scope: 'I', LanguageType: 'L', Name: "Pacaraos Quechua"},
"qvs": {Part3: "qvs", Scope: 'I', LanguageType: 'L', Name: "San Martín Quechua"},
"qvw": {Part3: "qvw", Scope: 'I', LanguageType: 'L', Name: "Huaylla Wanca Quechua"},
"qvy": {Part3: "qvy", Scope: 'I', LanguageType: 'L', Name: "Queyu"},
"qvz": {Part3: "qvz", Scope: 'I', LanguageType: 'L', Name: "Northern Pastaza Quichua"},
"qwa": {Part3: "qwa", Scope: 'I', LanguageType: 'L', Name: "Corongo Ancash Quechua"},
"qwc": {Part3: "qwc", Scope: 'I', LanguageType: 'H', Name: "Classical Quechua"},
"qwh": {Part3: "qwh", Scope: 'I', LanguageType: 'L', Name: "Huaylas Ancash Quechua"},
"qwm": {Part3: "qwm", Scope: 'I', LanguageType: 'E', Name: "Kuman (Russia)"},
"qws": {Part3: "qws", Scope: 'I', LanguageType: 'L', Name: "Sihuas Ancash Quechua"},
"qwt": {Part3: "qwt", Scope: 'I', LanguageType: 'E', Name: "Kwalhioqua-Tlatskanai"},
"qxa": {Part3: "qxa", Scope: 'I', LanguageType: 'L', Name: "Chi<NAME>chua"},
"qxc": {Part3: "qxc", Scope: 'I', LanguageType: 'L', Name: "Chincha Quechua"},
"qxh": {Part3: "qxh", Scope: 'I', LanguageType: 'L', Name: "Panao Huánuco Quechua"},
"qxl": {Part3: "qxl", Scope: 'I', LanguageType: 'L', Name: "Salasaca Highland Quichua"},
"qxn": {Part3: "qxn", Scope: 'I', LanguageType: 'L', Name: "Northern Conchucos Ancash Quechua"},
"qxo": {Part3: "qxo", Scope: 'I', LanguageType: 'L', Name: "Southern Conchucos Ancash Quechua"},
"qxp": {Part3: "qxp", Scope: 'I', LanguageType: 'L', Name: "Puno Quechua"},
"qxq": {Part3: "qxq", Scope: 'I', LanguageType: 'L', Name: "Qashqa'i"},
"qxr": {Part3: "qxr", Scope: 'I', LanguageType: 'L', Name: "Cañar Highland Quichua"},
"qxs": {Part3: "qxs", Scope: 'I', LanguageType: 'L', Name: "Southern Qiang"},
"qxt": {Part3: "qxt", Scope: 'I', LanguageType: 'L', Name: "Santa Ana de Tusi Pasco Quechua"},
"qxu": {Part3: "qxu", Scope: 'I', LanguageType: 'L', Name: "Arequipa-La Unión Quechua"},
"qxw": {Part3: "qxw", Scope: 'I', LanguageType: 'L', Name: "<NAME> Quechua"},
"qya": {Part3: "qya", Scope: 'I', LanguageType: 'C', Name: "Quenya"},
"qyp": {Part3: "qyp", Scope: 'I', LanguageType: 'E', Name: "Quiripi"},
"raa": {Part3: "raa", Scope: 'I', LanguageType: 'L', Name: "Dungmali"},
"rab": {Part3: "rab", Scope: 'I', LanguageType: 'L', Name: "Camling"},
"rac": {Part3: "rac", Scope: 'I', LanguageType: 'L', Name: "Rasawa"},
"rad": {Part3: "rad", Scope: 'I', LanguageType: 'L', Name: "Rade"},
"raf": {Part3: "raf", Scope: 'I', LanguageType: 'L', Name: "Western Meohang"},
"rag": {Part3: "rag", Scope: 'I', LanguageType: 'L', Name: "Logooli"},
"rah": {Part3: "rah", Scope: 'I', LanguageType: 'L', Name: "Rabha"},
"rai": {Part3: "rai", Scope: 'I', LanguageType: 'L', Name: "Ramoaaina"},
"raj": {Part3: "raj", Part2B: "raj", Part2T: "raj", Scope: 'M', LanguageType: 'L', Name: "Rajasthani"},
"rak": {Part3: "rak", Scope: 'I', LanguageType: 'L', Name: "Tulu-Bohuai"},
"ral": {Part3: "ral", Scope: 'I', LanguageType: 'L', Name: "Ralte"},
"ram": {Part3: "ram", Scope: 'I', LanguageType: 'L', Name: "Canela"},
"ran": {Part3: "ran", Scope: 'I', LanguageType: 'L', Name: "Riantana"},
"rao": {Part3: "rao", Scope: 'I', LanguageType: 'L', Name: "Rao"},
"rap": {Part3: "rap", Part2B: "rap", Part2T: "rap", Scope: 'I', LanguageType: 'L', Name: "Rapanui"},
"raq": {Part3: "raq", Scope: 'I', LanguageType: 'L', Name: "Saam"},
"rar": {Part3: "rar", Part2B: "rar", Part2T: "rar", Scope: 'I', LanguageType: 'L', Name: "Rarotongan"},
"ras": {Part3: "ras", Scope: 'I', LanguageType: 'L', Name: "Tegali"},
"rat": {Part3: "rat", Scope: 'I', LanguageType: 'L', Name: "Razajerdi"},
"rau": {Part3: "rau", Scope: 'I', LanguageType: 'L', Name: "Raute"},
"rav": {Part3: "rav", Scope: 'I', LanguageType: 'L', Name: "Sampang"},
"raw": {Part3: "raw", Scope: 'I', LanguageType: 'L', Name: "Rawang"},
"rax": {Part3: "rax", Scope: 'I', LanguageType: 'L', Name: "Rang"},
"ray": {Part3: "ray", Scope: 'I', LanguageType: 'L', Name: "Rapa"},
"raz": {Part3: "raz", Scope: 'I', LanguageType: 'L', Name: "Rahambuu"},
"rbb": {Part3: "rbb", Scope: 'I', LanguageType: 'L', Name: "Rumai Palaung"},
"rbk": {Part3: "rbk", Scope: 'I', LanguageType: 'L', Name: "Northern Bontok"},
"rbl": {Part3: "rbl", Scope: 'I', LanguageType: 'L', Name: "Miraya Bikol"},
"rbp": {Part3: "rbp", Scope: 'I', LanguageType: 'E', Name: "Barababaraba"},
"rcf": {Part3: "rcf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rdb": {Part3: "rdb", Scope: 'I', LanguageType: 'L', Name: "Rudbari"},
"rea": {Part3: "rea", Scope: 'I', LanguageType: 'L', Name: "Rerau"},
"reb": {Part3: "reb", Scope: 'I', LanguageType: 'L', Name: "Rembong"},
"ree": {Part3: "ree", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"reg": {Part3: "reg", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"rei": {Part3: "rei", Scope: 'I', LanguageType: 'L', Name: "Reli"},
"rej": {Part3: "rej", Scope: 'I', LanguageType: 'L', Name: "Rejang"},
"rel": {Part3: "rel", Scope: 'I', LanguageType: 'L', Name: "Rendille"},
"rem": {Part3: "rem", Scope: 'I', LanguageType: 'E', Name: "Remo"},
"ren": {Part3: "ren", Scope: 'I', LanguageType: 'L', Name: "Rengao"},
"rer": {Part3: "rer", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"res": {Part3: "res", Scope: 'I', LanguageType: 'L', Name: "Reshe"},
"ret": {Part3: "ret", Scope: 'I', LanguageType: 'L', Name: "Retta"},
"rey": {Part3: "rey", Scope: 'I', LanguageType: 'L', Name: "Reyesano"},
"rga": {Part3: "rga", Scope: 'I', LanguageType: 'L', Name: "Roria"},
"rge": {Part3: "rge", Scope: 'I', LanguageType: 'L', Name: "Romano-Greek"},
"rgk": {Part3: "rgk", Scope: 'I', LanguageType: 'E', Name: "Rangkas"},
"rgn": {Part3: "rgn", Scope: 'I', LanguageType: 'L', Name: "Romagnol"},
"rgr": {Part3: "rgr", Scope: 'I', LanguageType: 'L', Name: "Resígaro"},
"rgs": {Part3: "rgs", Scope: 'I', LanguageType: 'L', Name: "Southern Roglai"},
"rgu": {Part3: "rgu", Scope: 'I', LanguageType: 'L', Name: "Ringgou"},
"rhg": {Part3: "rhg", Scope: 'I', LanguageType: 'L', Name: "Rohingya"},
"rhp": {Part3: "rhp", Scope: 'I', LanguageType: 'L', Name: "Yahang"},
"ria": {Part3: "ria", Scope: 'I', LanguageType: 'L', Name: "Riang (India)"},
"rif": {Part3: "rif", Scope: 'I', LanguageType: 'L', Name: "Tarifit"},
"ril": {Part3: "ril", Scope: 'I', LanguageType: 'L', Name: "Riang Lang"},
"rim": {Part3: "rim", Scope: 'I', LanguageType: 'L', Name: "Nyaturu"},
"rin": {Part3: "rin", Scope: 'I', LanguageType: 'L', Name: "Nungu"},
"rir": {Part3: "rir", Scope: 'I', LanguageType: 'L', Name: "Ribun"},
"rit": {Part3: "rit", Scope: 'I', LanguageType: 'L', Name: "Ritharrngu"},
"riu": {Part3: "riu", Scope: 'I', LanguageType: 'L', Name: "Riung"},
"rjg": {Part3: "rjg", Scope: 'I', LanguageType: 'L', Name: "Rajong"},
"rji": {Part3: "rji", Scope: 'I', LanguageType: 'L', Name: "Raji"},
"rjs": {Part3: "rjs", Scope: 'I', LanguageType: 'L', Name: "Rajbanshi"},
"rka": {Part3: "rka", Scope: 'I', LanguageType: 'L', Name: "Kraol"},
"rkb": {Part3: "rkb", Scope: 'I', LanguageType: 'L', Name: "Rikbaktsa"},
"rkh": {Part3: "rkh", Scope: 'I', LanguageType: 'L', Name: "Rakahanga-Manihiki"},
"rki": {Part3: "rki", Scope: 'I', LanguageType: 'L', Name: "Rakhine"},
"rkm": {Part3: "rkm", Scope: 'I', LanguageType: 'L', Name: "Marka"},
"rkt": {Part3: "rkt", Scope: 'I', LanguageType: 'L', Name: "Rangpuri"},
"rkw": {Part3: "rkw", Scope: 'I', LanguageType: 'E', Name: "Arakwal"},
"rma": {Part3: "rma", Scope: 'I', LanguageType: 'L', Name: "Rama"},
"rmb": {Part3: "rmb", Scope: 'I', LanguageType: 'L', Name: "Rembarrnga"},
"rmc": {Part3: "rmc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmd": {Part3: "rmd", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"rme": {Part3: "rme", Scope: 'I', LanguageType: 'L', Name: "Angloromani"},
"rmf": {Part3: "rmf", Scope: 'I', LanguageType: 'L', Name: "Kalo Finnish Romani"},
"rmg": {Part3: "rmg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmh": {Part3: "rmh", Scope: 'I', LanguageType: 'L', Name: "Murkim"},
"rmi": {Part3: "rmi", Scope: 'I', LanguageType: 'L', Name: "Lomavren"},
"rmk": {Part3: "rmk", Scope: 'I', LanguageType: 'L', Name: "Romkun"},
"rml": {Part3: "rml", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmm": {Part3: "rmm", Scope: 'I', LanguageType: 'L', Name: "Roma"},
"rmn": {Part3: "rmn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmo": {Part3: "rmo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmp": {Part3: "rmp", Scope: 'I', LanguageType: 'L', Name: "Rempi"},
"rmq": {Part3: "rmq", Scope: 'I', LanguageType: 'L', Name: "Caló"},
"rms": {Part3: "rms", Scope: 'I', LanguageType: 'L', Name: "Romanian Sign Language"},
"rmt": {Part3: "rmt", Scope: 'I', LanguageType: 'L', Name: "Domari"},
"rmu": {Part3: "rmu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmv": {Part3: "rmv", Scope: 'I', LanguageType: 'C', Name: "Romanova"},
"rmw": {Part3: "rmw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmx": {Part3: "rmx", Scope: 'I', LanguageType: 'L', Name: "Romam"},
"rmy": {Part3: "rmy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rmz": {Part3: "rmz", Scope: 'I', LanguageType: 'L', Name: "Marma"},
"rnd": {Part3: "rnd", Scope: 'I', LanguageType: 'L', Name: "Ruund"},
"rng": {Part3: "rng", Scope: 'I', LanguageType: 'L', Name: "Ronga"},
"rnl": {Part3: "rnl", Scope: 'I', LanguageType: 'L', Name: "Ranglong"},
"rnn": {Part3: "rnn", Scope: 'I', LanguageType: 'L', Name: "Roon"},
"rnp": {Part3: "rnp", Scope: 'I', LanguageType: 'L', Name: "Rongpo"},
"rnr": {Part3: "rnr", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"rnw": {Part3: "rnw", Scope: 'I', LanguageType: 'L', Name: "Rungwa"},
"rob": {Part3: "rob", Scope: 'I', LanguageType: 'L', Name: "Tae'"},
"roc": {Part3: "roc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rod": {Part3: "rod", Scope: 'I', LanguageType: 'L', Name: "Rogo"},
"roe": {Part3: "roe", Scope: 'I', LanguageType: 'L', Name: "Ronji"},
"rof": {Part3: "rof", Scope: 'I', LanguageType: 'L', Name: "Rombo"},
"rog": {Part3: "rog", Scope: 'I', LanguageType: 'L', Name: "Northern Roglai"},
"roh": {Part3: "roh", Part2B: "roh", Part2T: "roh", Part1: "rm", Scope: 'I', LanguageType: 'L', Name: "Romansh"},
"rol": {Part3: "rol", Scope: 'I', LanguageType: 'L', Name: "Romblomanon"},
"rom": {Part3: "rom", Part2B: "rom", Part2T: "rom", Scope: 'M', LanguageType: 'L', Name: "Romany"},
"ron": {Part3: "ron", Part2B: "rum", Part2T: "ron", Part1: "ro", Scope: 'I', LanguageType: 'L', Name: "Romanian"},
"roo": {Part3: "roo", Scope: 'I', LanguageType: 'L', Name: "Rotokas"},
"rop": {Part3: "rop", Scope: 'I', LanguageType: 'L', Name: "Kriol"},
"ror": {Part3: "ror", Scope: 'I', LanguageType: 'L', Name: "Rongga"},
"rou": {Part3: "rou", Scope: 'I', LanguageType: 'L', Name: "Runga"},
"row": {Part3: "row", Scope: 'I', LanguageType: 'L', Name: "Dela-Oenale"},
"rpn": {Part3: "rpn", Scope: 'I', LanguageType: 'L', Name: "Repanbitip"},
"rpt": {Part3: "rpt", Scope: 'I', LanguageType: 'L', Name: "Rapting"},
"rri": {Part3: "rri", Scope: 'I', LanguageType: 'L', Name: "Ririo"},
"rro": {Part3: "rro", Scope: 'I', LanguageType: 'L', Name: "Waima"},
"rrt": {Part3: "rrt", Scope: 'I', LanguageType: 'E', Name: "Arritinngithigh"},
"rsb": {Part3: "rsb", Scope: 'I', LanguageType: 'L', Name: "Romano-Serbian"},
"rsl": {Part3: "rsl", Scope: 'I', LanguageType: 'L', Name: "Russian Sign Language"},
"rsm": {Part3: "rsm", Scope: 'I', LanguageType: 'L', Name: "Miriwoong Sign Language"},
"rtc": {Part3: "rtc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"rth": {Part3: "rth", Scope: 'I', LanguageType: 'L', Name: "Ratahan"},
"rtm": {Part3: "rtm", Scope: 'I', LanguageType: 'L', Name: "Rotuman"},
"rts": {Part3: "rts", Scope: 'I', LanguageType: 'E', Name: "Yurats"},
"rtw": {Part3: "rtw", Scope: 'I', LanguageType: 'L', Name: "Rathawi"},
"rub": {Part3: "rub", Scope: 'I', LanguageType: 'L', Name: "Gungu"},
"ruc": {Part3: "ruc", Scope: 'I', LanguageType: 'L', Name: "Ruuli"},
"rue": {Part3: "rue", Scope: 'I', LanguageType: 'L', Name: "Rusyn"},
"ruf": {Part3: "ruf", Scope: 'I', LanguageType: 'L', Name: "Luguru"},
"rug": {Part3: "rug", Scope: 'I', LanguageType: 'L', Name: "Roviana"},
"ruh": {Part3: "ruh", Scope: 'I', LanguageType: 'L', Name: "Ruga"},
"rui": {Part3: "rui", Scope: 'I', LanguageType: 'L', Name: "Rufiji"},
"ruk": {Part3: "ruk", Scope: 'I', LanguageType: 'L', Name: "Che"},
"run": {Part3: "run", Part2B: "run", Part2T: "run", Part1: "rn", Scope: 'I', LanguageType: 'L', Name: "Rundi"},
"ruo": {Part3: "ruo", Scope: 'I', LanguageType: 'L', Name: "Istro Romanian"},
"rup": {Part3: "rup", Part2B: "rup", Part2T: "rup", Scope: 'I', LanguageType: 'L', Name: "Macedo-Romanian"},
"ruq": {Part3: "ruq", Scope: 'I', LanguageType: 'L', Name: "Megleno Romanian"},
"rus": {Part3: "rus", Part2B: "rus", Part2T: "rus", Part1: "ru", Scope: 'I', LanguageType: 'L', Name: "Russian"},
"rut": {Part3: "rut", Scope: 'I', LanguageType: 'L', Name: "Rutul"},
"ruu": {Part3: "ruu", Scope: 'I', LanguageType: 'L', Name: "Lanas Lobu"},
"ruy": {Part3: "ruy", Scope: 'I', LanguageType: 'L', Name: "Mala (Nigeria)"},
"ruz": {Part3: "ruz", Scope: 'I', LanguageType: 'L', Name: "Ruma"},
"rwa": {Part3: "rwa", Scope: 'I', LanguageType: 'L', Name: "Rawo"},
"rwk": {Part3: "rwk", Scope: 'I', LanguageType: 'L', Name: "Rwa"},
"rwl": {Part3: "rwl", Scope: 'I', LanguageType: 'L', Name: "Ruwila"},
"rwm": {Part3: "rwm", Scope: 'I', LanguageType: 'L', Name: "Amba (Uganda)"},
"rwo": {Part3: "rwo", Scope: 'I', LanguageType: 'L', Name: "Rawa"},
"rwr": {Part3: "rwr", Scope: 'I', LanguageType: 'L', Name: "Marwari (India)"},
"rxd": {Part3: "rxd", Scope: 'I', LanguageType: 'L', Name: "Ngardi"},
"rxw": {Part3: "rxw", Scope: 'I', LanguageType: 'E', Name: "Karuwali"},
"ryn": {Part3: "ryn", Scope: 'I', LanguageType: 'L', Name: "Northern Amami-Oshima"},
"rys": {Part3: "rys", Scope: 'I', LanguageType: 'L', Name: "Yaeyama"},
"ryu": {Part3: "ryu", Scope: 'I', LanguageType: 'L', Name: "Central Okinawan"},
"rzh": {Part3: "rzh", Scope: 'I', LanguageType: 'L', Name: "Rāziḥī"},
"saa": {Part3: "saa", Scope: 'I', LanguageType: 'L', Name: "Saba"},
"sab": {Part3: "sab", Scope: 'I', LanguageType: 'L', Name: "Buglere"},
"sac": {Part3: "sac", Scope: 'I', LanguageType: 'L', Name: "Meskwaki"},
"sad": {Part3: "sad", Part2B: "sad", Part2T: "sad", Scope: 'I', LanguageType: 'L', Name: "Sandawe"},
"sae": {Part3: "sae", Scope: 'I', LanguageType: 'L', Name: "Sabanê"},
"saf": {Part3: "saf", Scope: 'I', LanguageType: 'L', Name: "Safaliba"},
"sag": {Part3: "sag", Part2B: "sag", Part2T: "sag", Part1: "sg", Scope: 'I', LanguageType: 'L', Name: "Sango"},
"sah": {Part3: "sah", Part2B: "sah", Part2T: "sah", Scope: 'I', LanguageType: 'L', Name: "Yakut"},
"saj": {Part3: "saj", Scope: 'I', LanguageType: 'L', Name: "Sahu"},
"sak": {Part3: "sak", Scope: 'I', LanguageType: 'L', Name: "Sake"},
"sam": {Part3: "sam", Part2B: "sam", Part2T: "sam", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"san": {Part3: "san", Part2B: "san", Part2T: "san", Part1: "sa", Scope: 'I', LanguageType: 'A', Name: "Sanskrit"},
"sao": {Part3: "sao", Scope: 'I', LanguageType: 'L', Name: "Sause"},
"saq": {Part3: "saq", Scope: 'I', LanguageType: 'L', Name: "Samburu"},
"sar": {Part3: "sar", Scope: 'I', LanguageType: 'E', Name: "Saraveca"},
"sas": {Part3: "sas", Part2B: "sas", Part2T: "sas", Scope: 'I', LanguageType: 'L', Name: "Sasak"},
"sat": {Part3: "sat", Part2B: "sat", Part2T: "sat", Scope: 'I', LanguageType: 'L', Name: "Santali"},
"sau": {Part3: "sau", Scope: 'I', LanguageType: 'L', Name: "Saleman"},
"sav": {Part3: "sav", Scope: 'I', LanguageType: 'L', Name: "Saafi-Saafi"},
"saw": {Part3: "saw", Scope: 'I', LanguageType: 'L', Name: "Sawi"},
"sax": {Part3: "sax", Scope: 'I', LanguageType: 'L', Name: "Sa"},
"say": {Part3: "say", Scope: 'I', LanguageType: 'L', Name: "Saya"},
"saz": {Part3: "saz", Scope: 'I', LanguageType: 'L', Name: "Saurashtra"},
"sba": {Part3: "sba", Scope: 'I', LanguageType: 'L', Name: "Ngambay"},
"sbb": {Part3: "sbb", Scope: 'I', LanguageType: 'L', Name: "Simbo"},
"sbc": {Part3: "sbc", Scope: 'I', LanguageType: 'L', Name: "Kele (Papua New Guinea)"},
"sbd": {Part3: "sbd", Scope: 'I', LanguageType: 'L', Name: "Southern Samo"},
"sbe": {Part3: "sbe", Scope: 'I', LanguageType: 'L', Name: "Saliba"},
"sbf": {Part3: "sbf", Scope: 'I', LanguageType: 'L', Name: "Chabu"},
"sbg": {Part3: "sbg", Scope: 'I', LanguageType: 'L', Name: "Seget"},
"sbh": {Part3: "sbh", Scope: 'I', LanguageType: 'L', Name: "Sori-Harengan"},
"sbi": {Part3: "sbi", Scope: 'I', LanguageType: 'L', Name: "Seti"},
"sbj": {Part3: "sbj", Scope: 'I', LanguageType: 'L', Name: "Surbakhal"},
"sbk": {Part3: "sbk", Scope: 'I', LanguageType: 'L', Name: "Safwa"},
"sbl": {Part3: "sbl", Scope: 'I', LanguageType: 'L', Name: "Botolan Sambal"},
"sbm": {Part3: "sbm", Scope: 'I', LanguageType: 'L', Name: "Sagala"},
"sbn": {Part3: "sbn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sbo": {Part3: "sbo", Scope: 'I', LanguageType: 'L', Name: "Sabüm"},
"sbp": {Part3: "sbp", Scope: 'I', LanguageType: 'L', Name: "Sangu (Tanzania)"},
"sbq": {Part3: "sbq", Scope: 'I', LanguageType: 'L', Name: "Sileibi"},
"sbr": {Part3: "sbr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sbs": {Part3: "sbs", Scope: 'I', LanguageType: 'L', Name: "Subiya"},
"sbt": {Part3: "sbt", Scope: 'I', LanguageType: 'L', Name: "Kimki"},
"sbu": {Part3: "sbu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sbv": {Part3: "sbv", Scope: 'I', LanguageType: 'A', Name: "Sabine"},
"sbw": {Part3: "sbw", Scope: 'I', LanguageType: 'L', Name: "Simba"},
"sbx": {Part3: "sbx", Scope: 'I', LanguageType: 'L', Name: "Seberuang"},
"sby": {Part3: "sby", Scope: 'I', LanguageType: 'L', Name: "Soli"},
"sbz": {Part3: "sbz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"scb": {Part3: "scb", Scope: 'I', LanguageType: 'L', Name: "Chut"},
"sce": {Part3: "sce", Scope: 'I', LanguageType: 'L', Name: "Dongxiang"},
"scf": {Part3: "scf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"scg": {Part3: "scg", Scope: 'I', LanguageType: 'L', Name: "Sanggau"},
"sch": {Part3: "sch", Scope: 'I', LanguageType: 'L', Name: "Sakachep"},
"sci": {Part3: "sci", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sck": {Part3: "sck", Scope: 'I', LanguageType: 'L', Name: "Sadri"},
"scl": {Part3: "scl", Scope: 'I', LanguageType: 'L', Name: "Shina"},
"scn": {Part3: "scn", Part2B: "scn", Part2T: "scn", Scope: 'I', LanguageType: 'L', Name: "Sicilian"},
"sco": {Part3: "sco", Part2B: "sco", Part2T: "sco", Scope: 'I', LanguageType: 'L', Name: "Scots"},
"scp": {Part3: "scp", Scope: 'I', LanguageType: 'L', Name: "Hyolmo"},
"scq": {Part3: "scq", Scope: 'I', LanguageType: 'L', Name: "Sa'och"},
"scs": {Part3: "scs", Scope: 'I', LanguageType: 'L', Name: "North Slavey"},
"sct": {Part3: "sct", Scope: 'I', LanguageType: 'L', Name: "Southern Katang"},
"scu": {Part3: "scu", Scope: 'I', LanguageType: 'L', Name: "Shumcho"},
"scv": {Part3: "scv", Scope: 'I', LanguageType: 'L', Name: "Sheni"},
"scw": {Part3: "scw", Scope: 'I', LanguageType: 'L', Name: "Sha"},
"scx": {Part3: "scx", Scope: 'I', LanguageType: 'A', Name: "Sicel"},
"sda": {Part3: "sda", Scope: 'I', LanguageType: 'L', Name: "Toraja-Sa'dan"},
"sdb": {Part3: "sdb", Scope: 'I', LanguageType: 'L', Name: "Shabak"},
"sdc": {Part3: "sdc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sde": {Part3: "sde", Scope: 'I', LanguageType: 'L', Name: "Surubu"},
"sdf": {Part3: "sdf", Scope: 'I', LanguageType: 'L', Name: "Sarli"},
"sdg": {Part3: "sdg", Scope: 'I', LanguageType: 'L', Name: "Savi"},
"sdh": {Part3: "sdh", Scope: 'I', LanguageType: 'L', Name: "Southern Kurdish"},
"sdj": {Part3: "sdj", Scope: 'I', LanguageType: 'L', Name: "Suundi"},
"sdk": {Part3: "sdk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sdl": {Part3: "sdl", Scope: 'I', LanguageType: 'L', Name: "Saudi Arabian Sign Language"},
"sdn": {Part3: "sdn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sdo": {Part3: "sdo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sdp": {Part3: "sdp", Scope: 'I', LanguageType: 'L', Name: "Sherdukpen"},
"sdq": {Part3: "sdq", Scope: 'I', LanguageType: 'L', Name: "Semandang"},
"sdr": {Part3: "sdr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sds": {Part3: "sds", Scope: 'I', LanguageType: 'E', Name: "Sened"},
"sdt": {Part3: "sdt", Scope: 'I', LanguageType: 'E', Name: "Shuadit"},
"sdu": {Part3: "sdu", Scope: 'I', LanguageType: 'L', Name: "Sarudu"},
"sdx": {Part3: "sdx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sdz": {Part3: "sdz", Scope: 'I', LanguageType: 'L', Name: "Sallands"},
"sea": {Part3: "sea", Scope: 'I', LanguageType: 'L', Name: "Semai"},
"seb": {Part3: "seb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sec": {Part3: "sec", Scope: 'I', LanguageType: 'L', Name: "Sechelt"},
"sed": {Part3: "sed", Scope: 'I', LanguageType: 'L', Name: "Sedang"},
"see": {Part3: "see", Scope: 'I', LanguageType: 'L', Name: "Seneca"},
"sef": {Part3: "sef", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"seg": {Part3: "seg", Scope: 'I', LanguageType: 'L', Name: "Segeju"},
"seh": {Part3: "seh", Scope: 'I', LanguageType: 'L', Name: "Sena"},
"sei": {Part3: "sei", Scope: 'I', LanguageType: 'L', Name: "Seri"},
"sej": {Part3: "sej", Scope: 'I', LanguageType: 'L', Name: "Sene"},
"sek": {Part3: "sek", Scope: 'I', LanguageType: 'L', Name: "Sekani"},
"sel": {Part3: "sel", Part2B: "sel", Part2T: "sel", Scope: 'I', LanguageType: 'L', Name: "Selkup"},
"sen": {Part3: "sen", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"seo": {Part3: "seo", Scope: 'I', LanguageType: 'L', Name: "Suarmin"},
"sep": {Part3: "sep", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"seq": {Part3: "seq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ser": {Part3: "ser", Scope: 'I', LanguageType: 'L', Name: "Serrano"},
"ses": {Part3: "ses", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"set": {Part3: "set", Scope: 'I', LanguageType: 'L', Name: "Sentani"},
"seu": {Part3: "seu", Scope: 'I', LanguageType: 'L', Name: "Serui-Laut"},
"sev": {Part3: "sev", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sew": {Part3: "sew", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sey": {Part3: "sey", Scope: 'I', LanguageType: 'L', Name: "Secoya"},
"sez": {Part3: "sez", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sfb": {Part3: "sfb", Scope: 'I', LanguageType: 'L', Name: "Langue des signes de Belgique Francophone"},
"sfe": {Part3: "sfe", Scope: 'I', LanguageType: 'L', Name: "Eastern Subanen"},
"sfm": {Part3: "sfm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sfs": {Part3: "sfs", Scope: 'I', LanguageType: 'L', Name: "South African Sign Language"},
"sfw": {Part3: "sfw", Scope: 'I', LanguageType: 'L', Name: "Sehwi"},
"sga": {Part3: "sga", Part2B: "sga", Part2T: "sga", Scope: 'I', LanguageType: 'H', Name: "Old Irish (to 900)"},
"sgb": {Part3: "sgb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sgc": {Part3: "sgc", Scope: 'I', LanguageType: 'L', Name: "Kipsigis"},
"sgd": {Part3: "sgd", Scope: 'I', LanguageType: 'L', Name: "Surigaonon"},
"sge": {Part3: "sge", Scope: 'I', LanguageType: 'L', Name: "Segai"},
"sgg": {Part3: "sgg", Scope: 'I', LanguageType: 'L', Name: "Swiss-German Sign Language"},
"sgh": {Part3: "sgh", Scope: 'I', LanguageType: 'L', Name: "Shughni"},
"sgi": {Part3: "sgi", Scope: 'I', LanguageType: 'L', Name: "Suga"},
"sgj": {Part3: "sgj", Scope: 'I', LanguageType: 'L', Name: "Surgujia"},
"sgk": {Part3: "sgk", Scope: 'I', LanguageType: 'L', Name: "Sangkong"},
"sgm": {Part3: "sgm", Scope: 'I', LanguageType: 'E', Name: "Singa"},
"sgp": {Part3: "sgp", Scope: 'I', LanguageType: 'L', Name: "Singpho"},
"sgr": {Part3: "sgr", Scope: 'I', LanguageType: 'L', Name: "Sangisari"},
"sgs": {Part3: "sgs", Scope: 'I', LanguageType: 'L', Name: "Samogitian"},
"sgt": {Part3: "sgt", Scope: 'I', LanguageType: 'L', Name: "Brokpake"},
"sgu": {Part3: "sgu", Scope: 'I', LanguageType: 'L', Name: "Salas"},
"sgw": {Part3: "sgw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sgx": {Part3: "sgx", Scope: 'I', LanguageType: 'L', Name: "Sierra Leone Sign Language"},
"sgy": {Part3: "sgy", Scope: 'I', LanguageType: 'L', Name: "Sanglechi"},
"sgz": {Part3: "sgz", Scope: 'I', LanguageType: 'L', Name: "Sursurunga"},
"sha": {Part3: "sha", Scope: 'I', LanguageType: 'L', Name: "Shall-Zwall"},
"shb": {Part3: "shb", Scope: 'I', LanguageType: 'L', Name: "Ninam"},
"shc": {Part3: "shc", Scope: 'I', LanguageType: 'L', Name: "Sonde"},
"shd": {Part3: "shd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"she": {Part3: "she", Scope: 'I', LanguageType: 'L', Name: "Sheko"},
"shg": {Part3: "shg", Scope: 'I', LanguageType: 'L', Name: "Shua"},
"shh": {Part3: "shh", Scope: 'I', LanguageType: 'L', Name: "Shoshoni"},
"shi": {Part3: "shi", Scope: 'I', LanguageType: 'L', Name: "Tachelhit"},
"shj": {Part3: "shj", Scope: 'I', LanguageType: 'L', Name: "Shatt"},
"shk": {Part3: "shk", Scope: 'I', LanguageType: 'L', Name: "Shilluk"},
"shl": {Part3: "shl", Scope: 'I', LanguageType: 'L', Name: "Shendu"},
"shm": {Part3: "shm", Scope: 'I', LanguageType: 'L', Name: "Shahrudi"},
"shn": {Part3: "shn", Part2B: "shn", Part2T: "shn", Scope: 'I', LanguageType: 'L', Name: "Shan"},
"sho": {Part3: "sho", Scope: 'I', LanguageType: 'L', Name: "Shanga"},
"shp": {Part3: "shp", Scope: 'I', LanguageType: 'L', Name: "Shipibo-Conibo"},
"shq": {Part3: "shq", Scope: 'I', LanguageType: 'L', Name: "Sala"},
"shr": {Part3: "shr", Scope: 'I', LanguageType: 'L', Name: "Shi"},
"shs": {Part3: "shs", Scope: 'I', LanguageType: 'L', Name: "Shuswap"},
"sht": {Part3: "sht", Scope: 'I', LanguageType: 'E', Name: "Shasta"},
"shu": {Part3: "shu", Scope: 'I', LanguageType: 'L', Name: "Chadian Arabic"},
"shv": {Part3: "shv", Scope: 'I', LanguageType: 'L', Name: "Shehri"},
"shw": {Part3: "shw", Scope: 'I', LanguageType: 'L', Name: "Shwai"},
"shx": {Part3: "shx", Scope: 'I', LanguageType: 'L', Name: "She"},
"shy": {Part3: "shy", Scope: 'I', LanguageType: 'L', Name: "Tachawit"},
"shz": {Part3: "shz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sia": {Part3: "sia", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"sib": {Part3: "sib", Scope: 'I', LanguageType: 'L', Name: "Sebop"},
"sid": {Part3: "sid", Part2B: "sid", Part2T: "sid", Scope: 'I', LanguageType: 'L', Name: "Sidamo"},
"sie": {Part3: "sie", Scope: 'I', LanguageType: 'L', Name: "Simaa"},
"sif": {Part3: "sif", Scope: 'I', LanguageType: 'L', Name: "Siamou"},
"sig": {Part3: "sig", Scope: 'I', LanguageType: 'L', Name: "Paasaal"},
"sih": {Part3: "sih", Scope: 'I', LanguageType: 'L', Name: "Zire"},
"sii": {Part3: "sii", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sij": {Part3: "sij", Scope: 'I', LanguageType: 'L', Name: "Numbami"},
"sik": {Part3: "sik", Scope: 'I', LanguageType: 'L', Name: "Sikiana"},
"sil": {Part3: "sil", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sim": {Part3: "sim", Scope: 'I', LanguageType: 'L', Name: "Mende (Papua New Guinea)"},
"sin": {Part3: "sin", Part2B: "sin", Part2T: "sin", Part1: "si", Scope: 'I', LanguageType: 'L', Name: "Sinhala"},
"sip": {Part3: "sip", Scope: 'I', LanguageType: 'L', Name: "Sikkimese"},
"siq": {Part3: "siq", Scope: 'I', LanguageType: 'L', Name: "Sonia"},
"sir": {Part3: "sir", Scope: 'I', LanguageType: 'L', Name: "Siri"},
"sis": {Part3: "sis", Scope: 'I', LanguageType: 'E', Name: "Siuslaw"},
"siu": {Part3: "siu", Scope: 'I', LanguageType: 'L', Name: "Sinagen"},
"siv": {Part3: "siv", Scope: 'I', LanguageType: 'L', Name: "Sumariup"},
"siw": {Part3: "siw", Scope: 'I', LanguageType: 'L', Name: "Siwai"},
"six": {Part3: "six", Scope: 'I', LanguageType: 'L', Name: "Sumau"},
"siy": {Part3: "siy", Scope: 'I', LanguageType: 'L', Name: "Sivandi"},
"siz": {Part3: "siz", Scope: 'I', LanguageType: 'L', Name: "Siwi"},
"sja": {Part3: "sja", Scope: 'I', LanguageType: 'L', Name: "Epena"},
"sjb": {Part3: "sjb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sjd": {Part3: "sjd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sje": {Part3: "sje", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sjg": {Part3: "sjg", Scope: 'I', LanguageType: 'L', Name: "Assangori"},
"sjk": {Part3: "sjk", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"sjl": {Part3: "sjl", Scope: 'I', LanguageType: 'L', Name: "Sajalong"},
"sjm": {Part3: "sjm", Scope: 'I', LanguageType: 'L', Name: "Mapun"},
"sjn": {Part3: "sjn", Scope: 'I', LanguageType: 'C', Name: "Sindarin"},
"sjo": {Part3: "sjo", Scope: 'I', LanguageType: 'L', Name: "Xibe"},
"sjp": {Part3: "sjp", Scope: 'I', LanguageType: 'L', Name: "Surjapuri"},
"sjr": {Part3: "sjr", Scope: 'I', LanguageType: 'L', Name: "Siar-Lak"},
"sjs": {Part3: "sjs", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"sjt": {Part3: "sjt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sju": {Part3: "sju", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sjw": {Part3: "sjw", Scope: 'I', LanguageType: 'L', Name: "Shawnee"},
"ska": {Part3: "ska", Scope: 'I', LanguageType: 'L', Name: "Skagit"},
"skb": {Part3: "skb", Scope: 'I', LanguageType: 'L', Name: "Saek"},
"skc": {Part3: "skc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"skd": {Part3: "skd", Scope: 'I', LanguageType: 'L', Name: "Southern Sierra Miwok"},
"ske": {Part3: "ske", Scope: 'I', LanguageType: 'L', Name: "Seke (Vanuatu)"},
"skf": {Part3: "skf", Scope: 'I', LanguageType: 'L', Name: "Sakirabiá"},
"skg": {Part3: "skg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"skh": {Part3: "skh", Scope: 'I', LanguageType: 'L', Name: "Sikule"},
"ski": {Part3: "ski", Scope: 'I', LanguageType: 'L', Name: "Sika"},
"skj": {Part3: "skj", Scope: 'I', LanguageType: 'L', Name: "Seke (Nepal)"},
"skm": {Part3: "skm", Scope: 'I', LanguageType: 'L', Name: "Kutong"},
"skn": {Part3: "skn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sko": {Part3: "sko", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"skp": {Part3: "skp", Scope: 'I', LanguageType: 'L', Name: "Sekapan"},
"skq": {Part3: "skq", Scope: 'I', LanguageType: 'L', Name: "Sininkere"},
"skr": {Part3: "skr", Scope: 'I', LanguageType: 'L', Name: "Saraiki"},
"sks": {Part3: "sks", Scope: 'I', LanguageType: 'L', Name: "Maia"},
"skt": {Part3: "skt", Scope: 'I', LanguageType: 'L', Name: "Sakata"},
"sku": {Part3: "sku", Scope: 'I', LanguageType: 'L', Name: "Sakao"},
"skv": {Part3: "skv", Scope: 'I', LanguageType: 'L', Name: "Skou"},
"skw": {Part3: "skw", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"skx": {Part3: "skx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sky": {Part3: "sky", Scope: 'I', LanguageType: 'L', Name: "Sikaiana"},
"skz": {Part3: "skz", Scope: 'I', LanguageType: 'L', Name: "Sekar"},
"slc": {Part3: "slc", Scope: 'I', LanguageType: 'L', Name: "Sáliba"},
"sld": {Part3: "sld", Scope: 'I', LanguageType: 'L', Name: "Sissala"},
"sle": {Part3: "sle", Scope: 'I', LanguageType: 'L', Name: "Sholaga"},
"slf": {Part3: "slf", Scope: 'I', LanguageType: 'L', Name: "Swiss-Italian Sign Language"},
"slg": {Part3: "slg", Scope: 'I', LanguageType: 'L', Name: "Selungai Murut"},
"slh": {Part3: "slh", Scope: 'I', LanguageType: 'L', Name: "Southern Puget Sound Salish"},
"sli": {Part3: "sli", Scope: 'I', LanguageType: 'L', Name: "Lower Silesian"},
"slj": {Part3: "slj", Scope: 'I', LanguageType: 'L', Name: "Salumá"},
"slk": {Part3: "slk", Part2B: "slo", Part2T: "slk", Part1: "sk", Scope: 'I', LanguageType: 'L', Name: "Slovak"},
"sll": {Part3: "sll", Scope: 'I', LanguageType: 'L', Name: "Salt-Yui"},
"slm": {Part3: "slm", Scope: 'I', LanguageType: 'L', Name: "Pangutaran Sama"},
"sln": {Part3: "sln", Scope: 'I', LanguageType: 'E', Name: "Salinan"},
"slp": {Part3: "slp", Scope: 'I', LanguageType: 'L', Name: "Lamaholot"},
"slq": {Part3: "slq", Scope: 'I', LanguageType: 'E', Name: "Salchuq"},
"slr": {Part3: "slr", Scope: 'I', LanguageType: 'L', Name: "Salar"},
"sls": {Part3: "sls", Scope: 'I', LanguageType: 'L', Name: "Singapore Sign Language"},
"slt": {Part3: "slt", Scope: 'I', LanguageType: 'L', Name: "Sila"},
"slu": {Part3: "slu", Scope: 'I', LanguageType: 'L', Name: "Selaru"},
"slv": {Part3: "slv", Part2B: "slv", Part2T: "slv", Part1: "sl", Scope: 'I', LanguageType: 'L', Name: "Slovenian"},
"slw": {Part3: "slw", Scope: 'I', LanguageType: 'L', Name: "Sialum"},
"slx": {Part3: "slx", Scope: 'I', LanguageType: 'L', Name: "Salampasu"},
"sly": {Part3: "sly", Scope: 'I', LanguageType: 'L', Name: "Selayar"},
"slz": {Part3: "slz", Scope: 'I', LanguageType: 'L', Name: "Ma'ya"},
"sma": {Part3: "sma", Part2B: "sma", Part2T: "sma", Scope: 'I', LanguageType: 'L', Name: "Southern Sami"},
"smb": {Part3: "smb", Scope: 'I', LanguageType: 'L', Name: "Simbari"},
"smc": {Part3: "smc", Scope: 'I', LanguageType: 'E', Name: "Som"},
"smd": {Part3: "smd", Scope: 'I', LanguageType: 'L', Name: "Sama"},
"sme": {Part3: "sme", Part2B: "sme", Part2T: "sme", Part1: "se", Scope: 'I', LanguageType: 'L', Name: "Northern Sami"},
"smf": {Part3: "smf", Scope: 'I', LanguageType: 'L', Name: "Auwe"},
"smg": {Part3: "smg", Scope: 'I', LanguageType: 'L', Name: "Simbali"},
"smh": {Part3: "smh", Scope: 'I', LanguageType: 'L', Name: "Samei"},
"smj": {Part3: "smj", Part2B: "smj", Part2T: "smj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"smk": {Part3: "smk", Scope: 'I', LanguageType: 'L', Name: "Bolinao"},
"sml": {Part3: "sml", Scope: 'I', LanguageType: 'L', Name: "Central Sama"},
"smm": {Part3: "smm", Scope: 'I', LanguageType: 'L', Name: "Musasa"},
"smn": {Part3: "smn", Part2B: "smn", Part2T: "smn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"smo": {Part3: "smo", Part2B: "smo", Part2T: "smo", Part1: "sm", Scope: 'I', LanguageType: 'L', Name: "Samoan"},
"smp": {Part3: "smp", Scope: 'I', LanguageType: 'E', Name: "Samaritan"},
"smq": {Part3: "smq", Scope: 'I', LanguageType: 'L', Name: "Samo"},
"smr": {Part3: "smr", Scope: 'I', LanguageType: 'L', Name: "Simeulue"},
"sms": {Part3: "sms", Part2B: "sms", Part2T: "sms", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"smt": {Part3: "smt", Scope: 'I', LanguageType: 'L', Name: "Simte"},
"smu": {Part3: "smu", Scope: 'I', LanguageType: 'E', Name: "Somray"},
"smv": {Part3: "smv", Scope: 'I', LanguageType: 'L', Name: "Samvedi"},
"smw": {Part3: "smw", Scope: 'I', LanguageType: 'L', Name: "Sumbawa"},
"smx": {Part3: "smx", Scope: 'I', LanguageType: 'L', Name: "Samba"},
"smy": {Part3: "smy", Scope: 'I', LanguageType: 'L', Name: "Semnani"},
"smz": {Part3: "smz", Scope: 'I', LanguageType: 'L', Name: "Simeku"},
"sna": {Part3: "sna", Part2B: "sna", Part2T: "sna", Part1: "sn", Scope: 'I', LanguageType: 'L', Name: "Shona"},
"snb": {Part3: "snb", Scope: 'I', LanguageType: 'L', Name: "Sebuyau"},
"snc": {Part3: "snc", Scope: 'I', LanguageType: 'L', Name: "Sinaugoro"},
"snd": {Part3: "snd", Part2B: "snd", Part2T: "snd", Part1: "sd", Scope: 'I', LanguageType: 'L', Name: "Sindhi"},
"sne": {Part3: "sne", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"snf": {Part3: "snf", Scope: 'I', LanguageType: 'L', Name: "Noon"},
"sng": {Part3: "sng", Scope: 'I', LanguageType: 'L', Name: "Sanga (Democratic Republic of Congo)"},
"sni": {Part3: "sni", Scope: 'I', LanguageType: 'E', Name: "Sensi"},
"snj": {Part3: "snj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"snk": {Part3: "snk", Part2B: "snk", Part2T: "snk", Scope: 'I', LanguageType: 'L', Name: "Soninke"},
"snl": {Part3: "snl", Scope: 'I', LanguageType: 'L', Name: "Sangil"},
"snm": {Part3: "snm", Scope: 'I', LanguageType: 'L', Name: "Southern Ma'di"},
"snn": {Part3: "snn", Scope: 'I', LanguageType: 'L', Name: "Siona"},
"sno": {Part3: "sno", Scope: 'I', LanguageType: 'L', Name: "Snohomish"},
"snp": {Part3: "snp", Scope: 'I', LanguageType: 'L', Name: "Siane"},
"snq": {Part3: "snq", Scope: 'I', LanguageType: 'L', Name: "Sangu (Gabon)"},
"snr": {Part3: "snr", Scope: 'I', LanguageType: 'L', Name: "Sihan"},
"sns": {Part3: "sns", Scope: 'I', LanguageType: 'L', Name: "South West Bay"},
"snu": {Part3: "snu", Scope: 'I', LanguageType: 'L', Name: "Senggi"},
"snv": {Part3: "snv", Scope: 'I', LanguageType: 'L', Name: "Sa'ban"},
"snw": {Part3: "snw", Scope: 'I', LanguageType: 'L', Name: "Selee"},
"snx": {Part3: "snx", Scope: 'I', LanguageType: 'L', Name: "Sam"},
"sny": {Part3: "sny", Scope: 'I', LanguageType: 'L', Name: "Saniyo-Hiyewe"},
"snz": {Part3: "snz", Scope: 'I', LanguageType: 'L', Name: "Kou"},
"soa": {Part3: "soa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sob": {Part3: "sob", Scope: 'I', LanguageType: 'L', Name: "Sobei"},
"soc": {Part3: "soc", Scope: 'I', LanguageType: 'L', Name: "So (Democratic Republic of Congo)"},
"sod": {Part3: "sod", Scope: 'I', LanguageType: 'L', Name: "Songoora"},
"soe": {Part3: "soe", Scope: 'I', LanguageType: 'L', Name: "Songomeno"},
"sog": {Part3: "sog", Part2B: "sog", Part2T: "sog", Scope: 'I', LanguageType: 'A', Name: "Sogdian"},
"soh": {Part3: "soh", Scope: 'I', LanguageType: 'L', Name: "Aka"},
"soi": {Part3: "soi", Scope: 'I', LanguageType: 'L', Name: "Sonha"},
"soj": {Part3: "soj", Scope: 'I', LanguageType: 'L', Name: "Soi"},
"sok": {Part3: "sok", Scope: 'I', LanguageType: 'L', Name: "Sokoro"},
"sol": {Part3: "sol", Scope: 'I', LanguageType: 'L', Name: "Solos"},
"som": {Part3: "som", Part2B: "som", Part2T: "som", Part1: "so", Scope: 'I', LanguageType: 'L', Name: "Somali"},
"soo": {Part3: "soo", Scope: 'I', LanguageType: 'L', Name: "Songo"},
"sop": {Part3: "sop", Scope: 'I', LanguageType: 'L', Name: "Songe"},
"soq": {Part3: "soq", Scope: 'I', LanguageType: 'L', Name: "Kanasi"},
"sor": {Part3: "sor", Scope: 'I', LanguageType: 'L', Name: "Somrai"},
"sos": {Part3: "sos", Scope: 'I', LanguageType: 'L', Name: "Seeku"},
"sot": {Part3: "sot", Part2B: "sot", Part2T: "sot", Part1: "st", Scope: 'I', LanguageType: 'L', Name: "Southern Sotho"},
"sou": {Part3: "sou", Scope: 'I', LanguageType: 'L', Name: "Southern Thai"},
"sov": {Part3: "sov", Scope: 'I', LanguageType: 'L', Name: "Sonsorol"},
"sow": {Part3: "sow", Scope: 'I', LanguageType: 'L', Name: "Sowanda"},
"sox": {Part3: "sox", Scope: 'I', LanguageType: 'L', Name: "Swo"},
"soy": {Part3: "soy", Scope: 'I', LanguageType: 'L', Name: "Miyobe"},
"soz": {Part3: "soz", Scope: 'I', LanguageType: 'L', Name: "Temi"},
"spa": {Part3: "spa", Part2B: "spa", Part2T: "spa", Part1: "es", Scope: 'I', LanguageType: 'L', Name: "Spanish"},
"spb": {Part3: "spb", Scope: 'I', LanguageType: 'L', Name: "Sepa (Indonesia)"},
"spc": {Part3: "spc", Scope: 'I', LanguageType: 'L', Name: "Sapé"},
"spd": {Part3: "spd", Scope: 'I', LanguageType: 'L', Name: "Saep"},
"spe": {Part3: "spe", Scope: 'I', LanguageType: 'L', Name: "Sepa (Papua New Guinea)"},
"spg": {Part3: "spg", Scope: 'I', LanguageType: 'L', Name: "Sian"},
"spi": {Part3: "spi", Scope: 'I', LanguageType: 'L', Name: "Saponi"},
"spk": {Part3: "spk", Scope: 'I', LanguageType: 'L', Name: "Sengo"},
"spl": {Part3: "spl", Scope: 'I', LanguageType: 'L', Name: "Selepet"},
"spm": {Part3: "spm", Scope: 'I', LanguageType: 'L', Name: "Akukem"},
"spn": {Part3: "spn", Scope: 'I', LanguageType: 'L', Name: "Sanapaná"},
"spo": {Part3: "spo", Scope: 'I', LanguageType: 'L', Name: "Spokane"},
"spp": {Part3: "spp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"spq": {Part3: "spq", Scope: 'I', LanguageType: 'L', Name: "Loreto-Ucayali Spanish"},
"spr": {Part3: "spr", Scope: 'I', LanguageType: 'L', Name: "Saparua"},
"sps": {Part3: "sps", Scope: 'I', LanguageType: 'L', Name: "Saposa"},
"spt": {Part3: "spt", Scope: 'I', LanguageType: 'L', Name: "Spiti Bhoti"},
"spu": {Part3: "spu", Scope: 'I', LanguageType: 'L', Name: "Sapuan"},
"spv": {Part3: "spv", Scope: 'I', LanguageType: 'L', Name: "Sambalpuri"},
"spx": {Part3: "spx", Scope: 'I', LanguageType: 'A', Name: "South Picene"},
"spy": {Part3: "spy", Scope: 'I', LanguageType: 'L', Name: "Sabaot"},
"sqa": {Part3: "sqa", Scope: 'I', LanguageType: 'L', Name: "Shama-Sambuga"},
"sqh": {Part3: "sqh", Scope: 'I', LanguageType: 'L', Name: "Shau"},
"sqi": {Part3: "sqi", Part2B: "alb", Part2T: "sqi", Part1: "sq", Scope: 'M', LanguageType: 'L', Name: "Albanian"},
"sqk": {Part3: "sqk", Scope: 'I', LanguageType: 'L', Name: "Albanian Sign Language"},
"sqm": {Part3: "sqm", Scope: 'I', LanguageType: 'L', Name: "Suma"},
"sqn": {Part3: "sqn", Scope: 'I', LanguageType: 'E', Name: "Susquehannock"},
"sqo": {Part3: "sqo", Scope: 'I', LanguageType: 'L', Name: "Sorkhei"},
"sqq": {Part3: "sqq", Scope: 'I', LanguageType: 'L', Name: "Sou"},
"sqr": {Part3: "sqr", Scope: 'I', LanguageType: 'H', Name: "Siculo Arabic"},
"sqs": {Part3: "sqs", Scope: 'I', LanguageType: 'L', Name: "Sri Lankan Sign Language"},
"sqt": {Part3: "sqt", Scope: 'I', LanguageType: 'L', Name: "Soqotri"},
"squ": {Part3: "squ", Scope: 'I', LanguageType: 'L', Name: "Squamish"},
"sqx": {Part3: "sqx", Scope: 'I', LanguageType: 'L', Name: "Kufr Qassem Sign Language (KQSL)"},
"sra": {Part3: "sra", Scope: 'I', LanguageType: 'L', Name: "Saruga"},
"srb": {Part3: "srb", Scope: 'I', LanguageType: 'L', Name: "Sora"},
"src": {Part3: "src", Scope: 'I', LanguageType: 'L', Name: "Logudorese Sardinian"},
"srd": {Part3: "srd", Part2B: "srd", Part2T: "srd", Part1: "sc", Scope: 'M', LanguageType: 'L', Name: "Sardinian"},
"sre": {Part3: "sre", Scope: 'I', LanguageType: 'L', Name: "Sara"},
"srf": {Part3: "srf", Scope: 'I', LanguageType: 'L', Name: "Nafi"},
"srg": {Part3: "srg", Scope: 'I', LanguageType: 'L', Name: "Sulod"},
"srh": {Part3: "srh", Scope: 'I', LanguageType: 'L', Name: "Sarikoli"},
"sri": {Part3: "sri", Scope: 'I', LanguageType: 'L', Name: "Siriano"},
"srk": {Part3: "srk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"srl": {Part3: "srl", Scope: 'I', LanguageType: 'L', Name: "Isirawa"},
"srm": {Part3: "srm", Scope: 'I', LanguageType: 'L', Name: "Saramaccan"},
"srn": {Part3: "srn", Part2B: "srn", Part2T: "srn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sro": {Part3: "sro", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"srp": {Part3: "srp", Part2B: "srp", Part2T: "srp", Part1: "sr", Scope: 'I', LanguageType: 'L', Name: "Serbian"},
"srq": {Part3: "srq", Scope: 'I', LanguageType: 'L', Name: "Sirionó"},
"srr": {Part3: "srr", Part2B: "srr", Part2T: "srr", Scope: 'I', LanguageType: 'L', Name: "Serer"},
"srs": {Part3: "srs", Scope: 'I', LanguageType: 'L', Name: "Sarsi"},
"srt": {Part3: "srt", Scope: 'I', LanguageType: 'L', Name: "Sauri"},
"sru": {Part3: "sru", Scope: 'I', LanguageType: 'L', Name: "Suruí"},
"srv": {Part3: "srv", Scope: 'I', LanguageType: 'L', Name: "Southern Sorsoganon"},
"srw": {Part3: "srw", Scope: 'I', LanguageType: 'L', Name: "Serua"},
"srx": {Part3: "srx", Scope: 'I', LanguageType: 'L', Name: "Sirmauri"},
"sry": {Part3: "sry", Scope: 'I', LanguageType: 'L', Name: "Sera"},
"srz": {Part3: "srz", Scope: 'I', LanguageType: 'L', Name: "Shahmirzadi"},
"ssb": {Part3: "ssb", Scope: 'I', LanguageType: 'L', Name: "Southern Sama"},
"ssc": {Part3: "ssc", Scope: 'I', LanguageType: 'L', Name: "Suba-Simbiti"},
"ssd": {Part3: "ssd", Scope: 'I', LanguageType: 'L', Name: "Siroi"},
"sse": {Part3: "sse", Scope: 'I', LanguageType: 'L', Name: "Balangingi"},
"ssf": {Part3: "ssf", Scope: 'I', LanguageType: 'E', Name: "Thao"},
"ssg": {Part3: "ssg", Scope: 'I', LanguageType: 'L', Name: "Seimat"},
"ssh": {Part3: "ssh", Scope: 'I', LanguageType: 'L', Name: "Shihhi Arabic"},
"ssi": {Part3: "ssi", Scope: 'I', LanguageType: 'L', Name: "Sansi"},
"ssj": {Part3: "ssj", Scope: 'I', LanguageType: 'L', Name: "Sausi"},
"ssk": {Part3: "ssk", Scope: 'I', LanguageType: 'L', Name: "Sunam"},
"ssl": {Part3: "ssl", Scope: 'I', LanguageType: 'L', Name: "Western Sisaala"},
"ssm": {Part3: "ssm", Scope: 'I', LanguageType: 'L', Name: "Semnam"},
"ssn": {Part3: "ssn", Scope: 'I', LanguageType: 'L', Name: "Waata"},
"sso": {Part3: "sso", Scope: 'I', LanguageType: 'L', Name: "Sissano"},
"ssp": {Part3: "ssp", Scope: 'I', LanguageType: 'L', Name: "Spanish Sign Language"},
"ssq": {Part3: "ssq", Scope: 'I', LanguageType: 'L', Name: "So'a"},
"ssr": {Part3: "ssr", Scope: 'I', LanguageType: 'L', Name: "Swiss-French Sign Language"},
"sss": {Part3: "sss", Scope: 'I', LanguageType: 'L', Name: "Sô"},
"sst": {Part3: "sst", Scope: 'I', LanguageType: 'L', Name: "Sinasina"},
"ssu": {Part3: "ssu", Scope: 'I', LanguageType: 'L', Name: "Susuami"},
"ssv": {Part3: "ssv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ssw": {Part3: "ssw", Part2B: "ssw", Part2T: "ssw", Part1: "ss", Scope: 'I', LanguageType: 'L', Name: "Swati"},
"ssx": {Part3: "ssx", Scope: 'I', LanguageType: 'L', Name: "Samberigi"},
"ssy": {Part3: "ssy", Scope: 'I', LanguageType: 'L', Name: "Saho"},
"ssz": {Part3: "ssz", Scope: 'I', LanguageType: 'L', Name: "Sengseng"},
"sta": {Part3: "sta", Scope: 'I', LanguageType: 'L', Name: "Settla"},
"stb": {Part3: "stb", Scope: 'I', LanguageType: 'L', Name: "Northern Subanen"},
"std": {Part3: "std", Scope: 'I', LanguageType: 'L', Name: "Sentinel"},
"ste": {Part3: "ste", Scope: 'I', LanguageType: 'L', Name: "Liana-Seti"},
"stf": {Part3: "stf", Scope: 'I', LanguageType: 'L', Name: "Seta"},
"stg": {Part3: "stg", Scope: 'I', LanguageType: 'L', Name: "Trieng"},
"sth": {Part3: "sth", Scope: 'I', LanguageType: 'L', Name: "Shelta"},
"sti": {Part3: "sti", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"stj": {Part3: "stj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"stk": {Part3: "stk", Scope: 'I', LanguageType: 'L', Name: "Arammba"},
"stl": {Part3: "stl", Scope: 'I', LanguageType: 'L', Name: "Stellingwerfs"},
"stm": {Part3: "stm", Scope: 'I', LanguageType: 'L', Name: "Setaman"},
"stn": {Part3: "stn", Scope: 'I', LanguageType: 'L', Name: "Owa"},
"sto": {Part3: "sto", Scope: 'I', LanguageType: 'L', Name: "Stoney"},
"stp": {Part3: "stp", Scope: 'I', LanguageType: 'L', Name: "Southeastern Tepehuan"},
"stq": {Part3: "stq", Scope: 'I', LanguageType: 'L', Name: "Saterfriesisch"},
"str": {Part3: "str", Scope: 'I', LanguageType: 'L', Name: "Straits Salish"},
"sts": {Part3: "sts", Scope: 'I', LanguageType: 'L', Name: "Shumashti"},
"stt": {Part3: "stt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"stu": {Part3: "stu", Scope: 'I', LanguageType: 'L', Name: "Samtao"},
"stv": {Part3: "stv", Scope: 'I', LanguageType: 'L', Name: "Silt'e"},
"stw": {Part3: "stw", Scope: 'I', LanguageType: 'L', Name: "Satawalese"},
"sty": {Part3: "sty", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sua": {Part3: "sua", Scope: 'I', LanguageType: 'L', Name: "Sulka"},
"sub": {Part3: "sub", Scope: 'I', LanguageType: 'L', Name: "Suku"},
"suc": {Part3: "suc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sue": {Part3: "sue", Scope: 'I', LanguageType: 'L', Name: "Suena"},
"sug": {Part3: "sug", Scope: 'I', LanguageType: 'L', Name: "Suganga"},
"sui": {Part3: "sui", Scope: 'I', LanguageType: 'L', Name: "Suki"},
"suj": {Part3: "suj", Scope: 'I', LanguageType: 'L', Name: "Shubi"},
"suk": {Part3: "suk", Part2B: "suk", Part2T: "suk", Scope: 'I', LanguageType: 'L', Name: "Sukuma"},
"sun": {Part3: "sun", Part2B: "sun", Part2T: "sun", Part1: "su", Scope: 'I', LanguageType: 'L', Name: "Sundanese"},
"suo": {Part3: "suo", Scope: 'I', LanguageType: 'L', Name: "Bouni"},
"suq": {Part3: "suq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sur": {Part3: "sur", Scope: 'I', LanguageType: 'L', Name: "Mwaghavul"},
"sus": {Part3: "sus", Part2B: "sus", Part2T: "sus", Scope: 'I', LanguageType: 'L', Name: "Susu"},
"sut": {Part3: "sut", Scope: 'I', LanguageType: 'E', Name: "Subtiaba"},
"suv": {Part3: "suv", Scope: 'I', LanguageType: 'L', Name: "Puroik"},
"suw": {Part3: "suw", Scope: 'I', LanguageType: 'L', Name: "Sumbwa"},
"sux": {Part3: "sux", Part2B: "sux", Part2T: "sux", Scope: 'I', LanguageType: 'A', Name: "Sumerian"},
"suy": {Part3: "suy", Scope: 'I', LanguageType: 'L', Name: "Suyá"},
"suz": {Part3: "suz", Scope: 'I', LanguageType: 'L', Name: "Sunwar"},
"sva": {Part3: "sva", Scope: 'I', LanguageType: 'L', Name: "Svan"},
"svb": {Part3: "svb", Scope: 'I', LanguageType: 'L', Name: "Ulau-Suain"},
"svc": {Part3: "svc", Scope: 'I', LanguageType: 'L', Name: "Vincentian Creole English"},
"sve": {Part3: "sve", Scope: 'I', LanguageType: 'L', Name: "Serili"},
"svk": {Part3: "svk", Scope: 'I', LanguageType: 'L', Name: "Slovakian Sign Language"},
"svm": {Part3: "svm", Scope: 'I', LanguageType: 'L', Name: "Slavomolisano"},
"svs": {Part3: "svs", Scope: 'I', LanguageType: 'L', Name: "Savosavo"},
"svx": {Part3: "svx", Scope: 'I', LanguageType: 'H', Name: "Skalvian"},
"swa": {Part3: "swa", Part2B: "swa", Part2T: "swa", Part1: "sw", Scope: 'M', LanguageType: 'L', Name: "Swahili (macrolanguage)"},
"swb": {Part3: "swb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"swc": {Part3: "swc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"swe": {Part3: "swe", Part2B: "swe", Part2T: "swe", Part1: "sv", Scope: 'I', LanguageType: 'L', Name: "Swedish"},
"swf": {Part3: "swf", Scope: 'I', LanguageType: 'L', Name: "Sere"},
"swg": {Part3: "swg", Scope: 'I', LanguageType: 'L', Name: "Swabian"},
"swh": {Part3: "swh", Scope: 'I', LanguageType: 'L', Name: "Swahili (individual language)"},
"swi": {Part3: "swi", Scope: 'I', LanguageType: 'L', Name: "Sui"},
"swj": {Part3: "swj", Scope: 'I', LanguageType: 'L', Name: "Sira"},
"swk": {Part3: "swk", Scope: 'I', LanguageType: 'L', Name: "Malawi Sena"},
"swl": {Part3: "swl", Scope: 'I', LanguageType: 'L', Name: "Swedish Sign Language"},
"swm": {Part3: "swm", Scope: 'I', LanguageType: 'L', Name: "Samosa"},
"swn": {Part3: "swn", Scope: 'I', LanguageType: 'L', Name: "Sawknah"},
"swo": {Part3: "swo", Scope: 'I', LanguageType: 'L', Name: "Shanenawa"},
"swp": {Part3: "swp", Scope: 'I', LanguageType: 'L', Name: "Suau"},
"swq": {Part3: "swq", Scope: 'I', LanguageType: 'L', Name: "Sharwa"},
"swr": {Part3: "swr", Scope: 'I', LanguageType: 'L', Name: "Saweru"},
"sws": {Part3: "sws", Scope: 'I', LanguageType: 'L', Name: "Seluwasan"},
"swt": {Part3: "swt", Scope: 'I', LanguageType: 'L', Name: "Sawila"},
"swu": {Part3: "swu", Scope: 'I', LanguageType: 'L', Name: "Suwawa"},
"swv": {Part3: "swv", Scope: 'I', LanguageType: 'L', Name: "Shekhawati"},
"sww": {Part3: "sww", Scope: 'I', LanguageType: 'E', Name: "Sowa"},
"swx": {Part3: "swx", Scope: 'I', LanguageType: 'L', Name: "Suruahá"},
"swy": {Part3: "swy", Scope: 'I', LanguageType: 'L', Name: "Sarua"},
"sxb": {Part3: "sxb", Scope: 'I', LanguageType: 'L', Name: "Suba"},
"sxc": {Part3: "sxc", Scope: 'I', LanguageType: 'A', Name: "Sicanian"},
"sxe": {Part3: "sxe", Scope: 'I', LanguageType: 'L', Name: "Sighu"},
"sxg": {Part3: "sxg", Scope: 'I', LanguageType: 'L', Name: "Shuhi"},
"sxk": {Part3: "sxk", Scope: 'I', LanguageType: 'E', Name: "<NAME>apuya"},
"sxl": {Part3: "sxl", Scope: 'I', LanguageType: 'E', Name: "Selian"},
"sxm": {Part3: "sxm", Scope: 'I', LanguageType: 'L', Name: "Samre"},
"sxn": {Part3: "sxn", Scope: 'I', LanguageType: 'L', Name: "Sangir"},
"sxo": {Part3: "sxo", Scope: 'I', LanguageType: 'A', Name: "Sorothaptic"},
"sxr": {Part3: "sxr", Scope: 'I', LanguageType: 'L', Name: "Saaroa"},
"sxs": {Part3: "sxs", Scope: 'I', LanguageType: 'L', Name: "Sasaru"},
"sxu": {Part3: "sxu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sxw": {Part3: "sxw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sya": {Part3: "sya", Scope: 'I', LanguageType: 'L', Name: "Siang"},
"syb": {Part3: "syb", Scope: 'I', LanguageType: 'L', Name: "Central Subanen"},
"syc": {Part3: "syc", Part2B: "syc", Part2T: "syc", Scope: 'I', LanguageType: 'H', Name: "Classical Syriac"},
"syi": {Part3: "syi", Scope: 'I', LanguageType: 'L', Name: "Seki"},
"syk": {Part3: "syk", Scope: 'I', LanguageType: 'L', Name: "Sukur"},
"syl": {Part3: "syl", Scope: 'I', LanguageType: 'L', Name: "Sylheti"},
"sym": {Part3: "sym", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"syn": {Part3: "syn", Scope: 'I', LanguageType: 'L', Name: "Senaya"},
"syo": {Part3: "syo", Scope: 'I', LanguageType: 'L', Name: "Suoy"},
"syr": {Part3: "syr", Part2B: "syr", Part2T: "syr", Scope: 'M', LanguageType: 'L', Name: "Syriac"},
"sys": {Part3: "sys", Scope: 'I', LanguageType: 'L', Name: "Sinyar"},
"syw": {Part3: "syw", Scope: 'I', LanguageType: 'L', Name: "Kagate"},
"syx": {Part3: "syx", Scope: 'I', LanguageType: 'L', Name: "Samay"},
"syy": {Part3: "syy", Scope: 'I', LanguageType: 'L', Name: "Al-Sayyid Bedouin Sign Language"},
"sza": {Part3: "sza", Scope: 'I', LanguageType: 'L', Name: "Semelai"},
"szb": {Part3: "szb", Scope: 'I', LanguageType: 'L', Name: "Ngalum"},
"szc": {Part3: "szc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"szd": {Part3: "szd", Scope: 'I', LanguageType: 'E', Name: "Seru"},
"sze": {Part3: "sze", Scope: 'I', LanguageType: 'L', Name: "Seze"},
"szg": {Part3: "szg", Scope: 'I', LanguageType: 'L', Name: "Sengele"},
"szl": {Part3: "szl", Scope: 'I', LanguageType: 'L', Name: "Silesian"},
"szn": {Part3: "szn", Scope: 'I', LanguageType: 'L', Name: "Sula"},
"szp": {Part3: "szp", Scope: 'I', LanguageType: 'L', Name: "Suabo"},
"szs": {Part3: "szs", Scope: 'I', LanguageType: 'L', Name: "Solomon Islands Sign Language"},
"szv": {Part3: "szv", Scope: 'I', LanguageType: 'L', Name: "Isu (Fako Division)"},
"szw": {Part3: "szw", Scope: 'I', LanguageType: 'L', Name: "Sawai"},
"szy": {Part3: "szy", Scope: 'I', LanguageType: 'L', Name: "Sakizaya"},
"taa": {Part3: "taa", Scope: 'I', LanguageType: 'L', Name: "Lower Tanana"},
"tab": {Part3: "tab", Scope: 'I', LanguageType: 'L', Name: "Tabassaran"},
"tac": {Part3: "tac", Scope: 'I', LanguageType: 'L', Name: "Lowland Tarahumara"},
"tad": {Part3: "tad", Scope: 'I', LanguageType: 'L', Name: "Tause"},
"tae": {Part3: "tae", Scope: 'I', LanguageType: 'L', Name: "Tariana"},
"taf": {Part3: "taf", Scope: 'I', LanguageType: 'L', Name: "Tapirapé"},
"tag": {Part3: "tag", Scope: 'I', LanguageType: 'L', Name: "Tagoi"},
"tah": {Part3: "tah", Part2B: "tah", Part2T: "tah", Part1: "ty", Scope: 'I', LanguageType: 'L', Name: "Tahitian"},
"taj": {Part3: "taj", Scope: 'I', LanguageType: 'L', Name: "Eastern Tamang"},
"tak": {Part3: "tak", Scope: 'I', LanguageType: 'L', Name: "Tala"},
"tal": {Part3: "tal", Scope: 'I', LanguageType: 'L', Name: "Tal"},
"tam": {Part3: "tam", Part2B: "tam", Part2T: "tam", Part1: "ta", Scope: 'I', LanguageType: 'L', Name: "Tamil"},
"tan": {Part3: "tan", Scope: 'I', LanguageType: 'L', Name: "Tangale"},
"tao": {Part3: "tao", Scope: 'I', LanguageType: 'L', Name: "Yami"},
"tap": {Part3: "tap", Scope: 'I', LanguageType: 'L', Name: "Taabwa"},
"taq": {Part3: "taq", Scope: 'I', LanguageType: 'L', Name: "Tamasheq"},
"tar": {Part3: "tar", Scope: 'I', LanguageType: 'L', Name: "Central Tarahumara"},
"tas": {Part3: "tas", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"tat": {Part3: "tat", Part2B: "tat", Part2T: "tat", Part1: "tt", Scope: 'I', LanguageType: 'L', Name: "Tatar"},
"tau": {Part3: "tau", Scope: 'I', LanguageType: 'L', Name: "Upper Tanana"},
"tav": {Part3: "tav", Scope: 'I', LanguageType: 'L', Name: "Tatuyo"},
"taw": {Part3: "taw", Scope: 'I', LanguageType: 'L', Name: "Tai"},
"tax": {Part3: "tax", Scope: 'I', LanguageType: 'L', Name: "Tamki"},
"tay": {Part3: "tay", Scope: 'I', LanguageType: 'L', Name: "Atayal"},
"taz": {Part3: "taz", Scope: 'I', LanguageType: 'L', Name: "Tocho"},
"tba": {Part3: "tba", Scope: 'I', LanguageType: 'L', Name: "Aikanã"},
"tbc": {Part3: "tbc", Scope: 'I', LanguageType: 'L', Name: "Takia"},
"tbd": {Part3: "tbd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tbe": {Part3: "tbe", Scope: 'I', LanguageType: 'L', Name: "Tanimbili"},
"tbf": {Part3: "tbf", Scope: 'I', LanguageType: 'L', Name: "Mandara"},
"tbg": {Part3: "tbg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tbh": {Part3: "tbh", Scope: 'I', LanguageType: 'E', Name: "Dharawal"},
"tbi": {Part3: "tbi", Scope: 'I', LanguageType: 'L', Name: "Gaam"},
"tbj": {Part3: "tbj", Scope: 'I', LanguageType: 'L', Name: "Tiang"},
"tbk": {Part3: "tbk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tbl": {Part3: "tbl", Scope: 'I', LanguageType: 'L', Name: "Tboli"},
"tbm": {Part3: "tbm", Scope: 'I', LanguageType: 'L', Name: "Tagbu"},
"tbn": {Part3: "tbn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tbo": {Part3: "tbo", Scope: 'I', LanguageType: 'L', Name: "Tawala"},
"tbp": {Part3: "tbp", Scope: 'I', LanguageType: 'L', Name: "Taworta"},
"tbr": {Part3: "tbr", Scope: 'I', LanguageType: 'L', Name: "Tumtum"},
"tbs": {Part3: "tbs", Scope: 'I', LanguageType: 'L', Name: "Tanguat"},
"tbt": {Part3: "tbt", Scope: 'I', LanguageType: 'L', Name: "Tembo (Kitembo)"},
"tbu": {Part3: "tbu", Scope: 'I', LanguageType: 'E', Name: "Tubar"},
"tbv": {Part3: "tbv", Scope: 'I', LanguageType: 'L', Name: "Tobo"},
"tbw": {Part3: "tbw", Scope: 'I', LanguageType: 'L', Name: "Tagbanwa"},
"tbx": {Part3: "tbx", Scope: 'I', LanguageType: 'L', Name: "Kapin"},
"tby": {Part3: "tby", Scope: 'I', LanguageType: 'L', Name: "Tabaru"},
"tbz": {Part3: "tbz", Scope: 'I', LanguageType: 'L', Name: "Ditammari"},
"tca": {Part3: "tca", Scope: 'I', LanguageType: 'L', Name: "Ticuna"},
"tcb": {Part3: "tcb", Scope: 'I', LanguageType: 'L', Name: "Tanacross"},
"tcc": {Part3: "tcc", Scope: 'I', LanguageType: 'L', Name: "Datooga"},
"tcd": {Part3: "tcd", Scope: 'I', LanguageType: 'L', Name: "Tafi"},
"tce": {Part3: "tce", Scope: 'I', LanguageType: 'L', Name: "Southern Tutchone"},
"tcf": {Part3: "tcf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tcg": {Part3: "tcg", Scope: 'I', LanguageType: 'L', Name: "Tamagario"},
"tch": {Part3: "tch", Scope: 'I', LanguageType: 'L', Name: "Turks And Caicos Creole English"},
"tci": {Part3: "tci", Scope: 'I', LanguageType: 'L', Name: "Wára"},
"tck": {Part3: "tck", Scope: 'I', LanguageType: 'L', Name: "Tchitchege"},
"tcl": {Part3: "tcl", Scope: 'I', LanguageType: 'E', Name: "<NAME>)"},
"tcm": {Part3: "tcm", Scope: 'I', LanguageType: 'L', Name: "Tanahmerah"},
"tcn": {Part3: "tcn", Scope: 'I', LanguageType: 'L', Name: "Tichurong"},
"tco": {Part3: "tco", Scope: 'I', LanguageType: 'L', Name: "Taungyo"},
"tcp": {Part3: "tcp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tcq": {Part3: "tcq", Scope: 'I', LanguageType: 'L', Name: "Kaiy"},
"tcs": {Part3: "tcs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tct": {Part3: "tct", Scope: 'I', LanguageType: 'L', Name: "T'en"},
"tcu": {Part3: "tcu", Scope: 'I', LanguageType: 'L', Name: "Southeastern Tarahumara"},
"tcw": {Part3: "tcw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tcx": {Part3: "tcx", Scope: 'I', LanguageType: 'L', Name: "Toda"},
"tcy": {Part3: "tcy", Scope: 'I', LanguageType: 'L', Name: "Tulu"},
"tcz": {Part3: "tcz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tda": {Part3: "tda", Scope: 'I', LanguageType: 'L', Name: "Tagdal"},
"tdb": {Part3: "tdb", Scope: 'I', LanguageType: 'L', Name: "Panchpargania"},
"tdc": {Part3: "tdc", Scope: 'I', LanguageType: 'L', Name: "Emberá-Tadó"},
"tdd": {Part3: "tdd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tde": {Part3: "tde", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tdf": {Part3: "tdf", Scope: 'I', LanguageType: 'L', Name: "Talieng"},
"tdg": {Part3: "tdg", Scope: 'I', LanguageType: 'L', Name: "Western Tamang"},
"tdh": {Part3: "tdh", Scope: 'I', LanguageType: 'L', Name: "Thulung"},
"tdi": {Part3: "tdi", Scope: 'I', LanguageType: 'L', Name: "Tomadino"},
"tdj": {Part3: "tdj", Scope: 'I', LanguageType: 'L', Name: "Tajio"},
"tdk": {Part3: "tdk", Scope: 'I', LanguageType: 'L', Name: "Tambas"},
"tdl": {Part3: "tdl", Scope: 'I', LanguageType: 'L', Name: "Sur"},
"tdm": {Part3: "tdm", Scope: 'I', LanguageType: 'L', Name: "Taruma"},
"tdn": {Part3: "tdn", Scope: 'I', LanguageType: 'L', Name: "Tondano"},
"tdo": {Part3: "tdo", Scope: 'I', LanguageType: 'L', Name: "Teme"},
"tdq": {Part3: "tdq", Scope: 'I', LanguageType: 'L', Name: "Tita"},
"tdr": {Part3: "tdr", Scope: 'I', LanguageType: 'L', Name: "Todrah"},
"tds": {Part3: "tds", Scope: 'I', LanguageType: 'L', Name: "Doutai"},
"tdt": {Part3: "tdt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tdv": {Part3: "tdv", Scope: 'I', LanguageType: 'L', Name: "Toro"},
"tdx": {Part3: "tdx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tdy": {Part3: "tdy", Scope: 'I', LanguageType: 'L', Name: "Tadyawan"},
"tea": {Part3: "tea", Scope: 'I', LanguageType: 'L', Name: "Temiar"},
"teb": {Part3: "teb", Scope: 'I', LanguageType: 'E', Name: "Tetete"},
"tec": {Part3: "tec", Scope: 'I', LanguageType: 'L', Name: "Terik"},
"ted": {Part3: "ted", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tee": {Part3: "tee", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tef": {Part3: "tef", Scope: 'I', LanguageType: 'L', Name: "Teressa"},
"teg": {Part3: "teg", Scope: 'I', LanguageType: 'L', Name: "Teke-Tege"},
"teh": {Part3: "teh", Scope: 'I', LanguageType: 'L', Name: "Tehuelche"},
"tei": {Part3: "tei", Scope: 'I', LanguageType: 'L', Name: "Torricelli"},
"tek": {Part3: "tek", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tel": {Part3: "tel", Part2B: "tel", Part2T: "tel", Part1: "te", Scope: 'I', LanguageType: 'L', Name: "Telugu"},
"tem": {Part3: "tem", Part2B: "tem", Part2T: "tem", Scope: 'I', LanguageType: 'L', Name: "Timne"},
"ten": {Part3: "ten", Scope: 'I', LanguageType: 'E', Name: "Tama (Colombia)"},
"teo": {Part3: "teo", Scope: 'I', LanguageType: 'L', Name: "Teso"},
"tep": {Part3: "tep", Scope: 'I', LanguageType: 'E', Name: "Tepecano"},
"teq": {Part3: "teq", Scope: 'I', LanguageType: 'L', Name: "Temein"},
"ter": {Part3: "ter", Part2B: "ter", Part2T: "ter", Scope: 'I', LanguageType: 'L', Name: "Tereno"},
"tes": {Part3: "tes", Scope: 'I', LanguageType: 'L', Name: "Tengger"},
"tet": {Part3: "tet", Part2B: "tet", Part2T: "tet", Scope: 'I', LanguageType: 'L', Name: "Tetum"},
"teu": {Part3: "teu", Scope: 'I', LanguageType: 'L', Name: "Soo"},
"tev": {Part3: "tev", Scope: 'I', LanguageType: 'L', Name: "Teor"},
"tew": {Part3: "tew", Scope: 'I', LanguageType: 'L', Name: "Tewa (USA)"},
"tex": {Part3: "tex", Scope: 'I', LanguageType: 'L', Name: "Tennet"},
"tey": {Part3: "tey", Scope: 'I', LanguageType: 'L', Name: "Tulishi"},
"tez": {Part3: "tez", Scope: 'I', LanguageType: 'L', Name: "Tetserret"},
"tfi": {Part3: "tfi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tfn": {Part3: "tfn", Scope: 'I', LanguageType: 'L', Name: "Tanaina"},
"tfo": {Part3: "tfo", Scope: 'I', LanguageType: 'L', Name: "Tefaro"},
"tfr": {Part3: "tfr", Scope: 'I', LanguageType: 'L', Name: "Teribe"},
"tft": {Part3: "tft", Scope: 'I', LanguageType: 'L', Name: "Ternate"},
"tga": {Part3: "tga", Scope: 'I', LanguageType: 'L', Name: "Sagalla"},
"tgb": {Part3: "tgb", Scope: 'I', LanguageType: 'L', Name: "Tobilung"},
"tgc": {Part3: "tgc", Scope: 'I', LanguageType: 'L', Name: "Tigak"},
"tgd": {Part3: "tgd", Scope: 'I', LanguageType: 'L', Name: "Ciwogai"},
"tge": {Part3: "tge", Scope: 'I', LanguageType: 'L', Name: "Eastern Gorkha Tamang"},
"tgf": {Part3: "tgf", Scope: 'I', LanguageType: 'L', Name: "Chalikha"},
"tgh": {Part3: "tgh", Scope: 'I', LanguageType: 'L', Name: "Tobagonian Creole English"},
"tgi": {Part3: "tgi", Scope: 'I', LanguageType: 'L', Name: "Lawunuia"},
"tgj": {Part3: "tgj", Scope: 'I', LanguageType: 'L', Name: "Tagin"},
"tgk": {Part3: "tgk", Part2B: "tgk", Part2T: "tgk", Part1: "tg", Scope: 'I', LanguageType: 'L', Name: "Tajik"},
"tgl": {Part3: "tgl", Part2B: "tgl", Part2T: "tgl", Part1: "tl", Scope: 'I', LanguageType: 'L', Name: "Tagalog"},
"tgn": {Part3: "tgn", Scope: 'I', LanguageType: 'L', Name: "Tandaganon"},
"tgo": {Part3: "tgo", Scope: 'I', LanguageType: 'L', Name: "Sudest"},
"tgp": {Part3: "tgp", Scope: 'I', LanguageType: 'L', Name: "Tangoa"},
"tgq": {Part3: "tgq", Scope: 'I', LanguageType: 'L', Name: "Tring"},
"tgr": {Part3: "tgr", Scope: 'I', LanguageType: 'L', Name: "Tareng"},
"tgs": {Part3: "tgs", Scope: 'I', LanguageType: 'L', Name: "Nume"},
"tgt": {Part3: "tgt", Scope: 'I', LanguageType: 'L', Name: "Central Tagbanwa"},
"tgu": {Part3: "tgu", Scope: 'I', LanguageType: 'L', Name: "Tanggu"},
"tgv": {Part3: "tgv", Scope: 'I', LanguageType: 'E', Name: "Tingui-Boto"},
"tgw": {Part3: "tgw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tgx": {Part3: "tgx", Scope: 'I', LanguageType: 'L', Name: "Tagish"},
"tgy": {Part3: "tgy", Scope: 'I', LanguageType: 'E', Name: "Togoyo"},
"tgz": {Part3: "tgz", Scope: 'I', LanguageType: 'E', Name: "Tagalaka"},
"tha": {Part3: "tha", Part2B: "tha", Part2T: "tha", Part1: "th", Scope: 'I', LanguageType: 'L', Name: "Thai"},
"thd": {Part3: "thd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"the": {Part3: "the", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"thf": {Part3: "thf", Scope: 'I', LanguageType: 'L', Name: "Thangmi"},
"thh": {Part3: "thh", Scope: 'I', LanguageType: 'L', Name: "Northern Tarahumara"},
"thi": {Part3: "thi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"thk": {Part3: "thk", Scope: 'I', LanguageType: 'L', Name: "Tharaka"},
"thl": {Part3: "thl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"thm": {Part3: "thm", Scope: 'I', LanguageType: 'L', Name: "Aheu"},
"thn": {Part3: "thn", Scope: 'I', LanguageType: 'L', Name: "Thachanadan"},
"thp": {Part3: "thp", Scope: 'I', LanguageType: 'L', Name: "Thompson"},
"thq": {Part3: "thq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"thr": {Part3: "thr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ths": {Part3: "ths", Scope: 'I', LanguageType: 'L', Name: "Thakali"},
"tht": {Part3: "tht", Scope: 'I', LanguageType: 'L', Name: "Tahltan"},
"thu": {Part3: "thu", Scope: 'I', LanguageType: 'L', Name: "Thuri"},
"thv": {Part3: "thv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"thy": {Part3: "thy", Scope: 'I', LanguageType: 'L', Name: "Tha"},
"thz": {Part3: "thz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tia": {Part3: "tia", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tic": {Part3: "tic", Scope: 'I', LanguageType: 'L', Name: "Tira"},
"tif": {Part3: "tif", Scope: 'I', LanguageType: 'L', Name: "Tifal"},
"tig": {Part3: "tig", Part2B: "tig", Part2T: "tig", Scope: 'I', LanguageType: 'L', Name: "Tigre"},
"tih": {Part3: "tih", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tii": {Part3: "tii", Scope: 'I', LanguageType: 'L', Name: "Tiene"},
"tij": {Part3: "tij", Scope: 'I', LanguageType: 'L', Name: "Tilung"},
"tik": {Part3: "tik", Scope: 'I', LanguageType: 'L', Name: "Tikar"},
"til": {Part3: "til", Scope: 'I', LanguageType: 'E', Name: "Tillamook"},
"tim": {Part3: "tim", Scope: 'I', LanguageType: 'L', Name: "Timbe"},
"tin": {Part3: "tin", Scope: 'I', LanguageType: 'L', Name: "Tindi"},
"tio": {Part3: "tio", Scope: 'I', LanguageType: 'L', Name: "Teop"},
"tip": {Part3: "tip", Scope: 'I', LanguageType: 'L', Name: "Trimuris"},
"tiq": {Part3: "tiq", Scope: 'I', LanguageType: 'L', Name: "Tiéfo"},
"tir": {Part3: "tir", Part2B: "tir", Part2T: "tir", Part1: "ti", Scope: 'I', LanguageType: 'L', Name: "Tigrinya"},
"tis": {Part3: "tis", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tit": {Part3: "tit", Scope: 'I', LanguageType: 'L', Name: "Tinigua"},
"tiu": {Part3: "tiu", Scope: 'I', LanguageType: 'L', Name: "Adasen"},
"tiv": {Part3: "tiv", Part2B: "tiv", Part2T: "tiv", Scope: 'I', LanguageType: 'L', Name: "Tiv"},
"tiw": {Part3: "tiw", Scope: 'I', LanguageType: 'L', Name: "Tiwi"},
"tix": {Part3: "tix", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tiy": {Part3: "tiy", Scope: 'I', LanguageType: 'L', Name: "Tiruray"},
"tiz": {Part3: "tiz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tja": {Part3: "tja", Scope: 'I', LanguageType: 'L', Name: "Tajuasohn"},
"tjg": {Part3: "tjg", Scope: 'I', LanguageType: 'L', Name: "Tunjung"},
"tji": {Part3: "tji", Scope: 'I', LanguageType: 'L', Name: "Northern Tujia"},
"tjj": {Part3: "tjj", Scope: 'I', LanguageType: 'L', Name: "Tjungundji"},
"tjl": {Part3: "tjl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tjm": {Part3: "tjm", Scope: 'I', LanguageType: 'E', Name: "Timucua"},
"tjn": {Part3: "tjn", Scope: 'I', LanguageType: 'E', Name: "Tonjon"},
"tjo": {Part3: "tjo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tjp": {Part3: "tjp", Scope: 'I', LanguageType: 'L', Name: "Tjupany"},
"tjs": {Part3: "tjs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tju": {Part3: "tju", Scope: 'I', LanguageType: 'E', Name: "Tjurruru"},
"tjw": {Part3: "tjw", Scope: 'I', LanguageType: 'L', Name: "Djabwurrung"},
"tka": {Part3: "tka", Scope: 'I', LanguageType: 'E', Name: "Truká"},
"tkb": {Part3: "tkb", Scope: 'I', LanguageType: 'L', Name: "Buksa"},
"tkd": {Part3: "tkd", Scope: 'I', LanguageType: 'L', Name: "Tukudede"},
"tke": {Part3: "tke", Scope: 'I', LanguageType: 'L', Name: "Takwane"},
"tkf": {Part3: "tkf", Scope: 'I', LanguageType: 'E', Name: "Tukumanféd"},
"tkg": {Part3: "tkg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tkl": {Part3: "tkl", Part2B: "tkl", Part2T: "tkl", Scope: 'I', LanguageType: 'L', Name: "Tokelau"},
"tkm": {Part3: "tkm", Scope: 'I', LanguageType: 'E', Name: "Takelma"},
"tkn": {Part3: "tkn", Scope: 'I', LanguageType: 'L', Name: "Toku-No-Shima"},
"tkp": {Part3: "tkp", Scope: 'I', LanguageType: 'L', Name: "Tikopia"},
"tkq": {Part3: "tkq", Scope: 'I', LanguageType: 'L', Name: "Tee"},
"tkr": {Part3: "tkr", Scope: 'I', LanguageType: 'L', Name: "Tsakhur"},
"tks": {Part3: "tks", Scope: 'I', LanguageType: 'L', Name: "Takestani"},
"tkt": {Part3: "tkt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tku": {Part3: "tku", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tkv": {Part3: "tkv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tkw": {Part3: "tkw", Scope: 'I', LanguageType: 'L', Name: "Teanu"},
"tkx": {Part3: "tkx", Scope: 'I', LanguageType: 'L', Name: "Tangko"},
"tkz": {Part3: "tkz", Scope: 'I', LanguageType: 'L', Name: "Takua"},
"tla": {Part3: "tla", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tlb": {Part3: "tlb", Scope: 'I', LanguageType: 'L', Name: "Tobelo"},
"tlc": {Part3: "tlc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tld": {Part3: "tld", Scope: 'I', LanguageType: 'L', Name: "Talaud"},
"tlf": {Part3: "tlf", Scope: 'I', LanguageType: 'L', Name: "Telefol"},
"tlg": {Part3: "tlg", Scope: 'I', LanguageType: 'L', Name: "Tofanma"},
"tlh": {Part3: "tlh", Part2B: "tlh", Part2T: "tlh", Scope: 'I', LanguageType: 'C', Name: "Klingon"},
"tli": {Part3: "tli", Part2B: "tli", Part2T: "tli", Scope: 'I', LanguageType: 'L', Name: "Tlingit"},
"tlj": {Part3: "tlj", Scope: 'I', LanguageType: 'L', Name: "Talinga-Bwisi"},
"tlk": {Part3: "tlk", Scope: 'I', LanguageType: 'L', Name: "Taloki"},
"tll": {Part3: "tll", Scope: 'I', LanguageType: 'L', Name: "Tetela"},
"tlm": {Part3: "tlm", Scope: 'I', LanguageType: 'L', Name: "Tolomako"},
"tln": {Part3: "tln", Scope: 'I', LanguageType: 'L', Name: "Talondo'"},
"tlo": {Part3: "tlo", Scope: 'I', LanguageType: 'L', Name: "Talodi"},
"tlp": {Part3: "tlp", Scope: 'I', LanguageType: 'L', Name: "<NAME>-<NAME>"},
"tlq": {Part3: "tlq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tlr": {Part3: "tlr", Scope: 'I', LanguageType: 'L', Name: "Talise"},
"tls": {Part3: "tls", Scope: 'I', LanguageType: 'L', Name: "Tambotalo"},
"tlt": {Part3: "tlt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tlu": {Part3: "tlu", Scope: 'I', LanguageType: 'L', Name: "Tulehu"},
"tlv": {Part3: "tlv", Scope: 'I', LanguageType: 'L', Name: "Taliabu"},
"tlx": {Part3: "tlx", Scope: 'I', LanguageType: 'L', Name: "Khehek"},
"tly": {Part3: "tly", Scope: 'I', LanguageType: 'L', Name: "Talysh"},
"tma": {Part3: "tma", Scope: 'I', LanguageType: 'L', Name: "Tama (Chad)"},
"tmb": {Part3: "tmb", Scope: 'I', LanguageType: 'L', Name: "Katbol"},
"tmc": {Part3: "tmc", Scope: 'I', LanguageType: 'L', Name: "Tumak"},
"tmd": {Part3: "tmd", Scope: 'I', LanguageType: 'L', Name: "Haruai"},
"tme": {Part3: "tme", Scope: 'I', LanguageType: 'E', Name: "Tremembé"},
"tmf": {Part3: "tmf", Scope: 'I', LanguageType: 'L', Name: "Toba-Maskoy"},
"tmg": {Part3: "tmg", Scope: 'I', LanguageType: 'E', Name: "Ternateño"},
"tmh": {Part3: "tmh", Part2B: "tmh", Part2T: "tmh", Scope: 'M', LanguageType: 'L', Name: "Tamashek"},
"tmi": {Part3: "tmi", Scope: 'I', LanguageType: 'L', Name: "Tutuba"},
"tmj": {Part3: "tmj", Scope: 'I', LanguageType: 'L', Name: "Samarokena"},
"tmk": {Part3: "tmk", Scope: 'I', LanguageType: 'L', Name: "Northwestern Tamang"},
"tml": {Part3: "tml", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tmm": {Part3: "tmm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tmn": {Part3: "tmn", Scope: 'I', LanguageType: 'L', Name: "Taman (Indonesia)"},
"tmo": {Part3: "tmo", Scope: 'I', LanguageType: 'L', Name: "Temoq"},
"tmq": {Part3: "tmq", Scope: 'I', LanguageType: 'L', Name: "Tumleo"},
"tmr": {Part3: "tmr", Scope: 'I', LanguageType: 'E', Name: "Jewish Babylonian Aramaic (ca. 200-1200 CE)"},
"tms": {Part3: "tms", Scope: 'I', LanguageType: 'L', Name: "Tima"},
"tmt": {Part3: "tmt", Scope: 'I', LanguageType: 'L', Name: "Tasmate"},
"tmu": {Part3: "tmu", Scope: 'I', LanguageType: 'L', Name: "Iau"},
"tmv": {Part3: "tmv", Scope: 'I', LanguageType: 'L', Name: "Tembo (Motembo)"},
"tmw": {Part3: "tmw", Scope: 'I', LanguageType: 'L', Name: "Temuan"},
"tmy": {Part3: "tmy", Scope: 'I', LanguageType: 'L', Name: "Tami"},
"tmz": {Part3: "tmz", Scope: 'I', LanguageType: 'E', Name: "Tamanaku"},
"tna": {Part3: "tna", Scope: 'I', LanguageType: 'L', Name: "Tacana"},
"tnb": {Part3: "tnb", Scope: 'I', LanguageType: 'L', Name: "Western Tunebo"},
"tnc": {Part3: "tnc", Scope: 'I', LanguageType: 'L', Name: "Tanimuca-Retuarã"},
"tnd": {Part3: "tnd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tng": {Part3: "tng", Scope: 'I', LanguageType: 'L', Name: "Tobanga"},
"tnh": {Part3: "tnh", Scope: 'I', LanguageType: 'L', Name: "Maiani"},
"tni": {Part3: "tni", Scope: 'I', LanguageType: 'L', Name: "Tandia"},
"tnk": {Part3: "tnk", Scope: 'I', LanguageType: 'L', Name: "Kwamera"},
"tnl": {Part3: "tnl", Scope: 'I', LanguageType: 'L', Name: "Lenakel"},
"tnm": {Part3: "tnm", Scope: 'I', LanguageType: 'L', Name: "Tabla"},
"tnn": {Part3: "tnn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tno": {Part3: "tno", Scope: 'I', LanguageType: 'L', Name: "Toromono"},
"tnp": {Part3: "tnp", Scope: 'I', LanguageType: 'L', Name: "Whitesands"},
"tnq": {Part3: "tnq", Scope: 'I', LanguageType: 'E', Name: "Taino"},
"tnr": {Part3: "tnr", Scope: 'I', LanguageType: 'L', Name: "Ménik"},
"tns": {Part3: "tns", Scope: 'I', LanguageType: 'L', Name: "Tenis"},
"tnt": {Part3: "tnt", Scope: 'I', LanguageType: 'L', Name: "Tontemboan"},
"tnu": {Part3: "tnu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tnv": {Part3: "tnv", Scope: 'I', LanguageType: 'L', Name: "Tangchangya"},
"tnw": {Part3: "tnw", Scope: 'I', LanguageType: 'L', Name: "Tonsawang"},
"tnx": {Part3: "tnx", Scope: 'I', LanguageType: 'L', Name: "Tanema"},
"tny": {Part3: "tny", Scope: 'I', LanguageType: 'L', Name: "Tongwe"},
"tnz": {Part3: "tnz", Scope: 'I', LanguageType: 'L', Name: "Ten'edn"},
"tob": {Part3: "tob", Scope: 'I', LanguageType: 'L', Name: "Toba"},
"toc": {Part3: "toc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tod": {Part3: "tod", Scope: 'I', LanguageType: 'L', Name: "Toma"},
"tof": {Part3: "tof", Scope: 'I', LanguageType: 'L', Name: "Gizrra"},
"tog": {Part3: "tog", Part2B: "tog", Part2T: "tog", Scope: 'I', LanguageType: 'L', Name: "Tonga (Nyasa)"},
"toh": {Part3: "toh", Scope: 'I', LanguageType: 'L', Name: "Gitonga"},
"toi": {Part3: "toi", Scope: 'I', LanguageType: 'L', Name: "Tonga (Zambia)"},
"toj": {Part3: "toj", Scope: 'I', LanguageType: 'L', Name: "Tojolabal"},
"tol": {Part3: "tol", Scope: 'I', LanguageType: 'E', Name: "Tolowa"},
"tom": {Part3: "tom", Scope: 'I', LanguageType: 'L', Name: "Tombulu"},
"ton": {Part3: "ton", Part2B: "ton", Part2T: "ton", Part1: "to", Scope: 'I', LanguageType: 'L', Name: "Tonga (Tonga Islands)"},
"too": {Part3: "too", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"top": {Part3: "top", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"toq": {Part3: "toq", Scope: 'I', LanguageType: 'L', Name: "Toposa"},
"tor": {Part3: "tor", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tos": {Part3: "tos", Scope: 'I', LanguageType: 'L', Name: "High<NAME>otonac"},
"tou": {Part3: "tou", Scope: 'I', LanguageType: 'L', Name: "Tho"},
"tov": {Part3: "tov", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tow": {Part3: "tow", Scope: 'I', LanguageType: 'L', Name: "Jemez"},
"tox": {Part3: "tox", Scope: 'I', LanguageType: 'L', Name: "Tobian"},
"toy": {Part3: "toy", Scope: 'I', LanguageType: 'L', Name: "Topoiyo"},
"toz": {Part3: "toz", Scope: 'I', LanguageType: 'L', Name: "To"},
"tpa": {Part3: "tpa", Scope: 'I', LanguageType: 'L', Name: "Taupota"},
"tpc": {Part3: "tpc", Scope: 'I', LanguageType: 'L', Name: "Azoyú Me'phaa"},
"tpe": {Part3: "tpe", Scope: 'I', LanguageType: 'L', Name: "Tippera"},
"tpf": {Part3: "tpf", Scope: 'I', LanguageType: 'L', Name: "Tarpia"},
"tpg": {Part3: "tpg", Scope: 'I', LanguageType: 'L', Name: "Kula"},
"tpi": {Part3: "tpi", Part2B: "tpi", Part2T: "tpi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tpj": {Part3: "tpj", Scope: 'I', LanguageType: 'L', Name: "Tapieté"},
"tpk": {Part3: "tpk", Scope: 'I', LanguageType: 'E', Name: "Tupinikin"},
"tpl": {Part3: "tpl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tpm": {Part3: "tpm", Scope: 'I', LanguageType: 'L', Name: "Tampulma"},
"tpn": {Part3: "tpn", Scope: 'I', LanguageType: 'E', Name: "Tupinambá"},
"tpo": {Part3: "tpo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tpp": {Part3: "tpp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tpq": {Part3: "tpq", Scope: 'I', LanguageType: 'L', Name: "Tukpa"},
"tpr": {Part3: "tpr", Scope: 'I', LanguageType: 'L', Name: "Tuparí"},
"tpt": {Part3: "tpt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tpu": {Part3: "tpu", Scope: 'I', LanguageType: 'L', Name: "Tampuan"},
"tpv": {Part3: "tpv", Scope: 'I', LanguageType: 'L', Name: "Tanapag"},
"tpw": {Part3: "tpw", Scope: 'I', LanguageType: 'E', Name: "Tupí"},
"tpx": {Part3: "tpx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tpy": {Part3: "tpy", Scope: 'I', LanguageType: 'L', Name: "Trumai"},
"tpz": {Part3: "tpz", Scope: 'I', LanguageType: 'L', Name: "Tinputz"},
"tqb": {Part3: "tqb", Scope: 'I', LanguageType: 'L', Name: "Tembé"},
"tql": {Part3: "tql", Scope: 'I', LanguageType: 'L', Name: "Lehali"},
"tqm": {Part3: "tqm", Scope: 'I', LanguageType: 'L', Name: "Turumsa"},
"tqn": {Part3: "tqn", Scope: 'I', LanguageType: 'L', Name: "Tenino"},
"tqo": {Part3: "tqo", Scope: 'I', LanguageType: 'L', Name: "Toaripi"},
"tqp": {Part3: "tqp", Scope: 'I', LanguageType: 'L', Name: "Tomoip"},
"tqq": {Part3: "tqq", Scope: 'I', LanguageType: 'L', Name: "Tunni"},
"tqr": {Part3: "tqr", Scope: 'I', LanguageType: 'E', Name: "Torona"},
"tqt": {Part3: "tqt", Scope: 'I', LanguageType: 'L', Name: "Western Totonac"},
"tqu": {Part3: "tqu", Scope: 'I', LanguageType: 'L', Name: "Touo"},
"tqw": {Part3: "tqw", Scope: 'I', LanguageType: 'E', Name: "Tonkawa"},
"tra": {Part3: "tra", Scope: 'I', LanguageType: 'L', Name: "Tirahi"},
"trb": {Part3: "trb", Scope: 'I', LanguageType: 'L', Name: "Terebu"},
"trc": {Part3: "trc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trd": {Part3: "trd", Scope: 'I', LanguageType: 'L', Name: "Turi"},
"tre": {Part3: "tre", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trf": {Part3: "trf", Scope: 'I', LanguageType: 'L', Name: "Trinidadian Creole English"},
"trg": {Part3: "trg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trh": {Part3: "trh", Scope: 'I', LanguageType: 'L', Name: "Turaka"},
"tri": {Part3: "tri", Scope: 'I', LanguageType: 'L', Name: "Trió"},
"trj": {Part3: "trj", Scope: 'I', LanguageType: 'L', Name: "Toram"},
"trl": {Part3: "trl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trm": {Part3: "trm", Scope: 'I', LanguageType: 'L', Name: "Tregami"},
"trn": {Part3: "trn", Scope: 'I', LanguageType: 'L', Name: "Trinitario"},
"tro": {Part3: "tro", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trp": {Part3: "trp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trq": {Part3: "trq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trr": {Part3: "trr", Scope: 'I', LanguageType: 'L', Name: "Taushiro"},
"trs": {Part3: "trs", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"trt": {Part3: "trt", Scope: 'I', LanguageType: 'L', Name: "Tunggare"},
"tru": {Part3: "tru", Scope: 'I', LanguageType: 'L', Name: "Turoyo"},
"trv": {Part3: "trv", Scope: 'I', LanguageType: 'L', Name: "Taroko"},
"trw": {Part3: "trw", Scope: 'I', LanguageType: 'L', Name: "Torwali"},
"trx": {Part3: "trx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"try": {Part3: "try", Scope: 'I', LanguageType: 'E', Name: "Turung"},
"trz": {Part3: "trz", Scope: 'I', LanguageType: 'E', Name: "Torá"},
"tsa": {Part3: "tsa", Scope: 'I', LanguageType: 'L', Name: "Tsaangi"},
"tsb": {Part3: "tsb", Scope: 'I', LanguageType: 'L', Name: "Tsamai"},
"tsc": {Part3: "tsc", Scope: 'I', LanguageType: 'L', Name: "Tswa"},
"tsd": {Part3: "tsd", Scope: 'I', LanguageType: 'L', Name: "Tsakonian"},
"tse": {Part3: "tse", Scope: 'I', LanguageType: 'L', Name: "Tunisian Sign Language"},
"tsg": {Part3: "tsg", Scope: 'I', LanguageType: 'L', Name: "Tausug"},
"tsh": {Part3: "tsh", Scope: 'I', LanguageType: 'L', Name: "Tsuvan"},
"tsi": {Part3: "tsi", Part2B: "tsi", Part2T: "tsi", Scope: 'I', LanguageType: 'L', Name: "Tsimshian"},
"tsj": {Part3: "tsj", Scope: 'I', LanguageType: 'L', Name: "Tshangla"},
"tsk": {Part3: "tsk", Scope: 'I', LanguageType: 'L', Name: "Tseku"},
"tsl": {Part3: "tsl", Scope: 'I', LanguageType: 'L', Name: "Ts'ün-Lao"},
"tsm": {Part3: "tsm", Scope: 'I', LanguageType: 'L', Name: "Turkish Sign Language"},
"tsn": {Part3: "tsn", Part2B: "tsn", Part2T: "tsn", Part1: "tn", Scope: 'I', LanguageType: 'L', Name: "Tswana"},
"tso": {Part3: "tso", Part2B: "tso", Part2T: "tso", Part1: "ts", Scope: 'I', LanguageType: 'L', Name: "Tsonga"},
"tsp": {Part3: "tsp", Scope: 'I', LanguageType: 'L', Name: "Northern Toussian"},
"tsq": {Part3: "tsq", Scope: 'I', LanguageType: 'L', Name: "Thai Sign Language"},
"tsr": {Part3: "tsr", Scope: 'I', LanguageType: 'L', Name: "Akei"},
"tss": {Part3: "tss", Scope: 'I', LanguageType: 'L', Name: "Taiwan Sign Language"},
"tst": {Part3: "tst", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tsu": {Part3: "tsu", Scope: 'I', LanguageType: 'L', Name: "Tsou"},
"tsv": {Part3: "tsv", Scope: 'I', LanguageType: 'L', Name: "Tsogo"},
"tsw": {Part3: "tsw", Scope: 'I', LanguageType: 'L', Name: "Tsishingini"},
"tsx": {Part3: "tsx", Scope: 'I', LanguageType: 'L', Name: "Mubami"},
"tsy": {Part3: "tsy", Scope: 'I', LanguageType: 'L', Name: "Tebul Sign Language"},
"tsz": {Part3: "tsz", Scope: 'I', LanguageType: 'L', Name: "Purepecha"},
"tta": {Part3: "tta", Scope: 'I', LanguageType: 'E', Name: "Tutelo"},
"ttb": {Part3: "ttb", Scope: 'I', LanguageType: 'L', Name: "Gaa"},
"ttc": {Part3: "ttc", Scope: 'I', LanguageType: 'L', Name: "Tektiteko"},
"ttd": {Part3: "ttd", Scope: 'I', LanguageType: 'L', Name: "Tauade"},
"tte": {Part3: "tte", Scope: 'I', LanguageType: 'L', Name: "Bwanabwana"},
"ttf": {Part3: "ttf", Scope: 'I', LanguageType: 'L', Name: "Tuotomb"},
"ttg": {Part3: "ttg", Scope: 'I', LanguageType: 'L', Name: "Tutong"},
"tth": {Part3: "tth", Scope: 'I', LanguageType: 'L', Name: "Upper Ta'oih"},
"tti": {Part3: "tti", Scope: 'I', LanguageType: 'L', Name: "Tobati"},
"ttj": {Part3: "ttj", Scope: 'I', LanguageType: 'L', Name: "Tooro"},
"ttk": {Part3: "ttk", Scope: 'I', LanguageType: 'L', Name: "Totoro"},
"ttl": {Part3: "ttl", Scope: 'I', LanguageType: 'L', Name: "Totela"},
"ttm": {Part3: "ttm", Scope: 'I', LanguageType: 'L', Name: "Northern Tutchone"},
"ttn": {Part3: "ttn", Scope: 'I', LanguageType: 'L', Name: "Towei"},
"tto": {Part3: "tto", Scope: 'I', LanguageType: 'L', Name: "Lower Ta'oih"},
"ttp": {Part3: "ttp", Scope: 'I', LanguageType: 'L', Name: "Tombelala"},
"ttq": {Part3: "ttq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ttr": {Part3: "ttr", Scope: 'I', LanguageType: 'L', Name: "Tera"},
"tts": {Part3: "tts", Scope: 'I', LanguageType: 'L', Name: "Northeastern Thai"},
"ttt": {Part3: "ttt", Scope: 'I', LanguageType: 'L', Name: "Muslim Tat"},
"ttu": {Part3: "ttu", Scope: 'I', LanguageType: 'L', Name: "Torau"},
"ttv": {Part3: "ttv", Scope: 'I', LanguageType: 'L', Name: "Titan"},
"ttw": {Part3: "ttw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tty": {Part3: "tty", Scope: 'I', LanguageType: 'L', Name: "Sikaritai"},
"ttz": {Part3: "ttz", Scope: 'I', LanguageType: 'L', Name: "Tsum"},
"tua": {Part3: "tua", Scope: 'I', LanguageType: 'L', Name: "Wiarumus"},
"tub": {Part3: "tub", Scope: 'I', LanguageType: 'E', Name: "Tübatulabal"},
"tuc": {Part3: "tuc", Scope: 'I', LanguageType: 'L', Name: "Mutu"},
"tud": {Part3: "tud", Scope: 'I', LanguageType: 'E', Name: "Tuxá"},
"tue": {Part3: "tue", Scope: 'I', LanguageType: 'L', Name: "Tuyuca"},
"tuf": {Part3: "tuf", Scope: 'I', LanguageType: 'L', Name: "Central Tunebo"},
"tug": {Part3: "tug", Scope: 'I', LanguageType: 'L', Name: "Tunia"},
"tuh": {Part3: "tuh", Scope: 'I', LanguageType: 'L', Name: "Taulil"},
"tui": {Part3: "tui", Scope: 'I', LanguageType: 'L', Name: "Tupuri"},
"tuj": {Part3: "tuj", Scope: 'I', LanguageType: 'L', Name: "Tugutil"},
"tuk": {Part3: "tuk", Part2B: "tuk", Part2T: "tuk", Part1: "tk", Scope: 'I', LanguageType: 'L', Name: "Turkmen"},
"tul": {Part3: "tul", Scope: 'I', LanguageType: 'L', Name: "Tula"},
"tum": {Part3: "tum", Part2B: "tum", Part2T: "tum", Scope: 'I', LanguageType: 'L', Name: "Tumbuka"},
"tun": {Part3: "tun", Scope: 'I', LanguageType: 'L', Name: "Tunica"},
"tuo": {Part3: "tuo", Scope: 'I', LanguageType: 'L', Name: "Tucano"},
"tuq": {Part3: "tuq", Scope: 'I', LanguageType: 'L', Name: "Tedaga"},
"tur": {Part3: "tur", Part2B: "tur", Part2T: "tur", Part1: "tr", Scope: 'I', LanguageType: 'L', Name: "Turkish"},
"tus": {Part3: "tus", Scope: 'I', LanguageType: 'L', Name: "Tuscarora"},
"tuu": {Part3: "tuu", Scope: 'I', LanguageType: 'L', Name: "Tututni"},
"tuv": {Part3: "tuv", Scope: 'I', LanguageType: 'L', Name: "Turkana"},
"tux": {Part3: "tux", Scope: 'I', LanguageType: 'E', Name: "Tuxináwa"},
"tuy": {Part3: "tuy", Scope: 'I', LanguageType: 'L', Name: "Tugen"},
"tuz": {Part3: "tuz", Scope: 'I', LanguageType: 'L', Name: "Turka"},
"tva": {Part3: "tva", Scope: 'I', LanguageType: 'L', Name: "Vaghua"},
"tvd": {Part3: "tvd", Scope: 'I', LanguageType: 'L', Name: "Tsuvadi"},
"tve": {Part3: "tve", Scope: 'I', LanguageType: 'L', Name: "Te'un"},
"tvk": {Part3: "tvk", Scope: 'I', LanguageType: 'L', Name: "Southeast Ambrym"},
"tvl": {Part3: "tvl", Part2B: "tvl", Part2T: "tvl", Scope: 'I', LanguageType: 'L', Name: "Tuvalu"},
"tvm": {Part3: "tvm", Scope: 'I', LanguageType: 'L', Name: "Tela-Masbuar"},
"tvn": {Part3: "tvn", Scope: 'I', LanguageType: 'L', Name: "Tavoyan"},
"tvo": {Part3: "tvo", Scope: 'I', LanguageType: 'L', Name: "Tidore"},
"tvs": {Part3: "tvs", Scope: 'I', LanguageType: 'L', Name: "Taveta"},
"tvt": {Part3: "tvt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tvu": {Part3: "tvu", Scope: 'I', LanguageType: 'L', Name: "Tunen"},
"tvw": {Part3: "tvw", Scope: 'I', LanguageType: 'L', Name: "Sedoa"},
"tvx": {Part3: "tvx", Scope: 'I', LanguageType: 'E', Name: "Taivoan"},
"tvy": {Part3: "tvy", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"twa": {Part3: "twa", Scope: 'I', LanguageType: 'E', Name: "Twana"},
"twb": {Part3: "twb", Scope: 'I', LanguageType: 'L', Name: "Western Tawbuid"},
"twc": {Part3: "twc", Scope: 'I', LanguageType: 'E', Name: "Teshenawa"},
"twd": {Part3: "twd", Scope: 'I', LanguageType: 'L', Name: "Twents"},
"twe": {Part3: "twe", Scope: 'I', LanguageType: 'L', Name: "Tewa (Indonesia)"},
"twf": {Part3: "twf", Scope: 'I', LanguageType: 'L', Name: "Northern Tiwa"},
"twg": {Part3: "twg", Scope: 'I', LanguageType: 'L', Name: "Tereweng"},
"twh": {Part3: "twh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"twi": {Part3: "twi", Part2B: "twi", Part2T: "twi", Part1: "tw", Scope: 'I', LanguageType: 'L', Name: "Twi"},
"twl": {Part3: "twl", Scope: 'I', LanguageType: 'L', Name: "Tawara"},
"twm": {Part3: "twm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"twn": {Part3: "twn", Scope: 'I', LanguageType: 'L', Name: "Twendi"},
"two": {Part3: "two", Scope: 'I', LanguageType: 'L', Name: "Tswapong"},
"twp": {Part3: "twp", Scope: 'I', LanguageType: 'L', Name: "Ere"},
"twq": {Part3: "twq", Scope: 'I', LanguageType: 'L', Name: "Tasawaq"},
"twr": {Part3: "twr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"twt": {Part3: "twt", Scope: 'I', LanguageType: 'E', Name: "Turiwára"},
"twu": {Part3: "twu", Scope: 'I', LanguageType: 'L', Name: "Termanu"},
"tww": {Part3: "tww", Scope: 'I', LanguageType: 'L', Name: "Tuwari"},
"twx": {Part3: "twx", Scope: 'I', LanguageType: 'L', Name: "Tewe"},
"twy": {Part3: "twy", Scope: 'I', LanguageType: 'L', Name: "Tawoyan"},
"txa": {Part3: "txa", Scope: 'I', LanguageType: 'L', Name: "Tombonuo"},
"txb": {Part3: "txb", Scope: 'I', LanguageType: 'A', Name: "<NAME>"},
"txc": {Part3: "txc", Scope: 'I', LanguageType: 'E', Name: "Tsetsaut"},
"txe": {Part3: "txe", Scope: 'I', LanguageType: 'L', Name: "Totoli"},
"txg": {Part3: "txg", Scope: 'I', LanguageType: 'A', Name: "Tangut"},
"txh": {Part3: "txh", Scope: 'I', LanguageType: 'A', Name: "Thracian"},
"txi": {Part3: "txi", Scope: 'I', LanguageType: 'L', Name: "Ikpeng"},
"txj": {Part3: "txj", Scope: 'I', LanguageType: 'L', Name: "Tarjumo"},
"txm": {Part3: "txm", Scope: 'I', LanguageType: 'L', Name: "Tomini"},
"txn": {Part3: "txn", Scope: 'I', LanguageType: 'L', Name: "<NAME>angan"},
"txo": {Part3: "txo", Scope: 'I', LanguageType: 'L', Name: "Toto"},
"txq": {Part3: "txq", Scope: 'I', LanguageType: 'L', Name: "Tii"},
"txr": {Part3: "txr", Scope: 'I', LanguageType: 'A', Name: "Tartessian"},
"txs": {Part3: "txs", Scope: 'I', LanguageType: 'L', Name: "Tonsea"},
"txt": {Part3: "txt", Scope: 'I', LanguageType: 'L', Name: "Citak"},
"txu": {Part3: "txu", Scope: 'I', LanguageType: 'L', Name: "Kayapó"},
"txx": {Part3: "txx", Scope: 'I', LanguageType: 'L', Name: "Tatana"},
"txy": {Part3: "txy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tya": {Part3: "tya", Scope: 'I', LanguageType: 'L', Name: "Tauya"},
"tye": {Part3: "tye", Scope: 'I', LanguageType: 'L', Name: "Kyanga"},
"tyh": {Part3: "tyh", Scope: 'I', LanguageType: 'L', Name: "O'du"},
"tyi": {Part3: "tyi", Scope: 'I', LanguageType: 'L', Name: "Teke-Tsaayi"},
"tyj": {Part3: "tyj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tyl": {Part3: "tyl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tyn": {Part3: "tyn", Scope: 'I', LanguageType: 'L', Name: "Kombai"},
"typ": {Part3: "typ", Scope: 'I', LanguageType: 'E', Name: "Thaypan"},
"tyr": {Part3: "tyr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tys": {Part3: "tys", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tyt": {Part3: "tyt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tyu": {Part3: "tyu", Scope: 'I', LanguageType: 'L', Name: "Kua"},
"tyv": {Part3: "tyv", Part2B: "tyv", Part2T: "tyv", Scope: 'I', LanguageType: 'L', Name: "Tuvinian"},
"tyx": {Part3: "tyx", Scope: 'I', LanguageType: 'L', Name: "Teke-Tyee"},
"tyy": {Part3: "tyy", Scope: 'I', LanguageType: 'L', Name: "Tiyaa"},
"tyz": {Part3: "tyz", Scope: 'I', LanguageType: 'L', Name: "Tày"},
"tza": {Part3: "tza", Scope: 'I', LanguageType: 'L', Name: "Tanzanian Sign Language"},
"tzh": {Part3: "tzh", Scope: 'I', LanguageType: 'L', Name: "Tzeltal"},
"tzj": {Part3: "tzj", Scope: 'I', LanguageType: 'L', Name: "Tz'utujil"},
"tzl": {Part3: "tzl", Scope: 'I', LanguageType: 'C', Name: "Talossan"},
"tzm": {Part3: "tzm", Scope: 'I', LanguageType: 'L', Name: "Central Atlas Tamazight"},
"tzn": {Part3: "tzn", Scope: 'I', LanguageType: 'L', Name: "Tugun"},
"tzo": {Part3: "tzo", Scope: 'I', LanguageType: 'L', Name: "Tzotzil"},
"tzx": {Part3: "tzx", Scope: 'I', LanguageType: 'L', Name: "Tabriak"},
"uam": {Part3: "uam", Scope: 'I', LanguageType: 'E', Name: "Uamué"},
"uan": {Part3: "uan", Scope: 'I', LanguageType: 'L', Name: "Kuan"},
"uar": {Part3: "uar", Scope: 'I', LanguageType: 'L', Name: "Tairuma"},
"uba": {Part3: "uba", Scope: 'I', LanguageType: 'L', Name: "Ubang"},
"ubi": {Part3: "ubi", Scope: 'I', LanguageType: 'L', Name: "Ubi"},
"ubl": {Part3: "ubl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ubr": {Part3: "ubr", Scope: 'I', LanguageType: 'L', Name: "Ubir"},
"ubu": {Part3: "ubu", Scope: 'I', LanguageType: 'L', Name: "Umbu-Ungu"},
"uby": {Part3: "uby", Scope: 'I', LanguageType: 'E', Name: "Ubykh"},
"uda": {Part3: "uda", Scope: 'I', LanguageType: 'L', Name: "Uda"},
"ude": {Part3: "ude", Scope: 'I', LanguageType: 'L', Name: "Udihe"},
"udg": {Part3: "udg", Scope: 'I', LanguageType: 'L', Name: "Muduga"},
"udi": {Part3: "udi", Scope: 'I', LanguageType: 'L', Name: "Udi"},
"udj": {Part3: "udj", Scope: 'I', LanguageType: 'L', Name: "Ujir"},
"udl": {Part3: "udl", Scope: 'I', LanguageType: 'L', Name: "Wuzlam"},
"udm": {Part3: "udm", Part2B: "udm", Part2T: "udm", Scope: 'I', LanguageType: 'L', Name: "Udmurt"},
"udu": {Part3: "udu", Scope: 'I', LanguageType: 'L', Name: "Uduk"},
"ues": {Part3: "ues", Scope: 'I', LanguageType: 'L', Name: "Kioko"},
"ufi": {Part3: "ufi", Scope: 'I', LanguageType: 'L', Name: "Ufim"},
"uga": {Part3: "uga", Part2B: "uga", Part2T: "uga", Scope: 'I', LanguageType: 'A', Name: "Ugaritic"},
"ugb": {Part3: "ugb", Scope: 'I', LanguageType: 'E', Name: "Kuku-Ugbanh"},
"uge": {Part3: "uge", Scope: 'I', LanguageType: 'L', Name: "Ughele"},
"ugn": {Part3: "ugn", Scope: 'I', LanguageType: 'L', Name: "Ugandan Sign Language"},
"ugo": {Part3: "ugo", Scope: 'I', LanguageType: 'L', Name: "Ugong"},
"ugy": {Part3: "ugy", Scope: 'I', LanguageType: 'L', Name: "Uruguayan Sign Language"},
"uha": {Part3: "uha", Scope: 'I', LanguageType: 'L', Name: "Uhami"},
"uhn": {Part3: "uhn", Scope: 'I', LanguageType: 'L', Name: "Damal"},
"uig": {Part3: "uig", Part2B: "uig", Part2T: "uig", Part1: "ug", Scope: 'I', LanguageType: 'L', Name: "Uighur"},
"uis": {Part3: "uis", Scope: 'I', LanguageType: 'L', Name: "Uisai"},
"uiv": {Part3: "uiv", Scope: 'I', LanguageType: 'L', Name: "Iyive"},
"uji": {Part3: "uji", Scope: 'I', LanguageType: 'L', Name: "Tanjijili"},
"uka": {Part3: "uka", Scope: 'I', LanguageType: 'L', Name: "Kaburi"},
"ukg": {Part3: "ukg", Scope: 'I', LanguageType: 'L', Name: "Ukuriguma"},
"ukh": {Part3: "ukh", Scope: 'I', LanguageType: 'L', Name: "Ukhwejo"},
"uki": {Part3: "uki", Scope: 'I', LanguageType: 'L', Name: "Kui (India)"},
"ukk": {Part3: "ukk", Scope: 'I', LanguageType: 'L', Name: "Muak Sa-aak"},
"ukl": {Part3: "ukl", Scope: 'I', LanguageType: 'L', Name: "Ukrainian Sign Language"},
"ukp": {Part3: "ukp", Scope: 'I', LanguageType: 'L', Name: "Ukpe-Bayobiri"},
"ukq": {Part3: "ukq", Scope: 'I', LanguageType: 'L', Name: "Ukwa"},
"ukr": {Part3: "ukr", Part2B: "ukr", Part2T: "ukr", Part1: "uk", Scope: 'I', LanguageType: 'L', Name: "Ukrainian"},
"uks": {Part3: "uks", Scope: 'I', LanguageType: 'L', Name: "Urubú-Kaapor Sign Language"},
"uku": {Part3: "uku", Scope: 'I', LanguageType: 'L', Name: "Ukue"},
"ukv": {Part3: "ukv", Scope: 'I', LanguageType: 'L', Name: "Kuku"},
"ukw": {Part3: "ukw", Scope: 'I', LanguageType: 'L', Name: "Ukwuani-Aboh-Ndoni"},
"uky": {Part3: "uky", Scope: 'I', LanguageType: 'E', Name: "Kuuk-Yak"},
"ula": {Part3: "ula", Scope: 'I', LanguageType: 'L', Name: "Fungwa"},
"ulb": {Part3: "ulb", Scope: 'I', LanguageType: 'L', Name: "Ulukwumi"},
"ulc": {Part3: "ulc", Scope: 'I', LanguageType: 'L', Name: "Ulch"},
"ule": {Part3: "ule", Scope: 'I', LanguageType: 'E', Name: "Lule"},
"ulf": {Part3: "ulf", Scope: 'I', LanguageType: 'L', Name: "Usku"},
"uli": {Part3: "uli", Scope: 'I', LanguageType: 'L', Name: "Ulithian"},
"ulk": {Part3: "ulk", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ull": {Part3: "ull", Scope: 'I', LanguageType: 'L', Name: "Ullatan"},
"ulm": {Part3: "ulm", Scope: 'I', LanguageType: 'L', Name: "Ulumanda'"},
"uln": {Part3: "uln", Scope: 'I', LanguageType: 'L', Name: "Unserdeutsch"},
"ulu": {Part3: "ulu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ulw": {Part3: "ulw", Scope: 'I', LanguageType: 'L', Name: "Ulwa"},
"uma": {Part3: "uma", Scope: 'I', LanguageType: 'L', Name: "Umatilla"},
"umb": {Part3: "umb", Part2B: "umb", Part2T: "umb", Scope: 'I', LanguageType: 'L', Name: "Umbundu"},
"umc": {Part3: "umc", Scope: 'I', LanguageType: 'A', Name: "Marrucinian"},
"umd": {Part3: "umd", Scope: 'I', LanguageType: 'E', Name: "Umbindhamu"},
"umg": {Part3: "umg", Scope: 'I', LanguageType: 'E', Name: "Morrobalama"},
"umi": {Part3: "umi", Scope: 'I', LanguageType: 'L', Name: "Ukit"},
"umm": {Part3: "umm", Scope: 'I', LanguageType: 'L', Name: "Umon"},
"umn": {Part3: "umn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"umo": {Part3: "umo", Scope: 'I', LanguageType: 'E', Name: "Umotína"},
"ump": {Part3: "ump", Scope: 'I', LanguageType: 'L', Name: "Umpila"},
"umr": {Part3: "umr", Scope: 'I', LanguageType: 'E', Name: "Umbugarla"},
"ums": {Part3: "ums", Scope: 'I', LanguageType: 'L', Name: "Pendau"},
"umu": {Part3: "umu", Scope: 'I', LanguageType: 'L', Name: "Munsee"},
"una": {Part3: "una", Scope: 'I', LanguageType: 'L', Name: "North Watut"},
"und": {Part3: "und", Part2B: "und", Part2T: "und", Scope: 'S', LanguageType: 'S', Name: "Undetermined"},
"une": {Part3: "une", Scope: 'I', LanguageType: 'L', Name: "Uneme"},
"ung": {Part3: "ung", Scope: 'I', LanguageType: 'L', Name: "Ngarinyin"},
"uni": {Part3: "uni", Scope: 'I', LanguageType: 'L', Name: "Uni"},
"unk": {Part3: "unk", Scope: 'I', LanguageType: 'L', Name: "Enawené-Nawé"},
"unm": {Part3: "unm", Scope: 'I', LanguageType: 'E', Name: "Unami"},
"unn": {Part3: "unn", Scope: 'I', LanguageType: 'L', Name: "Kurnai"},
"unr": {Part3: "unr", Scope: 'I', LanguageType: 'L', Name: "Mundari"},
"unu": {Part3: "unu", Scope: 'I', LanguageType: 'L', Name: "Unubahe"},
"unx": {Part3: "unx", Scope: 'I', LanguageType: 'L', Name: "Munda"},
"unz": {Part3: "unz", Scope: 'I', LanguageType: 'L', Name: "Unde Kaili"},
"upi": {Part3: "upi", Scope: 'I', LanguageType: 'L', Name: "Umeda"},
"upv": {Part3: "upv", Scope: 'I', LanguageType: 'L', Name: "Uripiv-Wala-Rano-Atchin"},
"ura": {Part3: "ura", Scope: 'I', LanguageType: 'L', Name: "Urarina"},
"urb": {Part3: "urb", Scope: 'I', LanguageType: 'L', Name: "Urubú-Kaapor"},
"urc": {Part3: "urc", Scope: 'I', LanguageType: 'E', Name: "Urningangg"},
"urd": {Part3: "urd", Part2B: "urd", Part2T: "urd", Part1: "ur", Scope: 'I', LanguageType: 'L', Name: "Urdu"},
"ure": {Part3: "ure", Scope: 'I', LanguageType: 'L', Name: "Uru"},
"urf": {Part3: "urf", Scope: 'I', LanguageType: 'E', Name: "Uradhi"},
"urg": {Part3: "urg", Scope: 'I', LanguageType: 'L', Name: "Urigina"},
"urh": {Part3: "urh", Scope: 'I', LanguageType: 'L', Name: "Urhobo"},
"uri": {Part3: "uri", Scope: 'I', LanguageType: 'L', Name: "Urim"},
"urk": {Part3: "urk", Scope: 'I', LanguageType: 'L', Name: "<NAME>'"},
"url": {Part3: "url", Scope: 'I', LanguageType: 'L', Name: "Urali"},
"urm": {Part3: "urm", Scope: 'I', LanguageType: 'L', Name: "Urapmin"},
"urn": {Part3: "urn", Scope: 'I', LanguageType: 'L', Name: "Uruangnirin"},
"uro": {Part3: "uro", Scope: 'I', LanguageType: 'L', Name: "Ura (Papua New Guinea)"},
"urp": {Part3: "urp", Scope: 'I', LanguageType: 'L', Name: "Uru-Pa-In"},
"urr": {Part3: "urr", Scope: 'I', LanguageType: 'L', Name: "Lehalurup"},
"urt": {Part3: "urt", Scope: 'I', LanguageType: 'L', Name: "Urat"},
"uru": {Part3: "uru", Scope: 'I', LanguageType: 'E', Name: "Urumi"},
"urv": {Part3: "urv", Scope: 'I', LanguageType: 'E', Name: "Uruava"},
"urw": {Part3: "urw", Scope: 'I', LanguageType: 'L', Name: "Sop"},
"urx": {Part3: "urx", Scope: 'I', LanguageType: 'L', Name: "Urimo"},
"ury": {Part3: "ury", Scope: 'I', LanguageType: 'L', Name: "Orya"},
"urz": {Part3: "urz", Scope: 'I', LanguageType: 'L', Name: "Uru-Eu-Wau-Wau"},
"usa": {Part3: "usa", Scope: 'I', LanguageType: 'L', Name: "Usarufa"},
"ush": {Part3: "ush", Scope: 'I', LanguageType: 'L', Name: "Ushojo"},
"usi": {Part3: "usi", Scope: 'I', LanguageType: 'L', Name: "Usui"},
"usk": {Part3: "usk", Scope: 'I', LanguageType: 'L', Name: "Usaghade"},
"usp": {Part3: "usp", Scope: 'I', LanguageType: 'L', Name: "Uspanteco"},
"uss": {Part3: "uss", Scope: 'I', LanguageType: 'L', Name: "us-Saare"},
"usu": {Part3: "usu", Scope: 'I', LanguageType: 'L', Name: "Uya"},
"uta": {Part3: "uta", Scope: 'I', LanguageType: 'L', Name: "Otank"},
"ute": {Part3: "ute", Scope: 'I', LanguageType: 'L', Name: "Ute-Southern Paiute"},
"uth": {Part3: "uth", Scope: 'I', LanguageType: 'L', Name: "ut-Hun"},
"utp": {Part3: "utp", Scope: 'I', LanguageType: 'L', Name: "Amba (Solomon Islands)"},
"utr": {Part3: "utr", Scope: 'I', LanguageType: 'L', Name: "Etulo"},
"utu": {Part3: "utu", Scope: 'I', LanguageType: 'L', Name: "Utu"},
"uum": {Part3: "uum", Scope: 'I', LanguageType: 'L', Name: "Urum"},
"uun": {Part3: "uun", Scope: 'I', LanguageType: 'L', Name: "Kulon-Pazeh"},
"uur": {Part3: "uur", Scope: 'I', LanguageType: 'L', Name: "Ura (Vanuatu)"},
"uuu": {Part3: "uuu", Scope: 'I', LanguageType: 'L', Name: "U"},
"uve": {Part3: "uve", Scope: 'I', LanguageType: 'L', Name: "West Uvean"},
"uvh": {Part3: "uvh", Scope: 'I', LanguageType: 'L', Name: "Uri"},
"uvl": {Part3: "uvl", Scope: 'I', LanguageType: 'L', Name: "Lote"},
"uwa": {Part3: "uwa", Scope: 'I', LanguageType: 'L', Name: "Kuku-Uwanh"},
"uya": {Part3: "uya", Scope: 'I', LanguageType: 'L', Name: "Doko-Uyanga"},
"uzb": {Part3: "uzb", Part2B: "uzb", Part2T: "uzb", Part1: "uz", Scope: 'M', LanguageType: 'L', Name: "Uzbek"},
"uzn": {Part3: "uzn", Scope: 'I', LanguageType: 'L', Name: "Northern Uzbek"},
"uzs": {Part3: "uzs", Scope: 'I', LanguageType: 'L', Name: "Southern Uzbek"},
"vaa": {Part3: "vaa", Scope: 'I', LanguageType: 'L', Name: "Vaagri Booli"},
"vae": {Part3: "vae", Scope: 'I', LanguageType: 'L', Name: "Vale"},
"vaf": {Part3: "vaf", Scope: 'I', LanguageType: 'L', Name: "Vafsi"},
"vag": {Part3: "vag", Scope: 'I', LanguageType: 'L', Name: "Vagla"},
"vah": {Part3: "vah", Scope: 'I', LanguageType: 'L', Name: "Varhadi-Nagpuri"},
"vai": {Part3: "vai", Part2B: "vai", Part2T: "vai", Scope: 'I', LanguageType: 'L', Name: "Vai"},
"vaj": {Part3: "vaj", Scope: 'I', LanguageType: 'L', Name: "Sekele"},
"val": {Part3: "val", Scope: 'I', LanguageType: 'L', Name: "Vehes"},
"vam": {Part3: "vam", Scope: 'I', LanguageType: 'L', Name: "Vanimo"},
"van": {Part3: "van", Scope: 'I', LanguageType: 'L', Name: "Valman"},
"vao": {Part3: "vao", Scope: 'I', LanguageType: 'L', Name: "Vao"},
"vap": {Part3: "vap", Scope: 'I', LanguageType: 'L', Name: "Vaiphei"},
"var": {Part3: "var", Scope: 'I', LanguageType: 'L', Name: "Huarijio"},
"vas": {Part3: "vas", Scope: 'I', LanguageType: 'L', Name: "Vasavi"},
"vau": {Part3: "vau", Scope: 'I', LanguageType: 'L', Name: "Vanuma"},
"vav": {Part3: "vav", Scope: 'I', LanguageType: 'L', Name: "Varli"},
"vay": {Part3: "vay", Scope: 'I', LanguageType: 'L', Name: "Wayu"},
"vbb": {Part3: "vbb", Scope: 'I', LanguageType: 'L', Name: "Southeast Babar"},
"vbk": {Part3: "vbk", Scope: 'I', LanguageType: 'L', Name: "Southwestern Bontok"},
"vec": {Part3: "vec", Scope: 'I', LanguageType: 'L', Name: "Venetian"},
"ved": {Part3: "ved", Scope: 'I', LanguageType: 'L', Name: "Veddah"},
"vel": {Part3: "vel", Scope: 'I', LanguageType: 'L', Name: "Veluws"},
"vem": {Part3: "vem", Scope: 'I', LanguageType: 'L', Name: "Vemgo-Mabas"},
"ven": {Part3: "ven", Part2B: "ven", Part2T: "ven", Part1: "ve", Scope: 'I', LanguageType: 'L', Name: "Venda"},
"veo": {Part3: "veo", Scope: 'I', LanguageType: 'E', Name: "Ventureño"},
"vep": {Part3: "vep", Scope: 'I', LanguageType: 'L', Name: "Veps"},
"ver": {Part3: "ver", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vgr": {Part3: "vgr", Scope: 'I', LanguageType: 'L', Name: "Vaghri"},
"vgt": {Part3: "vgt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vic": {Part3: "vic", Scope: 'I', LanguageType: 'L', Name: "Virgin Islands Creole English"},
"vid": {Part3: "vid", Scope: 'I', LanguageType: 'L', Name: "Vidunda"},
"vie": {Part3: "vie", Part2B: "vie", Part2T: "vie", Part1: "vi", Scope: 'I', LanguageType: 'L', Name: "Vietnamese"},
"vif": {Part3: "vif", Scope: 'I', LanguageType: 'L', Name: "Vili"},
"vig": {Part3: "vig", Scope: 'I', LanguageType: 'L', Name: "Viemo"},
"vil": {Part3: "vil", Scope: 'I', LanguageType: 'L', Name: "Vilela"},
"vin": {Part3: "vin", Scope: 'I', LanguageType: 'L', Name: "Vinza"},
"vis": {Part3: "vis", Scope: 'I', LanguageType: 'L', Name: "Vishavan"},
"vit": {Part3: "vit", Scope: 'I', LanguageType: 'L', Name: "Viti"},
"viv": {Part3: "viv", Scope: 'I', LanguageType: 'L', Name: "Iduna"},
"vka": {Part3: "vka", Scope: 'I', LanguageType: 'E', Name: "Kariyarra"},
"vkj": {Part3: "vkj", Scope: 'I', LanguageType: 'L', Name: "Kujarge"},
"vkk": {Part3: "vkk", Scope: 'I', LanguageType: 'L', Name: "Kaur"},
"vkl": {Part3: "vkl", Scope: 'I', LanguageType: 'L', Name: "Kulisusu"},
"vkm": {Part3: "vkm", Scope: 'I', LanguageType: 'E', Name: "Kamakan"},
"vkn": {Part3: "vkn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vko": {Part3: "vko", Scope: 'I', LanguageType: 'L', Name: "Kodeoha"},
"vkp": {Part3: "vkp", Scope: 'I', LanguageType: 'L', Name: "Korlai Creole Portuguese"},
"vkt": {Part3: "vkt", Scope: 'I', LanguageType: 'L', Name: "Tenggarong <NAME>"},
"vku": {Part3: "vku", Scope: 'I', LanguageType: 'L', Name: "Kurrama"},
"vkz": {Part3: "vkz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vlp": {Part3: "vlp", Scope: 'I', LanguageType: 'L', Name: "Valpei"},
"vls": {Part3: "vls", Scope: 'I', LanguageType: 'L', Name: "Vlaams"},
"vma": {Part3: "vma", Scope: 'I', LanguageType: 'L', Name: "Martuyhunira"},
"vmb": {Part3: "vmb", Scope: 'I', LanguageType: 'E', Name: "Barbaram"},
"vmc": {Part3: "vmc", Scope: 'I', LanguageType: 'L', Name: "Juxtlahuaca Mixtec"},
"vmd": {Part3: "vmd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vme": {Part3: "vme", Scope: 'I', LanguageType: 'L', Name: "East Masela"},
"vmf": {Part3: "vmf", Scope: 'I', LanguageType: 'L', Name: "Mainfränkisch"},
"vmg": {Part3: "vmg", Scope: 'I', LanguageType: 'L', Name: "Lungalunga"},
"vmh": {Part3: "vmh", Scope: 'I', LanguageType: 'L', Name: "Maraghei"},
"vmi": {Part3: "vmi", Scope: 'I', LanguageType: 'E', Name: "Miwa"},
"vmj": {Part3: "vmj", Scope: 'I', LanguageType: 'L', Name: "Ixtayutla Mixtec"},
"vmk": {Part3: "vmk", Scope: 'I', LanguageType: 'L', Name: "Makhuwa-Shirima"},
"vml": {Part3: "vml", Scope: 'I', LanguageType: 'E', Name: "Malgana"},
"vmm": {Part3: "vmm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vmp": {Part3: "vmp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vmq": {Part3: "vmq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vmr": {Part3: "vmr", Scope: 'I', LanguageType: 'L', Name: "Marenje"},
"vms": {Part3: "vms", Scope: 'I', LanguageType: 'E', Name: "Moksela"},
"vmu": {Part3: "vmu", Scope: 'I', LanguageType: 'E', Name: "Muluridyi"},
"vmv": {Part3: "vmv", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"vmw": {Part3: "vmw", Scope: 'I', LanguageType: 'L', Name: "Makhuwa"},
"vmx": {Part3: "vmx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vmy": {Part3: "vmy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vmz": {Part3: "vmz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"vnk": {Part3: "vnk", Scope: 'I', LanguageType: 'L', Name: "Vano"},
"vnm": {Part3: "vnm", Scope: 'I', LanguageType: 'L', Name: "Vinmavis"},
"vnp": {Part3: "vnp", Scope: 'I', LanguageType: 'L', Name: "Vunapu"},
"vol": {Part3: "vol", Part2B: "vol", Part2T: "vol", Part1: "vo", Scope: 'I', LanguageType: 'C', Name: "Volapük"},
"vor": {Part3: "vor", Scope: 'I', LanguageType: 'L', Name: "Voro"},
"vot": {Part3: "vot", Part2B: "vot", Part2T: "vot", Scope: 'I', LanguageType: 'L', Name: "Votic"},
"vra": {Part3: "vra", Scope: 'I', LanguageType: 'L', Name: "Vera'a"},
"vro": {Part3: "vro", Scope: 'I', LanguageType: 'L', Name: "Võro"},
"vrs": {Part3: "vrs", Scope: 'I', LanguageType: 'L', Name: "Varisi"},
"vrt": {Part3: "vrt", Scope: 'I', LanguageType: 'L', Name: "Burmbar"},
"vsi": {Part3: "vsi", Scope: 'I', LanguageType: 'L', Name: "Moldova Sign Language"},
"vsl": {Part3: "vsl", Scope: 'I', LanguageType: 'L', Name: "Venezuelan Sign Language"},
"vsv": {Part3: "vsv", Scope: 'I', LanguageType: 'L', Name: "Valencian Sign Language"},
"vto": {Part3: "vto", Scope: 'I', LanguageType: 'L', Name: "Vitou"},
"vum": {Part3: "vum", Scope: 'I', LanguageType: 'L', Name: "Vumbu"},
"vun": {Part3: "vun", Scope: 'I', LanguageType: 'L', Name: "Vunjo"},
"vut": {Part3: "vut", Scope: 'I', LanguageType: 'L', Name: "Vute"},
"vwa": {Part3: "vwa", Scope: 'I', LanguageType: 'L', Name: "Awa (China)"},
"waa": {Part3: "waa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wab": {Part3: "wab", Scope: 'I', LanguageType: 'L', Name: "Wab"},
"wac": {Part3: "wac", Scope: 'I', LanguageType: 'E', Name: "Wasco-Wishram"},
"wad": {Part3: "wad", Scope: 'I', LanguageType: 'L', Name: "Wamesa"},
"wae": {Part3: "wae", Scope: 'I', LanguageType: 'L', Name: "Walser"},
"waf": {Part3: "waf", Scope: 'I', LanguageType: 'E', Name: "Wakoná"},
"wag": {Part3: "wag", Scope: 'I', LanguageType: 'L', Name: "Wa'ema"},
"wah": {Part3: "wah", Scope: 'I', LanguageType: 'L', Name: "Watubela"},
"wai": {Part3: "wai", Scope: 'I', LanguageType: 'L', Name: "Wares"},
"waj": {Part3: "waj", Scope: 'I', LanguageType: 'L', Name: "Waffa"},
"wal": {Part3: "wal", Part2B: "wal", Part2T: "wal", Scope: 'I', LanguageType: 'L', Name: "Wolaytta"},
"wam": {Part3: "wam", Scope: 'I', LanguageType: 'E', Name: "Wampanoag"},
"wan": {Part3: "wan", Scope: 'I', LanguageType: 'L', Name: "Wan"},
"wao": {Part3: "wao", Scope: 'I', LanguageType: 'E', Name: "Wappo"},
"wap": {Part3: "wap", Scope: 'I', LanguageType: 'L', Name: "Wapishana"},
"waq": {Part3: "waq", Scope: 'I', LanguageType: 'L', Name: "Wagiman"},
"war": {Part3: "war", Part2B: "war", Part2T: "war", Scope: 'I', LanguageType: 'L', Name: "Waray (Philippines)"},
"was": {Part3: "was", Part2B: "was", Part2T: "was", Scope: 'I', LanguageType: 'L', Name: "Washo"},
"wat": {Part3: "wat", Scope: 'I', LanguageType: 'L', Name: "Kaninuwa"},
"wau": {Part3: "wau", Scope: 'I', LanguageType: 'L', Name: "Waurá"},
"wav": {Part3: "wav", Scope: 'I', LanguageType: 'L', Name: "Waka"},
"waw": {Part3: "waw", Scope: 'I', LanguageType: 'L', Name: "Waiwai"},
"wax": {Part3: "wax", Scope: 'I', LanguageType: 'L', Name: "Watam"},
"way": {Part3: "way", Scope: 'I', LanguageType: 'L', Name: "Wayana"},
"waz": {Part3: "waz", Scope: 'I', LanguageType: 'L', Name: "Wampur"},
"wba": {Part3: "wba", Scope: 'I', LanguageType: 'L', Name: "Warao"},
"wbb": {Part3: "wbb", Scope: 'I', LanguageType: 'L', Name: "Wabo"},
"wbe": {Part3: "wbe", Scope: 'I', LanguageType: 'L', Name: "Waritai"},
"wbf": {Part3: "wbf", Scope: 'I', LanguageType: 'L', Name: "Wara"},
"wbh": {Part3: "wbh", Scope: 'I', LanguageType: 'L', Name: "Wanda"},
"wbi": {Part3: "wbi", Scope: 'I', LanguageType: 'L', Name: "Vwanji"},
"wbj": {Part3: "wbj", Scope: 'I', LanguageType: 'L', Name: "Alagwa"},
"wbk": {Part3: "wbk", Scope: 'I', LanguageType: 'L', Name: "Waigali"},
"wbl": {Part3: "wbl", Scope: 'I', LanguageType: 'L', Name: "Wakhi"},
"wbm": {Part3: "wbm", Scope: 'I', LanguageType: 'L', Name: "Wa"},
"wbp": {Part3: "wbp", Scope: 'I', LanguageType: 'L', Name: "Warlpiri"},
"wbq": {Part3: "wbq", Scope: 'I', LanguageType: 'L', Name: "Waddar"},
"wbr": {Part3: "wbr", Scope: 'I', LanguageType: 'L', Name: "Wagdi"},
"wbs": {Part3: "wbs", Scope: 'I', LanguageType: 'L', Name: "West Bengal Sign Language"},
"wbt": {Part3: "wbt", Scope: 'I', LanguageType: 'L', Name: "Warnman"},
"wbv": {Part3: "wbv", Scope: 'I', LanguageType: 'L', Name: "Wajarri"},
"wbw": {Part3: "wbw", Scope: 'I', LanguageType: 'L', Name: "Woi"},
"wca": {Part3: "wca", Scope: 'I', LanguageType: 'L', Name: "Yanomámi"},
"wci": {Part3: "wci", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wdd": {Part3: "wdd", Scope: 'I', LanguageType: 'L', Name: "Wandji"},
"wdg": {Part3: "wdg", Scope: 'I', LanguageType: 'L', Name: "Wadaginam"},
"wdj": {Part3: "wdj", Scope: 'I', LanguageType: 'L', Name: "Wadjiginy"},
"wdk": {Part3: "wdk", Scope: 'I', LanguageType: 'E', Name: "Wadikali"},
"wdu": {Part3: "wdu", Scope: 'I', LanguageType: 'E', Name: "Wadjigu"},
"wdy": {Part3: "wdy", Scope: 'I', LanguageType: 'E', Name: "Wadjabangayi"},
"wea": {Part3: "wea", Scope: 'I', LanguageType: 'E', Name: "Wewaw"},
"wec": {Part3: "wec", Scope: 'I', LanguageType: 'L', Name: "W<NAME>"},
"wed": {Part3: "wed", Scope: 'I', LanguageType: 'L', Name: "Wedau"},
"weg": {Part3: "weg", Scope: 'I', LanguageType: 'L', Name: "Wergaia"},
"weh": {Part3: "weh", Scope: 'I', LanguageType: 'L', Name: "Weh"},
"wei": {Part3: "wei", Scope: 'I', LanguageType: 'L', Name: "Kiunum"},
"wem": {Part3: "wem", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"weo": {Part3: "weo", Scope: 'I', LanguageType: 'L', Name: "Wemale"},
"wep": {Part3: "wep", Scope: 'I', LanguageType: 'L', Name: "Westphalien"},
"wer": {Part3: "wer", Scope: 'I', LanguageType: 'L', Name: "Weri"},
"wes": {Part3: "wes", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wet": {Part3: "wet", Scope: 'I', LanguageType: 'L', Name: "Perai"},
"weu": {Part3: "weu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wew": {Part3: "wew", Scope: 'I', LanguageType: 'L', Name: "Wejewa"},
"wfg": {Part3: "wfg", Scope: 'I', LanguageType: 'L', Name: "Yafi"},
"wga": {Part3: "wga", Scope: 'I', LanguageType: 'E', Name: "Wagaya"},
"wgb": {Part3: "wgb", Scope: 'I', LanguageType: 'L', Name: "Wagawaga"},
"wgg": {Part3: "wgg", Scope: 'I', LanguageType: 'E', Name: "Wangkangurru"},
"wgi": {Part3: "wgi", Scope: 'I', LanguageType: 'L', Name: "Wahgi"},
"wgo": {Part3: "wgo", Scope: 'I', LanguageType: 'L', Name: "Waigeo"},
"wgu": {Part3: "wgu", Scope: 'I', LanguageType: 'E', Name: "Wirangu"},
"wgy": {Part3: "wgy", Scope: 'I', LanguageType: 'L', Name: "Warrgamay"},
"wha": {Part3: "wha", Scope: 'I', LanguageType: 'L', Name: "S<NAME>"},
"whg": {Part3: "whg", Scope: 'I', LanguageType: 'L', Name: "North Wahgi"},
"whk": {Part3: "whk", Scope: 'I', LanguageType: 'L', Name: "Wahau Kenyah"},
"whu": {Part3: "whu", Scope: 'I', LanguageType: 'L', Name: "Wahau Kayan"},
"wib": {Part3: "wib", Scope: 'I', LanguageType: 'L', Name: "Southern Toussian"},
"wic": {Part3: "wic", Scope: 'I', LanguageType: 'E', Name: "Wichita"},
"wie": {Part3: "wie", Scope: 'I', LanguageType: 'E', Name: "Wik-Epa"},
"wif": {Part3: "wif", Scope: 'I', LanguageType: 'E', Name: "Wik-Keyangan"},
"wig": {Part3: "wig", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wih": {Part3: "wih", Scope: 'I', LanguageType: 'L', Name: "Wik-Me'anha"},
"wii": {Part3: "wii", Scope: 'I', LanguageType: 'L', Name: "Minidien"},
"wij": {Part3: "wij", Scope: 'I', LanguageType: 'L', Name: "Wik-Iiyanh"},
"wik": {Part3: "wik", Scope: 'I', LanguageType: 'L', Name: "Wikalkan"},
"wil": {Part3: "wil", Scope: 'I', LanguageType: 'E', Name: "Wilawila"},
"wim": {Part3: "wim", Scope: 'I', LanguageType: 'L', Name: "Wik-Mungkan"},
"win": {Part3: "win", Scope: 'I', LanguageType: 'L', Name: "Ho-Chunk"},
"wir": {Part3: "wir", Scope: 'I', LanguageType: 'E', Name: "Wiraféd"},
"wiu": {Part3: "wiu", Scope: 'I', LanguageType: 'L', Name: "Wiru"},
"wiv": {Part3: "wiv", Scope: 'I', LanguageType: 'L', Name: "Vitu"},
"wiy": {Part3: "wiy", Scope: 'I', LanguageType: 'E', Name: "Wiyot"},
"wja": {Part3: "wja", Scope: 'I', LanguageType: 'L', Name: "Waja"},
"wji": {Part3: "wji", Scope: 'I', LanguageType: 'L', Name: "Warji"},
"wka": {Part3: "wka", Scope: 'I', LanguageType: 'E', Name: "Kw'adza"},
"wkb": {Part3: "wkb", Scope: 'I', LanguageType: 'L', Name: "Kumbaran"},
"wkd": {Part3: "wkd", Scope: 'I', LanguageType: 'L', Name: "Wakde"},
"wkl": {Part3: "wkl", Scope: 'I', LanguageType: 'L', Name: "Kalanadi"},
"wkr": {Part3: "wkr", Scope: 'I', LanguageType: 'L', Name: "Keerray-Woorroong"},
"wku": {Part3: "wku", Scope: 'I', LanguageType: 'L', Name: "Kunduvadi"},
"wkw": {Part3: "wkw", Scope: 'I', LanguageType: 'E', Name: "Wakawaka"},
"wky": {Part3: "wky", Scope: 'I', LanguageType: 'E', Name: "Wangkayutyuru"},
"wla": {Part3: "wla", Scope: 'I', LanguageType: 'L', Name: "Walio"},
"wlc": {Part3: "wlc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wle": {Part3: "wle", Scope: 'I', LanguageType: 'L', Name: "Wolane"},
"wlg": {Part3: "wlg", Scope: 'I', LanguageType: 'L', Name: "Kunbarlang"},
"wlh": {Part3: "wlh", Scope: 'I', LanguageType: 'L', Name: "Welaun"},
"wli": {Part3: "wli", Scope: 'I', LanguageType: 'L', Name: "Waioli"},
"wlk": {Part3: "wlk", Scope: 'I', LanguageType: 'E', Name: "Wailaki"},
"wll": {Part3: "wll", Scope: 'I', LanguageType: 'L', Name: "Wali (Sudan)"},
"wlm": {Part3: "wlm", Scope: 'I', LanguageType: 'H', Name: "Middle Welsh"},
"wln": {Part3: "wln", Part2B: "wln", Part2T: "wln", Part1: "wa", Scope: 'I', LanguageType: 'L', Name: "Walloon"},
"wlo": {Part3: "wlo", Scope: 'I', LanguageType: 'L', Name: "Wolio"},
"wlr": {Part3: "wlr", Scope: 'I', LanguageType: 'L', Name: "Wailapa"},
"wls": {Part3: "wls", Scope: 'I', LanguageType: 'L', Name: "Wallisian"},
"wlu": {Part3: "wlu", Scope: 'I', LanguageType: 'E', Name: "Wuliwuli"},
"wlv": {Part3: "wlv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wlw": {Part3: "wlw", Scope: 'I', LanguageType: 'L', Name: "Walak"},
"wlx": {Part3: "wlx", Scope: 'I', LanguageType: 'L', Name: "Wali (Ghana)"},
"wly": {Part3: "wly", Scope: 'I', LanguageType: 'E', Name: "Waling"},
"wma": {Part3: "wma", Scope: 'I', LanguageType: 'E', Name: "Mawa (Nigeria)"},
"wmb": {Part3: "wmb", Scope: 'I', LanguageType: 'L', Name: "Wambaya"},
"wmc": {Part3: "wmc", Scope: 'I', LanguageType: 'L', Name: "Wamas"},
"wmd": {Part3: "wmd", Scope: 'I', LanguageType: 'L', Name: "Mamaindé"},
"wme": {Part3: "wme", Scope: 'I', LanguageType: 'L', Name: "Wambule"},
"wmg": {Part3: "wmg", Scope: 'I', LanguageType: 'L', Name: "Western Minyag"},
"wmh": {Part3: "wmh", Scope: 'I', LanguageType: 'L', Name: "Waima'a"},
"wmi": {Part3: "wmi", Scope: 'I', LanguageType: 'E', Name: "Wamin"},
"wmm": {Part3: "wmm", Scope: 'I', LanguageType: 'L', Name: "Maiwa (Indonesia)"},
"wmn": {Part3: "wmn", Scope: 'I', LanguageType: 'E', Name: "Waamwang"},
"wmo": {Part3: "wmo", Scope: 'I', LanguageType: 'L', Name: "Wom (Papua New Guinea)"},
"wms": {Part3: "wms", Scope: 'I', LanguageType: 'L', Name: "Wambon"},
"wmt": {Part3: "wmt", Scope: 'I', LanguageType: 'L', Name: "Walmajarri"},
"wmw": {Part3: "wmw", Scope: 'I', LanguageType: 'L', Name: "Mwani"},
"wmx": {Part3: "wmx", Scope: 'I', LanguageType: 'L', Name: "Womo"},
"wnb": {Part3: "wnb", Scope: 'I', LanguageType: 'L', Name: "Wanambre"},
"wnc": {Part3: "wnc", Scope: 'I', LanguageType: 'L', Name: "Wantoat"},
"wnd": {Part3: "wnd", Scope: 'I', LanguageType: 'E', Name: "Wandarang"},
"wne": {Part3: "wne", Scope: 'I', LanguageType: 'L', Name: "Waneci"},
"wng": {Part3: "wng", Scope: 'I', LanguageType: 'L', Name: "Wanggom"},
"wni": {Part3: "wni", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wnk": {Part3: "wnk", Scope: 'I', LanguageType: 'L', Name: "Wanukaka"},
"wnm": {Part3: "wnm", Scope: 'I', LanguageType: 'E', Name: "Wanggamala"},
"wnn": {Part3: "wnn", Scope: 'I', LanguageType: 'E', Name: "Wunumara"},
"wno": {Part3: "wno", Scope: 'I', LanguageType: 'L', Name: "Wano"},
"wnp": {Part3: "wnp", Scope: 'I', LanguageType: 'L', Name: "Wanap"},
"wnu": {Part3: "wnu", Scope: 'I', LanguageType: 'L', Name: "Usan"},
"wnw": {Part3: "wnw", Scope: 'I', LanguageType: 'L', Name: "Wintu"},
"wny": {Part3: "wny", Scope: 'I', LanguageType: 'L', Name: "Wanyi"},
"woa": {Part3: "woa", Scope: 'I', LanguageType: 'L', Name: "Kuwema"},
"wob": {Part3: "wob", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"woc": {Part3: "woc", Scope: 'I', LanguageType: 'L', Name: "Wogeo"},
"wod": {Part3: "wod", Scope: 'I', LanguageType: 'L', Name: "Wolani"},
"woe": {Part3: "woe", Scope: 'I', LanguageType: 'L', Name: "Woleaian"},
"wof": {Part3: "wof", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wog": {Part3: "wog", Scope: 'I', LanguageType: 'L', Name: "Wogamusin"},
"woi": {Part3: "woi", Scope: 'I', LanguageType: 'L', Name: "Kamang"},
"wok": {Part3: "wok", Scope: 'I', LanguageType: 'L', Name: "Longto"},
"wol": {Part3: "wol", Part2B: "wol", Part2T: "wol", Part1: "wo", Scope: 'I', LanguageType: 'L', Name: "Wolof"},
"wom": {Part3: "wom", Scope: 'I', LanguageType: 'L', Name: "Wom (Nigeria)"},
"won": {Part3: "won", Scope: 'I', LanguageType: 'L', Name: "Wongo"},
"woo": {Part3: "woo", Scope: 'I', LanguageType: 'L', Name: "Manombai"},
"wor": {Part3: "wor", Scope: 'I', LanguageType: 'L', Name: "Woria"},
"wos": {Part3: "wos", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wow": {Part3: "wow", Scope: 'I', LanguageType: 'L', Name: "Wawonii"},
"woy": {Part3: "woy", Scope: 'I', LanguageType: 'E', Name: "Weyto"},
"wpc": {Part3: "wpc", Scope: 'I', LanguageType: 'L', Name: "Maco"},
"wrb": {Part3: "wrb", Scope: 'I', LanguageType: 'E', Name: "Waluwarra"},
"wrd": {Part3: "wrd", Scope: 'I', LanguageType: 'L', Name: "Warduji"},
"wrg": {Part3: "wrg", Scope: 'I', LanguageType: 'E', Name: "Warungu"},
"wrh": {Part3: "wrh", Scope: 'I', LanguageType: 'E', Name: "Wiradjuri"},
"wri": {Part3: "wri", Scope: 'I', LanguageType: 'E', Name: "Wariyangga"},
"wrk": {Part3: "wrk", Scope: 'I', LanguageType: 'L', Name: "Garrwa"},
"wrl": {Part3: "wrl", Scope: 'I', LanguageType: 'L', Name: "Warlmanpa"},
"wrm": {Part3: "wrm", Scope: 'I', LanguageType: 'L', Name: "Warumungu"},
"wrn": {Part3: "wrn", Scope: 'I', LanguageType: 'L', Name: "Warnang"},
"wro": {Part3: "wro", Scope: 'I', LanguageType: 'E', Name: "Worrorra"},
"wrp": {Part3: "wrp", Scope: 'I', LanguageType: 'L', Name: "Waropen"},
"wrr": {Part3: "wrr", Scope: 'I', LanguageType: 'L', Name: "Wardaman"},
"wrs": {Part3: "wrs", Scope: 'I', LanguageType: 'L', Name: "Waris"},
"wru": {Part3: "wru", Scope: 'I', LanguageType: 'L', Name: "Waru"},
"wrv": {Part3: "wrv", Scope: 'I', LanguageType: 'L', Name: "Waruna"},
"wrw": {Part3: "wrw", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"wrx": {Part3: "wrx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wry": {Part3: "wry", Scope: 'I', LanguageType: 'L', Name: "Merwari"},
"wrz": {Part3: "wrz", Scope: 'I', LanguageType: 'E', Name: "Waray (Australia)"},
"wsa": {Part3: "wsa", Scope: 'I', LanguageType: 'L', Name: "Warembori"},
"wsg": {Part3: "wsg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"wsi": {Part3: "wsi", Scope: 'I', LanguageType: 'L', Name: "Wusi"},
"wsk": {Part3: "wsk", Scope: 'I', LanguageType: 'L', Name: "Waskia"},
"wsr": {Part3: "wsr", Scope: 'I', LanguageType: 'L', Name: "Owenia"},
"wss": {Part3: "wss", Scope: 'I', LanguageType: 'L', Name: "Wasa"},
"wsu": {Part3: "wsu", Scope: 'I', LanguageType: 'E', Name: "Wasu"},
"wsv": {Part3: "wsv", Scope: 'I', LanguageType: 'E', Name: "Wotapuri-Katarqalai"},
"wtf": {Part3: "wtf", Scope: 'I', LanguageType: 'L', Name: "Watiwa"},
"wth": {Part3: "wth", Scope: 'I', LanguageType: 'E', Name: "Wathawurrung"},
"wti": {Part3: "wti", Scope: 'I', LanguageType: 'L', Name: "Berta"},
"wtk": {Part3: "wtk", Scope: 'I', LanguageType: 'L', Name: "Watakataui"},
"wtm": {Part3: "wtm", Scope: 'I', LanguageType: 'L', Name: "Mewati"},
"wtw": {Part3: "wtw", Scope: 'I', LanguageType: 'L', Name: "Wotu"},
"wua": {Part3: "wua", Scope: 'I', LanguageType: 'L', Name: "Wikngenchera"},
"wub": {Part3: "wub", Scope: 'I', LanguageType: 'L', Name: "Wunambal"},
"wud": {Part3: "wud", Scope: 'I', LanguageType: 'L', Name: "Wudu"},
"wuh": {Part3: "wuh", Scope: 'I', LanguageType: 'L', Name: "Wutunhua"},
"wul": {Part3: "wul", Scope: 'I', LanguageType: 'L', Name: "Silimo"},
"wum": {Part3: "wum", Scope: 'I', LanguageType: 'L', Name: "Wumbvu"},
"wun": {Part3: "wun", Scope: 'I', LanguageType: 'L', Name: "Bungu"},
"wur": {Part3: "wur", Scope: 'I', LanguageType: 'E', Name: "Wurrugu"},
"wut": {Part3: "wut", Scope: 'I', LanguageType: 'L', Name: "Wutung"},
"wuu": {Part3: "wuu", Scope: 'I', LanguageType: 'L', Name: "Wu Chinese"},
"wuv": {Part3: "wuv", Scope: 'I', LanguageType: 'L', Name: "Wuvulu-Aua"},
"wux": {Part3: "wux", Scope: 'I', LanguageType: 'L', Name: "Wulna"},
"wuy": {Part3: "wuy", Scope: 'I', LanguageType: 'L', Name: "Wauyai"},
"wwa": {Part3: "wwa", Scope: 'I', LanguageType: 'L', Name: "Waama"},
"wwb": {Part3: "wwb", Scope: 'I', LanguageType: 'E', Name: "Wakabunga"},
"wwo": {Part3: "wwo", Scope: 'I', LanguageType: 'L', Name: "Wetamut"},
"wwr": {Part3: "wwr", Scope: 'I', LanguageType: 'E', Name: "Warrwa"},
"www": {Part3: "www", Scope: 'I', LanguageType: 'L', Name: "Wawa"},
"wxa": {Part3: "wxa", Scope: 'I', LanguageType: 'L', Name: "Waxianghua"},
"wxw": {Part3: "wxw", Scope: 'I', LanguageType: 'E', Name: "Wardandi"},
"wya": {Part3: "wya", Scope: 'I', LanguageType: 'L', Name: "Wyandot"},
"wyb": {Part3: "wyb", Scope: 'I', LanguageType: 'L', Name: "Wangaaybuwan-Ngiyambaa"},
"wyi": {Part3: "wyi", Scope: 'I', LanguageType: 'E', Name: "Woiwurrung"},
"wym": {Part3: "wym", Scope: 'I', LanguageType: 'L', Name: "Wymysorys"},
"wyr": {Part3: "wyr", Scope: 'I', LanguageType: 'L', Name: "Wayoró"},
"wyy": {Part3: "wyy", Scope: 'I', LanguageType: 'L', Name: "Western Fijian"},
"xaa": {Part3: "xaa", Scope: 'I', LanguageType: 'H', Name: "Andalusian Arabic"},
"xab": {Part3: "xab", Scope: 'I', LanguageType: 'L', Name: "Sambe"},
"xac": {Part3: "xac", Scope: 'I', LanguageType: 'L', Name: "Kachari"},
"xad": {Part3: "xad", Scope: 'I', LanguageType: 'E', Name: "Adai"},
"xae": {Part3: "xae", Scope: 'I', LanguageType: 'A', Name: "Aequian"},
"xag": {Part3: "xag", Scope: 'I', LanguageType: 'A', Name: "Aghwan"},
"xai": {Part3: "xai", Scope: 'I', LanguageType: 'E', Name: "Kaimbé"},
"xaj": {Part3: "xaj", Scope: 'I', LanguageType: 'E', Name: "Ararandewára"},
"xak": {Part3: "xak", Scope: 'I', LanguageType: 'E', Name: "Máku"},
"xal": {Part3: "xal", Part2B: "xal", Part2T: "xal", Scope: 'I', LanguageType: 'L', Name: "Kalmyk"},
"xam": {Part3: "xam", Scope: 'I', LanguageType: 'E', Name: "ǀXam"},
"xan": {Part3: "xan", Scope: 'I', LanguageType: 'L', Name: "Xamtanga"},
"xao": {Part3: "xao", Scope: 'I', LanguageType: 'L', Name: "Khao"},
"xap": {Part3: "xap", Scope: 'I', LanguageType: 'E', Name: "Apalachee"},
"xaq": {Part3: "xaq", Scope: 'I', LanguageType: 'A', Name: "Aquitanian"},
"xar": {Part3: "xar", Scope: 'I', LanguageType: 'E', Name: "Karami"},
"xas": {Part3: "xas", Scope: 'I', LanguageType: 'E', Name: "Kamas"},
"xat": {Part3: "xat", Scope: 'I', LanguageType: 'L', Name: "Katawixi"},
"xau": {Part3: "xau", Scope: 'I', LanguageType: 'L', Name: "Kauwera"},
"xav": {Part3: "xav", Scope: 'I', LanguageType: 'L', Name: "Xavánte"},
"xaw": {Part3: "xaw", Scope: 'I', LanguageType: 'L', Name: "Kawaiisu"},
"xay": {Part3: "xay", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xbb": {Part3: "xbb", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"xbc": {Part3: "xbc", Scope: 'I', LanguageType: 'A', Name: "Bactrian"},
"xbd": {Part3: "xbd", Scope: 'I', LanguageType: 'E', Name: "Bindal"},
"xbe": {Part3: "xbe", Scope: 'I', LanguageType: 'E', Name: "Bigambal"},
"xbg": {Part3: "xbg", Scope: 'I', LanguageType: 'E', Name: "Bunganditj"},
"xbi": {Part3: "xbi", Scope: 'I', LanguageType: 'L', Name: "Kombio"},
"xbj": {Part3: "xbj", Scope: 'I', LanguageType: 'E', Name: "Birrpayi"},
"xbm": {Part3: "xbm", Scope: 'I', LanguageType: 'H', Name: "<NAME>"},
"xbn": {Part3: "xbn", Scope: 'I', LanguageType: 'E', Name: "Kenaboi"},
"xbo": {Part3: "xbo", Scope: 'I', LanguageType: 'H', Name: "Bolgarian"},
"xbp": {Part3: "xbp", Scope: 'I', LanguageType: 'E', Name: "Bibbulman"},
"xbr": {Part3: "xbr", Scope: 'I', LanguageType: 'L', Name: "Kambera"},
"xbw": {Part3: "xbw", Scope: 'I', LanguageType: 'E', Name: "Kambiwá"},
"xby": {Part3: "xby", Scope: 'I', LanguageType: 'L', Name: "Batjala"},
"xcb": {Part3: "xcb", Scope: 'I', LanguageType: 'H', Name: "Cumbric"},
"xcc": {Part3: "xcc", Scope: 'I', LanguageType: 'A', Name: "Camunic"},
"xce": {Part3: "xce", Scope: 'I', LanguageType: 'A', Name: "Celtiberian"},
"xcg": {Part3: "xcg", Scope: 'I', LanguageType: 'A', Name: "<NAME>"},
"xch": {Part3: "xch", Scope: 'I', LanguageType: 'E', Name: "Chemakum"},
"xcl": {Part3: "xcl", Scope: 'I', LanguageType: 'H', Name: "Classical Armenian"},
"xcm": {Part3: "xcm", Scope: 'I', LanguageType: 'E', Name: "Comecrudo"},
"xcn": {Part3: "xcn", Scope: 'I', LanguageType: 'E', Name: "Cotoname"},
"xco": {Part3: "xco", Scope: 'I', LanguageType: 'A', Name: "Chorasmian"},
"xcr": {Part3: "xcr", Scope: 'I', LanguageType: 'A', Name: "Carian"},
"xct": {Part3: "xct", Scope: 'I', LanguageType: 'H', Name: "Classical Tibetan"},
"xcu": {Part3: "xcu", Scope: 'I', LanguageType: 'H', Name: "Curonian"},
"xcv": {Part3: "xcv", Scope: 'I', LanguageType: 'E', Name: "Chuvantsy"},
"xcw": {Part3: "xcw", Scope: 'I', LanguageType: 'E', Name: "Coahuilteco"},
"xcy": {Part3: "xcy", Scope: 'I', LanguageType: 'E', Name: "Cayuse"},
"xda": {Part3: "xda", Scope: 'I', LanguageType: 'L', Name: "Darkinyung"},
"xdc": {Part3: "xdc", Scope: 'I', LanguageType: 'A', Name: "Dacian"},
"xdk": {Part3: "xdk", Scope: 'I', LanguageType: 'E', Name: "Dharuk"},
"xdm": {Part3: "xdm", Scope: 'I', LanguageType: 'A', Name: "Edomite"},
"xdo": {Part3: "xdo", Scope: 'I', LanguageType: 'L', Name: "Kwandu"},
"xdy": {Part3: "xdy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xeb": {Part3: "xeb", Scope: 'I', LanguageType: 'A', Name: "Eblan"},
"xed": {Part3: "xed", Scope: 'I', LanguageType: 'L', Name: "Hdi"},
"xeg": {Part3: "xeg", Scope: 'I', LanguageType: 'E', Name: "ǁXegwi"},
"xel": {Part3: "xel", Scope: 'I', LanguageType: 'L', Name: "Kelo"},
"xem": {Part3: "xem", Scope: 'I', LanguageType: 'L', Name: "Kembayan"},
"xep": {Part3: "xep", Scope: 'I', LanguageType: 'A', Name: "Epi-Olmec"},
"xer": {Part3: "xer", Scope: 'I', LanguageType: 'L', Name: "Xerénte"},
"xes": {Part3: "xes", Scope: 'I', LanguageType: 'L', Name: "Kesawai"},
"xet": {Part3: "xet", Scope: 'I', LanguageType: 'L', Name: "Xetá"},
"xeu": {Part3: "xeu", Scope: 'I', LanguageType: 'L', Name: "Keoru-Ahia"},
"xfa": {Part3: "xfa", Scope: 'I', LanguageType: 'A', Name: "Faliscan"},
"xga": {Part3: "xga", Scope: 'I', LanguageType: 'A', Name: "Galatian"},
"xgb": {Part3: "xgb", Scope: 'I', LanguageType: 'E', Name: "Gbin"},
"xgd": {Part3: "xgd", Scope: 'I', LanguageType: 'E', Name: "Gudang"},
"xgf": {Part3: "xgf", Scope: 'I', LanguageType: 'E', Name: "Gabrielino-Fernandeño"},
"xgg": {Part3: "xgg", Scope: 'I', LanguageType: 'E', Name: "Goreng"},
"xgi": {Part3: "xgi", Scope: 'I', LanguageType: 'E', Name: "Garingbal"},
"xgl": {Part3: "xgl", Scope: 'I', LanguageType: 'H', Name: "Galindan"},
"xgm": {Part3: "xgm", Scope: 'I', LanguageType: 'E', Name: "Dharumbal"},
"xgr": {Part3: "xgr", Scope: 'I', LanguageType: 'E', Name: "Garza"},
"xgu": {Part3: "xgu", Scope: 'I', LanguageType: 'L', Name: "Unggumi"},
"xgw": {Part3: "xgw", Scope: 'I', LanguageType: 'E', Name: "Guwa"},
"xha": {Part3: "xha", Scope: 'I', LanguageType: 'A', Name: "Harami"},
"xhc": {Part3: "xhc", Scope: 'I', LanguageType: 'A', Name: "Hunnic"},
"xhd": {Part3: "xhd", Scope: 'I', LanguageType: 'A', Name: "Hadrami"},
"xhe": {Part3: "xhe", Scope: 'I', LanguageType: 'L', Name: "Khetrani"},
"xho": {Part3: "xho", Part2B: "xho", Part2T: "xho", Part1: "xh", Scope: 'I', LanguageType: 'L', Name: "Xhosa"},
"xhr": {Part3: "xhr", Scope: 'I', LanguageType: 'A', Name: "Hernican"},
"xht": {Part3: "xht", Scope: 'I', LanguageType: 'A', Name: "Hattic"},
"xhu": {Part3: "xhu", Scope: 'I', LanguageType: 'A', Name: "Hurrian"},
"xhv": {Part3: "xhv", Scope: 'I', LanguageType: 'L', Name: "Khua"},
"xib": {Part3: "xib", Scope: 'I', LanguageType: 'A', Name: "Iberian"},
"xii": {Part3: "xii", Scope: 'I', LanguageType: 'L', Name: "Xiri"},
"xil": {Part3: "xil", Scope: 'I', LanguageType: 'A', Name: "Illyrian"},
"xin": {Part3: "xin", Scope: 'I', LanguageType: 'E', Name: "Xinca"},
"xir": {Part3: "xir", Scope: 'I', LanguageType: 'E', Name: "Xiriâna"},
"xis": {Part3: "xis", Scope: 'I', LanguageType: 'L', Name: "Kisan"},
"xiv": {Part3: "xiv", Scope: 'I', LanguageType: 'A', Name: "Indus Valley Language"},
"xiy": {Part3: "xiy", Scope: 'I', LanguageType: 'L', Name: "Xipaya"},
"xjb": {Part3: "xjb", Scope: 'I', LanguageType: 'E', Name: "Minjungbal"},
"xjt": {Part3: "xjt", Scope: 'I', LanguageType: 'E', Name: "Jaitmatang"},
"xka": {Part3: "xka", Scope: 'I', LanguageType: 'L', Name: "Kalkoti"},
"xkb": {Part3: "xkb", Scope: 'I', LanguageType: 'L', Name: "Northern Nago"},
"xkc": {Part3: "xkc", Scope: 'I', LanguageType: 'L', Name: "Kho'ini"},
"xkd": {Part3: "xkd", Scope: 'I', LanguageType: 'L', Name: "Mendalam Kayan"},
"xke": {Part3: "xke", Scope: 'I', LanguageType: 'L', Name: "Kereho"},
"xkf": {Part3: "xkf", Scope: 'I', LanguageType: 'L', Name: "Khengkha"},
"xkg": {Part3: "xkg", Scope: 'I', LanguageType: 'L', Name: "Kagoro"},
"xki": {Part3: "xki", Scope: 'I', LanguageType: 'L', Name: "Kenyan Sign Language"},
"xkj": {Part3: "xkj", Scope: 'I', LanguageType: 'L', Name: "Kajali"},
"xkk": {Part3: "xkk", Scope: 'I', LanguageType: 'L', Name: "Kaco'"},
"xkl": {Part3: "xkl", Scope: 'I', LanguageType: 'L', Name: "Mainstream Kenyah"},
"xkn": {Part3: "xkn", Scope: 'I', LanguageType: 'L', Name: "Kayan River Kayan"},
"xko": {Part3: "xko", Scope: 'I', LanguageType: 'L', Name: "Kiorr"},
"xkp": {Part3: "xkp", Scope: 'I', LanguageType: 'L', Name: "Kabatei"},
"xkq": {Part3: "xkq", Scope: 'I', LanguageType: 'L', Name: "Koroni"},
"xkr": {Part3: "xkr", Scope: 'I', LanguageType: 'E', Name: "Xakriabá"},
"xks": {Part3: "xks", Scope: 'I', LanguageType: 'L', Name: "Kumbewaha"},
"xkt": {Part3: "xkt", Scope: 'I', LanguageType: 'L', Name: "Kantosi"},
"xku": {Part3: "xku", Scope: 'I', LanguageType: 'L', Name: "Kaamba"},
"xkv": {Part3: "xkv", Scope: 'I', LanguageType: 'L', Name: "Kgalagadi"},
"xkw": {Part3: "xkw", Scope: 'I', LanguageType: 'L', Name: "Kembra"},
"xkx": {Part3: "xkx", Scope: 'I', LanguageType: 'L', Name: "Karore"},
"xky": {Part3: "xky", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xkz": {Part3: "xkz", Scope: 'I', LanguageType: 'L', Name: "Kurtokha"},
"xla": {Part3: "xla", Scope: 'I', LanguageType: 'L', Name: "Kamula"},
"xlb": {Part3: "xlb", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"xlc": {Part3: "xlc", Scope: 'I', LanguageType: 'A', Name: "Lycian"},
"xld": {Part3: "xld", Scope: 'I', LanguageType: 'A', Name: "Lydian"},
"xle": {Part3: "xle", Scope: 'I', LanguageType: 'A', Name: "Lemnian"},
"xlg": {Part3: "xlg", Scope: 'I', LanguageType: 'A', Name: "Ligurian (Ancient)"},
"xli": {Part3: "xli", Scope: 'I', LanguageType: 'A', Name: "Liburnian"},
"xln": {Part3: "xln", Scope: 'I', LanguageType: 'A', Name: "Alanic"},
"xlo": {Part3: "xlo", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"xlp": {Part3: "xlp", Scope: 'I', LanguageType: 'A', Name: "Lepontic"},
"xls": {Part3: "xls", Scope: 'I', LanguageType: 'A', Name: "Lusitanian"},
"xlu": {Part3: "xlu", Scope: 'I', LanguageType: 'A', Name: "Cuneiform Luwian"},
"xly": {Part3: "xly", Scope: 'I', LanguageType: 'A', Name: "Elymian"},
"xma": {Part3: "xma", Scope: 'I', LanguageType: 'L', Name: "Mushungulu"},
"xmb": {Part3: "xmb", Scope: 'I', LanguageType: 'L', Name: "Mbonga"},
"xmc": {Part3: "xmc", Scope: 'I', LanguageType: 'L', Name: "Makhuwa-Marrevone"},
"xmd": {Part3: "xmd", Scope: 'I', LanguageType: 'L', Name: "Mbudum"},
"xme": {Part3: "xme", Scope: 'I', LanguageType: 'A', Name: "Median"},
"xmf": {Part3: "xmf", Scope: 'I', LanguageType: 'L', Name: "Mingrelian"},
"xmg": {Part3: "xmg", Scope: 'I', LanguageType: 'L', Name: "Mengaka"},
"xmh": {Part3: "xmh", Scope: 'I', LanguageType: 'L', Name: "Kugu-Muminh"},
"xmj": {Part3: "xmj", Scope: 'I', LanguageType: 'L', Name: "Majera"},
"xmk": {Part3: "xmk", Scope: 'I', LanguageType: 'A', Name: "Ancient Macedonian"},
"xml": {Part3: "xml", Scope: 'I', LanguageType: 'L', Name: "Malaysian Sign Language"},
"xmm": {Part3: "xmm", Scope: 'I', LanguageType: 'L', Name: "Manado Malay"},
"xmn": {Part3: "xmn", Scope: 'I', LanguageType: 'H', Name: "Manichaean Middle Persian"},
"xmo": {Part3: "xmo", Scope: 'I', LanguageType: 'L', Name: "Morerebi"},
"xmp": {Part3: "xmp", Scope: 'I', LanguageType: 'E', Name: "Kuku-Mu'inh"},
"xmq": {Part3: "xmq", Scope: 'I', LanguageType: 'E', Name: "Kuku-Mangk"},
"xmr": {Part3: "xmr", Scope: 'I', LanguageType: 'A', Name: "Meroitic"},
"xms": {Part3: "xms", Scope: 'I', LanguageType: 'L', Name: "Moroccan Sign Language"},
"xmt": {Part3: "xmt", Scope: 'I', LanguageType: 'L', Name: "Matbat"},
"xmu": {Part3: "xmu", Scope: 'I', LanguageType: 'E', Name: "Kamu"},
"xmv": {Part3: "xmv", Scope: 'I', LanguageType: 'L', Name: "Antankarana Malagasy"},
"xmw": {Part3: "xmw", Scope: 'I', LanguageType: 'L', Name: "<NAME>agasy"},
"xmx": {Part3: "xmx", Scope: 'I', LanguageType: 'L', Name: "Maden"},
"xmy": {Part3: "xmy", Scope: 'I', LanguageType: 'L', Name: "Mayaguduna"},
"xmz": {Part3: "xmz", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xna": {Part3: "xna", Scope: 'I', LanguageType: 'A', Name: "Ancient North Arabian"},
"xnb": {Part3: "xnb", Scope: 'I', LanguageType: 'L', Name: "Kanakanabu"},
"xng": {Part3: "xng", Scope: 'I', LanguageType: 'H', Name: "Middle Mongolian"},
"xnh": {Part3: "xnh", Scope: 'I', LanguageType: 'L', Name: "Kuanhua"},
"xni": {Part3: "xni", Scope: 'I', LanguageType: 'E', Name: "Ngarigu"},
"xnj": {Part3: "xnj", Scope: 'I', LanguageType: 'L', Name: "Ngoni (Tanzania)"},
"xnk": {Part3: "xnk", Scope: 'I', LanguageType: 'E', Name: "Nganakarti"},
"xnm": {Part3: "xnm", Scope: 'I', LanguageType: 'E', Name: "Ngumbarl"},
"xnn": {Part3: "xnn", Scope: 'I', LanguageType: 'L', Name: "Northern Kankanay"},
"xno": {Part3: "xno", Scope: 'I', LanguageType: 'H', Name: "Anglo-Norman"},
"xnq": {Part3: "xnq", Scope: 'I', LanguageType: 'L', Name: "Ngoni (Mozambique)"},
"xnr": {Part3: "xnr", Scope: 'I', LanguageType: 'L', Name: "Kangri"},
"xns": {Part3: "xns", Scope: 'I', LanguageType: 'L', Name: "Kanashi"},
"xnt": {Part3: "xnt", Scope: 'I', LanguageType: 'E', Name: "Narragansett"},
"xnu": {Part3: "xnu", Scope: 'I', LanguageType: 'E', Name: "Nukunul"},
"xny": {Part3: "xny", Scope: 'I', LanguageType: 'L', Name: "Nyiyaparli"},
"xnz": {Part3: "xnz", Scope: 'I', LanguageType: 'L', Name: "Kenzi"},
"xoc": {Part3: "xoc", Scope: 'I', LanguageType: 'E', Name: "O'chi'chi'"},
"xod": {Part3: "xod", Scope: 'I', LanguageType: 'L', Name: "Kokoda"},
"xog": {Part3: "xog", Scope: 'I', LanguageType: 'L', Name: "Soga"},
"xoi": {Part3: "xoi", Scope: 'I', LanguageType: 'L', Name: "Kominimung"},
"xok": {Part3: "xok", Scope: 'I', LanguageType: 'L', Name: "Xokleng"},
"xom": {Part3: "xom", Scope: 'I', LanguageType: 'L', Name: "Komo (Sudan)"},
"xon": {Part3: "xon", Scope: 'I', LanguageType: 'L', Name: "Konkomba"},
"xoo": {Part3: "xoo", Scope: 'I', LanguageType: 'E', Name: "Xukurú"},
"xop": {Part3: "xop", Scope: 'I', LanguageType: 'L', Name: "Kopar"},
"xor": {Part3: "xor", Scope: 'I', LanguageType: 'L', Name: "Korubo"},
"xow": {Part3: "xow", Scope: 'I', LanguageType: 'L', Name: "Kowaki"},
"xpa": {Part3: "xpa", Scope: 'I', LanguageType: 'E', Name: "Pirriya"},
"xpb": {Part3: "xpb", Scope: 'I', LanguageType: 'E', Name: "Northeastern Tasmanian"},
"xpc": {Part3: "xpc", Scope: 'I', LanguageType: 'H', Name: "Pecheneg"},
"xpd": {Part3: "xpd", Scope: 'I', LanguageType: 'E', Name: "Oyster Bay Tasmanian"},
"xpe": {Part3: "xpe", Scope: 'I', LanguageType: 'L', Name: "Liberia Kpelle"},
"xpf": {Part3: "xpf", Scope: 'I', LanguageType: 'E', Name: "Southeast Tasmanian"},
"xpg": {Part3: "xpg", Scope: 'I', LanguageType: 'A', Name: "Phrygian"},
"xph": {Part3: "xph", Scope: 'I', LanguageType: 'E', Name: "North Midlands Tasmanian"},
"xpi": {Part3: "xpi", Scope: 'I', LanguageType: 'H', Name: "Pictish"},
"xpj": {Part3: "xpj", Scope: 'I', LanguageType: 'E', Name: "Mpalitjanh"},
"xpk": {Part3: "xpk", Scope: 'I', LanguageType: 'L', Name: "K<NAME>"},
"xpl": {Part3: "xpl", Scope: 'I', LanguageType: 'E', Name: "Port Sorell Tasmanian"},
"xpm": {Part3: "xpm", Scope: 'I', LanguageType: 'E', Name: "Pumpokol"},
"xpn": {Part3: "xpn", Scope: 'I', LanguageType: 'E', Name: "Kapinawá"},
"xpo": {Part3: "xpo", Scope: 'I', LanguageType: 'E', Name: "Pochutec"},
"xpp": {Part3: "xpp", Scope: 'I', LanguageType: 'A', Name: "Puyo-Paekche"},
"xpq": {Part3: "xpq", Scope: 'I', LanguageType: 'E', Name: "Mohegan-Pequot"},
"xpr": {Part3: "xpr", Scope: 'I', LanguageType: 'A', Name: "Parthian"},
"xps": {Part3: "xps", Scope: 'I', LanguageType: 'A', Name: "Pisidian"},
"xpt": {Part3: "xpt", Scope: 'I', LanguageType: 'E', Name: "Punthamara"},
"xpu": {Part3: "xpu", Scope: 'I', LanguageType: 'A', Name: "Punic"},
"xpv": {Part3: "xpv", Scope: 'I', LanguageType: 'E', Name: "Northern Tasmanian"},
"xpw": {Part3: "xpw", Scope: 'I', LanguageType: 'E', Name: "Northwestern Tasmanian"},
"xpx": {Part3: "xpx", Scope: 'I', LanguageType: 'E', Name: "Southwestern Tasmanian"},
"xpy": {Part3: "xpy", Scope: 'I', LanguageType: 'A', Name: "Puyo"},
"xpz": {Part3: "xpz", Scope: 'I', LanguageType: 'E', Name: "Bruny Island Tasmanian"},
"xqa": {Part3: "xqa", Scope: 'I', LanguageType: 'H', Name: "Karakhanid"},
"xqt": {Part3: "xqt", Scope: 'I', LanguageType: 'A', Name: "Qatabanian"},
"xra": {Part3: "xra", Scope: 'I', LanguageType: 'L', Name: "Krahô"},
"xrb": {Part3: "xrb", Scope: 'I', LanguageType: 'L', Name: "Eastern Karaboro"},
"xrd": {Part3: "xrd", Scope: 'I', LanguageType: 'E', Name: "Gundungurra"},
"xre": {Part3: "xre", Scope: 'I', LanguageType: 'L', Name: "Kreye"},
"xrg": {Part3: "xrg", Scope: 'I', LanguageType: 'E', Name: "Minang"},
"xri": {Part3: "xri", Scope: 'I', LanguageType: 'L', Name: "Krikati-Timbira"},
"xrm": {Part3: "xrm", Scope: 'I', LanguageType: 'A', Name: "Armazic"},
"xrn": {Part3: "xrn", Scope: 'I', LanguageType: 'E', Name: "Arin"},
"xrr": {Part3: "xrr", Scope: 'I', LanguageType: 'A', Name: "Raetic"},
"xrt": {Part3: "xrt", Scope: 'I', LanguageType: 'E', Name: "Aranama-Tamique"},
"xru": {Part3: "xru", Scope: 'I', LanguageType: 'L', Name: "Marriammu"},
"xrw": {Part3: "xrw", Scope: 'I', LanguageType: 'L', Name: "Karawa"},
"xsa": {Part3: "xsa", Scope: 'I', LanguageType: 'A', Name: "Sabaean"},
"xsb": {Part3: "xsb", Scope: 'I', LanguageType: 'L', Name: "Sambal"},
"xsc": {Part3: "xsc", Scope: 'I', LanguageType: 'A', Name: "Scythian"},
"xsd": {Part3: "xsd", Scope: 'I', LanguageType: 'A', Name: "Sidetic"},
"xse": {Part3: "xse", Scope: 'I', LanguageType: 'L', Name: "Sempan"},
"xsh": {Part3: "xsh", Scope: 'I', LanguageType: 'L', Name: "Shamang"},
"xsi": {Part3: "xsi", Scope: 'I', LanguageType: 'L', Name: "Sio"},
"xsj": {Part3: "xsj", Scope: 'I', LanguageType: 'L', Name: "Subi"},
"xsl": {Part3: "xsl", Scope: 'I', LanguageType: 'L', Name: "South Slavey"},
"xsm": {Part3: "xsm", Scope: 'I', LanguageType: 'L', Name: "Kasem"},
"xsn": {Part3: "xsn", Scope: 'I', LanguageType: 'L', Name: "Sanga (Nigeria)"},
"xso": {Part3: "xso", Scope: 'I', LanguageType: 'E', Name: "Solano"},
"xsp": {Part3: "xsp", Scope: 'I', LanguageType: 'L', Name: "Silopi"},
"xsq": {Part3: "xsq", Scope: 'I', LanguageType: 'L', Name: "Makhuwa-Saka"},
"xsr": {Part3: "xsr", Scope: 'I', LanguageType: 'L', Name: "Sherpa"},
"xss": {Part3: "xss", Scope: 'I', LanguageType: 'E', Name: "Assan"},
"xsu": {Part3: "xsu", Scope: 'I', LanguageType: 'L', Name: "Sanumá"},
"xsv": {Part3: "xsv", Scope: 'I', LanguageType: 'E', Name: "Sudovian"},
"xsy": {Part3: "xsy", Scope: 'I', LanguageType: 'L', Name: "Saisiyat"},
"xta": {Part3: "xta", Scope: 'I', LanguageType: 'L', Name: "Alcozauca Mixtec"},
"xtb": {Part3: "xtb", Scope: 'I', LanguageType: 'L', Name: "Chazumba Mixtec"},
"xtc": {Part3: "xtc", Scope: 'I', LanguageType: 'L', Name: "Katcha-Kadugli-Miri"},
"xtd": {Part3: "xtd", Scope: 'I', LanguageType: 'L', Name: "Diuxi-Tilantongo Mixtec"},
"xte": {Part3: "xte", Scope: 'I', LanguageType: 'L', Name: "Ketengban"},
"xtg": {Part3: "xtg", Scope: 'I', LanguageType: 'A', Name: "Transalpine Gaulish"},
"xth": {Part3: "xth", Scope: 'I', LanguageType: 'E', Name: "Yitha Yitha"},
"xti": {Part3: "xti", Scope: 'I', LanguageType: 'L', Name: "Sinicahua Mixtec"},
"xtj": {Part3: "xtj", Scope: 'I', LanguageType: 'L', Name: "San Juan Teita Mixtec"},
"xtl": {Part3: "xtl", Scope: 'I', LanguageType: 'L', Name: "Tijaltepec Mixtec"},
"xtm": {Part3: "xtm", Scope: 'I', LanguageType: 'L', Name: "<NAME> Mixtec"},
"xtn": {Part3: "xtn", Scope: 'I', LanguageType: 'L', Name: "Northern Tlaxiaco Mixtec"},
"xto": {Part3: "xto", Scope: 'I', LanguageType: 'A', Name: "<NAME>"},
"xtp": {Part3: "xtp", Scope: 'I', LanguageType: 'L', Name: "<NAME> Mixtec"},
"xtq": {Part3: "xtq", Scope: 'I', LanguageType: 'H', Name: "Tumshuqese"},
"xtr": {Part3: "xtr", Scope: 'I', LanguageType: 'A', Name: "Early Tripuri"},
"xts": {Part3: "xts", Scope: 'I', LanguageType: 'L', Name: "Sindihui Mixtec"},
"xtt": {Part3: "xtt", Scope: 'I', LanguageType: 'L', Name: "Tacahua Mixtec"},
"xtu": {Part3: "xtu", Scope: 'I', LanguageType: 'L', Name: "Cuyamecalco Mixtec"},
"xtv": {Part3: "xtv", Scope: 'I', LanguageType: 'E', Name: "Thawa"},
"xtw": {Part3: "xtw", Scope: 'I', LanguageType: 'L', Name: "Tawandê"},
"xty": {Part3: "xty", Scope: 'I', LanguageType: 'L', Name: "Yoloxochitl Mixtec"},
"xua": {Part3: "xua", Scope: 'I', LanguageType: 'L', Name: "Alu Kurumba"},
"xub": {Part3: "xub", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xud": {Part3: "xud", Scope: 'I', LanguageType: 'E', Name: "Umiida"},
"xug": {Part3: "xug", Scope: 'I', LanguageType: 'L', Name: "Kunigami"},
"xuj": {Part3: "xuj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xul": {Part3: "xul", Scope: 'I', LanguageType: 'E', Name: "Ngunawal"},
"xum": {Part3: "xum", Scope: 'I', LanguageType: 'A', Name: "Umbrian"},
"xun": {Part3: "xun", Scope: 'I', LanguageType: 'E', Name: "Unggaranggu"},
"xuo": {Part3: "xuo", Scope: 'I', LanguageType: 'L', Name: "Kuo"},
"xup": {Part3: "xup", Scope: 'I', LanguageType: 'E', Name: "Upper Umpqua"},
"xur": {Part3: "xur", Scope: 'I', LanguageType: 'A', Name: "Urartian"},
"xut": {Part3: "xut", Scope: 'I', LanguageType: 'E', Name: "Kuthant"},
"xuu": {Part3: "xuu", Scope: 'I', LanguageType: 'L', Name: "Kxoe"},
"xve": {Part3: "xve", Scope: 'I', LanguageType: 'A', Name: "Venetic"},
"xvi": {Part3: "xvi", Scope: 'I', LanguageType: 'L', Name: "Kamviri"},
"xvn": {Part3: "xvn", Scope: 'I', LanguageType: 'A', Name: "Vandalic"},
"xvo": {Part3: "xvo", Scope: 'I', LanguageType: 'A', Name: "Volscian"},
"xvs": {Part3: "xvs", Scope: 'I', LanguageType: 'A', Name: "Vestinian"},
"xwa": {Part3: "xwa", Scope: 'I', LanguageType: 'L', Name: "Kwaza"},
"xwc": {Part3: "xwc", Scope: 'I', LanguageType: 'E', Name: "Woccon"},
"xwd": {Part3: "xwd", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"xwe": {Part3: "xwe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xwg": {Part3: "xwg", Scope: 'I', LanguageType: 'L', Name: "Kwegu"},
"xwj": {Part3: "xwj", Scope: 'I', LanguageType: 'E', Name: "Wajuk"},
"xwk": {Part3: "xwk", Scope: 'I', LanguageType: 'E', Name: "Wangkumara"},
"xwl": {Part3: "xwl", Scope: 'I', LanguageType: 'L', Name: "Western Xwla Gbe"},
"xwo": {Part3: "xwo", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"xwr": {Part3: "xwr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xwt": {Part3: "xwt", Scope: 'I', LanguageType: 'E', Name: "Wotjobaluk"},
"xww": {Part3: "xww", Scope: 'I', LanguageType: 'E', Name: "<NAME>ba"},
"xxb": {Part3: "xxb", Scope: 'I', LanguageType: 'E', Name: "Boro (Ghana)"},
"xxk": {Part3: "xxk", Scope: 'I', LanguageType: 'L', Name: "Ke'o"},
"xxm": {Part3: "xxm", Scope: 'I', LanguageType: 'E', Name: "Minkin"},
"xxr": {Part3: "xxr", Scope: 'I', LanguageType: 'E', Name: "Koropó"},
"xxt": {Part3: "xxt", Scope: 'I', LanguageType: 'E', Name: "Tambora"},
"xya": {Part3: "xya", Scope: 'I', LanguageType: 'E', Name: "Yaygir"},
"xyb": {Part3: "xyb", Scope: 'I', LanguageType: 'E', Name: "Yandjibara"},
"xyj": {Part3: "xyj", Scope: 'I', LanguageType: 'E', Name: "Mayi-Yapi"},
"xyk": {Part3: "xyk", Scope: 'I', LanguageType: 'E', Name: "Mayi-Kulan"},
"xyl": {Part3: "xyl", Scope: 'I', LanguageType: 'E', Name: "Yalakalore"},
"xyt": {Part3: "xyt", Scope: 'I', LanguageType: 'E', Name: "Mayi-Thakurti"},
"xyy": {Part3: "xyy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"xzh": {Part3: "xzh", Scope: 'I', LanguageType: 'A', Name: "Zhang-Zhung"},
"xzm": {Part3: "xzm", Scope: 'I', LanguageType: 'E', Name: "Zemgalian"},
"xzp": {Part3: "xzp", Scope: 'I', LanguageType: 'H', Name: "<NAME>"},
"yaa": {Part3: "yaa", Scope: 'I', LanguageType: 'L', Name: "Yaminahua"},
"yab": {Part3: "yab", Scope: 'I', LanguageType: 'L', Name: "Yuhup"},
"yac": {Part3: "yac", Scope: 'I', LanguageType: 'L', Name: "Pass Valley Yali"},
"yad": {Part3: "yad", Scope: 'I', LanguageType: 'L', Name: "Yagua"},
"yae": {Part3: "yae", Scope: 'I', LanguageType: 'L', Name: "Pumé"},
"yaf": {Part3: "yaf", Scope: 'I', LanguageType: 'L', Name: "Yaka (Democratic Republic of Congo)"},
"yag": {Part3: "yag", Scope: 'I', LanguageType: 'L', Name: "Yámana"},
"yah": {Part3: "yah", Scope: 'I', LanguageType: 'L', Name: "Yazgulyam"},
"yai": {Part3: "yai", Scope: 'I', LanguageType: 'L', Name: "Yagnobi"},
"yaj": {Part3: "yaj", Scope: 'I', LanguageType: 'L', Name: "Banda-Yangere"},
"yak": {Part3: "yak", Scope: 'I', LanguageType: 'L', Name: "Yakama"},
"yal": {Part3: "yal", Scope: 'I', LanguageType: 'L', Name: "Yalunka"},
"yam": {Part3: "yam", Scope: 'I', LanguageType: 'L', Name: "Yamba"},
"yan": {Part3: "yan", Scope: 'I', LanguageType: 'L', Name: "Mayangna"},
"yao": {Part3: "yao", Part2B: "yao", Part2T: "yao", Scope: 'I', LanguageType: 'L', Name: "Yao"},
"yap": {Part3: "yap", Part2B: "yap", Part2T: "yap", Scope: 'I', LanguageType: 'L', Name: "Yapese"},
"yaq": {Part3: "yaq", Scope: 'I', LanguageType: 'L', Name: "Yaqui"},
"yar": {Part3: "yar", Scope: 'I', LanguageType: 'L', Name: "Yabarana"},
"yas": {Part3: "yas", Scope: 'I', LanguageType: 'L', Name: "Nugunu (Cameroon)"},
"yat": {Part3: "yat", Scope: 'I', LanguageType: 'L', Name: "Yambeta"},
"yau": {Part3: "yau", Scope: 'I', LanguageType: 'L', Name: "Yuwana"},
"yav": {Part3: "yav", Scope: 'I', LanguageType: 'L', Name: "Yangben"},
"yaw": {Part3: "yaw", Scope: 'I', LanguageType: 'L', Name: "Yawalapití"},
"yax": {Part3: "yax", Scope: 'I', LanguageType: 'L', Name: "Yauma"},
"yay": {Part3: "yay", Scope: 'I', LanguageType: 'L', Name: "Agwagwune"},
"yaz": {Part3: "yaz", Scope: 'I', LanguageType: 'L', Name: "Lokaa"},
"yba": {Part3: "yba", Scope: 'I', LanguageType: 'L', Name: "Yala"},
"ybb": {Part3: "ybb", Scope: 'I', LanguageType: 'L', Name: "Yemba"},
"ybe": {Part3: "ybe", Scope: 'I', LanguageType: 'L', Name: "West Yugur"},
"ybh": {Part3: "ybh", Scope: 'I', LanguageType: 'L', Name: "Yakha"},
"ybi": {Part3: "ybi", Scope: 'I', LanguageType: 'L', Name: "Yamphu"},
"ybj": {Part3: "ybj", Scope: 'I', LanguageType: 'L', Name: "Hasha"},
"ybk": {Part3: "ybk", Scope: 'I', LanguageType: 'L', Name: "Bokha"},
"ybl": {Part3: "ybl", Scope: 'I', LanguageType: 'L', Name: "Yukuben"},
"ybm": {Part3: "ybm", Scope: 'I', LanguageType: 'L', Name: "Yaben"},
"ybn": {Part3: "ybn", Scope: 'I', LanguageType: 'E', Name: "Yabaâna"},
"ybo": {Part3: "ybo", Scope: 'I', LanguageType: 'L', Name: "Yabong"},
"ybx": {Part3: "ybx", Scope: 'I', LanguageType: 'L', Name: "Yawiyo"},
"yby": {Part3: "yby", Scope: 'I', LanguageType: 'L', Name: "Yaweyuha"},
"ych": {Part3: "ych", Scope: 'I', LanguageType: 'L', Name: "Chesu"},
"ycl": {Part3: "ycl", Scope: 'I', LanguageType: 'L', Name: "Lolopo"},
"ycn": {Part3: "ycn", Scope: 'I', LanguageType: 'L', Name: "Yucuna"},
"ycp": {Part3: "ycp", Scope: 'I', LanguageType: 'L', Name: "Chepya"},
"yda": {Part3: "yda", Scope: 'I', LanguageType: 'E', Name: "Yanda"},
"ydd": {Part3: "ydd", Scope: 'I', LanguageType: 'L', Name: "Eastern Yiddish"},
"yde": {Part3: "yde", Scope: 'I', LanguageType: 'L', Name: "Yangum Dey"},
"ydg": {Part3: "ydg", Scope: 'I', LanguageType: 'L', Name: "Yidgha"},
"ydk": {Part3: "ydk", Scope: 'I', LanguageType: 'L', Name: "Yoidik"},
"yea": {Part3: "yea", Scope: 'I', LanguageType: 'L', Name: "Ravula"},
"yec": {Part3: "yec", Scope: 'I', LanguageType: 'L', Name: "Yeniche"},
"yee": {Part3: "yee", Scope: 'I', LanguageType: 'L', Name: "Yimas"},
"yei": {Part3: "yei", Scope: 'I', LanguageType: 'E', Name: "Yeni"},
"yej": {Part3: "yej", Scope: 'I', LanguageType: 'L', Name: "Yevanic"},
"yel": {Part3: "yel", Scope: 'I', LanguageType: 'L', Name: "Yela"},
"yer": {Part3: "yer", Scope: 'I', LanguageType: 'L', Name: "Tarok"},
"yes": {Part3: "yes", Scope: 'I', LanguageType: 'L', Name: "Nyankpa"},
"yet": {Part3: "yet", Scope: 'I', LanguageType: 'L', Name: "Yetfa"},
"yeu": {Part3: "yeu", Scope: 'I', LanguageType: 'L', Name: "Yerukula"},
"yev": {Part3: "yev", Scope: 'I', LanguageType: 'L', Name: "Yapunda"},
"yey": {Part3: "yey", Scope: 'I', LanguageType: 'L', Name: "Yeyi"},
"yga": {Part3: "yga", Scope: 'I', LanguageType: 'E', Name: "Malyangapa"},
"ygi": {Part3: "ygi", Scope: 'I', LanguageType: 'E', Name: "Yiningayi"},
"ygl": {Part3: "ygl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ygm": {Part3: "ygm", Scope: 'I', LanguageType: 'L', Name: "Yagomi"},
"ygp": {Part3: "ygp", Scope: 'I', LanguageType: 'L', Name: "Gepo"},
"ygr": {Part3: "ygr", Scope: 'I', LanguageType: 'L', Name: "Yagaria"},
"ygs": {Part3: "ygs", Scope: 'I', LanguageType: 'L', Name: "Yolŋu Sign Language"},
"ygu": {Part3: "ygu", Scope: 'I', LanguageType: 'L', Name: "Yugul"},
"ygw": {Part3: "ygw", Scope: 'I', LanguageType: 'L', Name: "Yagwoia"},
"yha": {Part3: "yha", Scope: 'I', LanguageType: 'L', Name: "Baha Buyang"},
"yhd": {Part3: "yhd", Scope: 'I', LanguageType: 'L', Name: "Judeo-Iraqi Arabic"},
"yhl": {Part3: "yhl", Scope: 'I', LanguageType: 'L', Name: "Hlepho Phowa"},
"yhs": {Part3: "yhs", Scope: 'I', LanguageType: 'L', Name: "Yan-nhaŋu Sign Language"},
"yia": {Part3: "yia", Scope: 'I', LanguageType: 'L', Name: "Yinggarda"},
"yid": {Part3: "yid", Part2B: "yid", Part2T: "yid", Part1: "yi", Scope: 'M', LanguageType: 'L', Name: "Yiddish"},
"yif": {Part3: "yif", Scope: 'I', LanguageType: 'L', Name: "Ache"},
"yig": {Part3: "yig", Scope: 'I', LanguageType: 'L', Name: "Wusa Nasu"},
"yih": {Part3: "yih", Scope: 'I', LanguageType: 'L', Name: "Western Yiddish"},
"yii": {Part3: "yii", Scope: 'I', LanguageType: 'L', Name: "Yidiny"},
"yij": {Part3: "yij", Scope: 'I', LanguageType: 'L', Name: "Yindjibarndi"},
"yik": {Part3: "yik", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yil": {Part3: "yil", Scope: 'I', LanguageType: 'E', Name: "Yindjilandji"},
"yim": {Part3: "yim", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yin": {Part3: "yin", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yip": {Part3: "yip", Scope: 'I', LanguageType: 'L', Name: "Pholo"},
"yiq": {Part3: "yiq", Scope: 'I', LanguageType: 'L', Name: "Miqie"},
"yir": {Part3: "yir", Scope: 'I', LanguageType: 'L', Name: "North Awyu"},
"yis": {Part3: "yis", Scope: 'I', LanguageType: 'L', Name: "Yis"},
"yit": {Part3: "yit", Scope: 'I', LanguageType: 'L', Name: "Eastern Lalu"},
"yiu": {Part3: "yiu", Scope: 'I', LanguageType: 'L', Name: "Awu"},
"yiv": {Part3: "yiv", Scope: 'I', LanguageType: 'L', Name: "Northern Nisu"},
"yix": {Part3: "yix", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yiz": {Part3: "yiz", Scope: 'I', LanguageType: 'L', Name: "Azhe"},
"yka": {Part3: "yka", Scope: 'I', LanguageType: 'L', Name: "Yakan"},
"ykg": {Part3: "ykg", Scope: 'I', LanguageType: 'L', Name: "Northern Yukaghir"},
"yki": {Part3: "yki", Scope: 'I', LanguageType: 'L', Name: "Yoke"},
"ykk": {Part3: "ykk", Scope: 'I', LanguageType: 'L', Name: "Yakaikeke"},
"ykl": {Part3: "ykl", Scope: 'I', LanguageType: 'L', Name: "Khlula"},
"ykm": {Part3: "ykm", Scope: 'I', LanguageType: 'L', Name: "Kap"},
"ykn": {Part3: "ykn", Scope: 'I', LanguageType: 'L', Name: "Kua-nsi"},
"yko": {Part3: "yko", Scope: 'I', LanguageType: 'L', Name: "Yasa"},
"ykr": {Part3: "ykr", Scope: 'I', LanguageType: 'L', Name: "Yekora"},
"ykt": {Part3: "ykt", Scope: 'I', LanguageType: 'L', Name: "Kathu"},
"yku": {Part3: "yku", Scope: 'I', LanguageType: 'L', Name: "Kuamasi"},
"yky": {Part3: "yky", Scope: 'I', LanguageType: 'L', Name: "Yakoma"},
"yla": {Part3: "yla", Scope: 'I', LanguageType: 'L', Name: "Yaul"},
"ylb": {Part3: "ylb", Scope: 'I', LanguageType: 'L', Name: "Yaleba"},
"yle": {Part3: "yle", Scope: 'I', LanguageType: 'L', Name: "Yele"},
"ylg": {Part3: "ylg", Scope: 'I', LanguageType: 'L', Name: "Yelogu"},
"yli": {Part3: "yli", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yll": {Part3: "yll", Scope: 'I', LanguageType: 'L', Name: "Yil"},
"ylm": {Part3: "ylm", Scope: 'I', LanguageType: 'L', Name: "Limi"},
"yln": {Part3: "yln", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ylo": {Part3: "ylo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ylr": {Part3: "ylr", Scope: 'I', LanguageType: 'E', Name: "Yalarnnga"},
"ylu": {Part3: "ylu", Scope: 'I', LanguageType: 'L', Name: "Aribwaung"},
"yly": {Part3: "yly", Scope: 'I', LanguageType: 'L', Name: "Nyâlayu"},
"ymb": {Part3: "ymb", Scope: 'I', LanguageType: 'L', Name: "Yambes"},
"ymc": {Part3: "ymc", Scope: 'I', LanguageType: 'L', Name: "<NAME>ji"},
"ymd": {Part3: "ymd", Scope: 'I', LanguageType: 'L', Name: "Muda"},
"yme": {Part3: "yme", Scope: 'I', LanguageType: 'E', Name: "Yameo"},
"ymg": {Part3: "ymg", Scope: 'I', LanguageType: 'L', Name: "Yamongeri"},
"ymh": {Part3: "ymh", Scope: 'I', LanguageType: 'L', Name: "Mili"},
"ymi": {Part3: "ymi", Scope: 'I', LanguageType: 'L', Name: "Moji"},
"ymk": {Part3: "ymk", Scope: 'I', LanguageType: 'L', Name: "Makwe"},
"yml": {Part3: "yml", Scope: 'I', LanguageType: 'L', Name: "Iamalele"},
"ymm": {Part3: "ymm", Scope: 'I', LanguageType: 'L', Name: "Maay"},
"ymn": {Part3: "ymn", Scope: 'I', LanguageType: 'L', Name: "Yamna"},
"ymo": {Part3: "ymo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ymp": {Part3: "ymp", Scope: 'I', LanguageType: 'L', Name: "Yamap"},
"ymq": {Part3: "ymq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ymr": {Part3: "ymr", Scope: 'I', LanguageType: 'L', Name: "Malasar"},
"yms": {Part3: "yms", Scope: 'I', LanguageType: 'A', Name: "Mysian"},
"ymx": {Part3: "ymx", Scope: 'I', LanguageType: 'L', Name: "Northern Muji"},
"ymz": {Part3: "ymz", Scope: 'I', LanguageType: 'L', Name: "Muzi"},
"yna": {Part3: "yna", Scope: 'I', LanguageType: 'L', Name: "Aluo"},
"ynd": {Part3: "ynd", Scope: 'I', LanguageType: 'E', Name: "Yandruwandha"},
"yne": {Part3: "yne", Scope: 'I', LanguageType: 'L', Name: "Lang'e"},
"yng": {Part3: "yng", Scope: 'I', LanguageType: 'L', Name: "Yango"},
"ynk": {Part3: "ynk", Scope: 'I', LanguageType: 'L', Name: "Na<NAME>"},
"ynl": {Part3: "ynl", Scope: 'I', LanguageType: 'L', Name: "Yangulam"},
"ynn": {Part3: "ynn", Scope: 'I', LanguageType: 'E', Name: "Yana"},
"yno": {Part3: "yno", Scope: 'I', LanguageType: 'L', Name: "Yong"},
"ynq": {Part3: "ynq", Scope: 'I', LanguageType: 'L', Name: "Yendang"},
"yns": {Part3: "yns", Scope: 'I', LanguageType: 'L', Name: "Yansi"},
"ynu": {Part3: "ynu", Scope: 'I', LanguageType: 'E', Name: "Yahuna"},
"yob": {Part3: "yob", Scope: 'I', LanguageType: 'E', Name: "Yoba"},
"yog": {Part3: "yog", Scope: 'I', LanguageType: 'L', Name: "Yogad"},
"yoi": {Part3: "yoi", Scope: 'I', LanguageType: 'L', Name: "Yonaguni"},
"yok": {Part3: "yok", Scope: 'I', LanguageType: 'L', Name: "Yokuts"},
"yol": {Part3: "yol", Scope: 'I', LanguageType: 'E', Name: "Yola"},
"yom": {Part3: "yom", Scope: 'I', LanguageType: 'L', Name: "Yombe"},
"yon": {Part3: "yon", Scope: 'I', LanguageType: 'L', Name: "Yongkom"},
"yor": {Part3: "yor", Part2B: "yor", Part2T: "yor", Part1: "yo", Scope: 'I', LanguageType: 'L', Name: "Yoruba"},
"yot": {Part3: "yot", Scope: 'I', LanguageType: 'L', Name: "Yotti"},
"yox": {Part3: "yox", Scope: 'I', LanguageType: 'L', Name: "Yoron"},
"yoy": {Part3: "yoy", Scope: 'I', LanguageType: 'L', Name: "Yoy"},
"ypa": {Part3: "ypa", Scope: 'I', LanguageType: 'L', Name: "Phala"},
"ypb": {Part3: "ypb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ypg": {Part3: "ypg", Scope: 'I', LanguageType: 'L', Name: "Phola"},
"yph": {Part3: "yph", Scope: 'I', LanguageType: 'L', Name: "Phupha"},
"ypm": {Part3: "ypm", Scope: 'I', LanguageType: 'L', Name: "Phuma"},
"ypn": {Part3: "ypn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ypo": {Part3: "ypo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ypp": {Part3: "ypp", Scope: 'I', LanguageType: 'L', Name: "Phupa"},
"ypz": {Part3: "ypz", Scope: 'I', LanguageType: 'L', Name: "Phuza"},
"yra": {Part3: "yra", Scope: 'I', LanguageType: 'L', Name: "Yerakai"},
"yrb": {Part3: "yrb", Scope: 'I', LanguageType: 'L', Name: "Yareba"},
"yre": {Part3: "yre", Scope: 'I', LanguageType: 'L', Name: "Yaouré"},
"yrk": {Part3: "yrk", Scope: 'I', LanguageType: 'L', Name: "Nenets"},
"yrl": {Part3: "yrl", Scope: 'I', LanguageType: 'L', Name: "Nhengatu"},
"yrm": {Part3: "yrm", Scope: 'I', LanguageType: 'L', Name: "Yirrk-Mel"},
"yrn": {Part3: "yrn", Scope: 'I', LanguageType: 'L', Name: "Yerong"},
"yro": {Part3: "yro", Scope: 'I', LanguageType: 'L', Name: "Yaroamë"},
"yrs": {Part3: "yrs", Scope: 'I', LanguageType: 'L', Name: "Yarsun"},
"yrw": {Part3: "yrw", Scope: 'I', LanguageType: 'L', Name: "Yarawata"},
"yry": {Part3: "yry", Scope: 'I', LanguageType: 'L', Name: "Yarluyandi"},
"ysc": {Part3: "ysc", Scope: 'I', LanguageType: 'E', Name: "Yassic"},
"ysd": {Part3: "ysd", Scope: 'I', LanguageType: 'L', Name: "Samatao"},
"ysg": {Part3: "ysg", Scope: 'I', LanguageType: 'L', Name: "Sonaga"},
"ysl": {Part3: "ysl", Scope: 'I', LanguageType: 'L', Name: "Yugoslavian Sign Language"},
"ysm": {Part3: "ysm", Scope: 'I', LanguageType: 'L', Name: "Myanmar Sign Language"},
"ysn": {Part3: "ysn", Scope: 'I', LanguageType: 'L', Name: "Sani"},
"yso": {Part3: "yso", Scope: 'I', LanguageType: 'L', Name: "Nisi (China)"},
"ysp": {Part3: "ysp", Scope: 'I', LanguageType: 'L', Name: "Southern Lolopo"},
"ysr": {Part3: "ysr", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"yss": {Part3: "yss", Scope: 'I', LanguageType: 'L', Name: "Yessan-Mayo"},
"ysy": {Part3: "ysy", Scope: 'I', LanguageType: 'L', Name: "Sanie"},
"yta": {Part3: "yta", Scope: 'I', LanguageType: 'L', Name: "Talu"},
"ytl": {Part3: "ytl", Scope: 'I', LanguageType: 'L', Name: "Tanglang"},
"ytp": {Part3: "ytp", Scope: 'I', LanguageType: 'L', Name: "Thopho"},
"ytw": {Part3: "ytw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yty": {Part3: "yty", Scope: 'I', LanguageType: 'E', Name: "Yatay"},
"yua": {Part3: "yua", Scope: 'I', LanguageType: 'L', Name: "Yucateco"},
"yub": {Part3: "yub", Scope: 'I', LanguageType: 'E', Name: "Yugambal"},
"yuc": {Part3: "yuc", Scope: 'I', LanguageType: 'L', Name: "Yuchi"},
"yud": {Part3: "yud", Scope: 'I', LanguageType: 'L', Name: "Judeo-Tripolitanian Arabic"},
"yue": {Part3: "yue", Scope: 'I', LanguageType: 'L', Name: "Yue Chinese"},
"yuf": {Part3: "yuf", Scope: 'I', LanguageType: 'L', Name: "Havasupai-Walapai-Yavapai"},
"yug": {Part3: "yug", Scope: 'I', LanguageType: 'E', Name: "Yug"},
"yui": {Part3: "yui", Scope: 'I', LanguageType: 'L', Name: "Yurutí"},
"yuj": {Part3: "yuj", Scope: 'I', LanguageType: 'L', Name: "Karkar-Yuri"},
"yuk": {Part3: "yuk", Scope: 'I', LanguageType: 'E', Name: "Yuki"},
"yul": {Part3: "yul", Scope: 'I', LanguageType: 'L', Name: "Yulu"},
"yum": {Part3: "yum", Scope: 'I', LanguageType: 'L', Name: "Quechan"},
"yun": {Part3: "yun", Scope: 'I', LanguageType: 'L', Name: "Bena (Nigeria)"},
"yup": {Part3: "yup", Scope: 'I', LanguageType: 'L', Name: "Yukpa"},
"yuq": {Part3: "yuq", Scope: 'I', LanguageType: 'L', Name: "Yuqui"},
"yur": {Part3: "yur", Scope: 'I', LanguageType: 'E', Name: "Yurok"},
"yut": {Part3: "yut", Scope: 'I', LanguageType: 'L', Name: "Yopno"},
"yuw": {Part3: "yuw", Scope: 'I', LanguageType: 'L', Name: "Yau (Morobe Province)"},
"yux": {Part3: "yux", Scope: 'I', LanguageType: 'L', Name: "Southern Yukaghir"},
"yuy": {Part3: "yuy", Scope: 'I', LanguageType: 'L', Name: "East Yugur"},
"yuz": {Part3: "yuz", Scope: 'I', LanguageType: 'L', Name: "Yuracare"},
"yva": {Part3: "yva", Scope: 'I', LanguageType: 'L', Name: "Yawa"},
"yvt": {Part3: "yvt", Scope: 'I', LanguageType: 'E', Name: "Yavitero"},
"ywa": {Part3: "ywa", Scope: 'I', LanguageType: 'L', Name: "Kalou"},
"ywg": {Part3: "ywg", Scope: 'I', LanguageType: 'L', Name: "Yinhawangka"},
"ywl": {Part3: "ywl", Scope: 'I', LanguageType: 'L', Name: "Western Lalu"},
"ywn": {Part3: "ywn", Scope: 'I', LanguageType: 'L', Name: "Yawanawa"},
"ywq": {Part3: "ywq", Scope: 'I', LanguageType: 'L', Name: "Wuding-Luquan Yi"},
"ywr": {Part3: "ywr", Scope: 'I', LanguageType: 'L', Name: "Yawuru"},
"ywt": {Part3: "ywt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ywu": {Part3: "ywu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yww": {Part3: "yww", Scope: 'I', LanguageType: 'E', Name: "Yawarawarga"},
"yxa": {Part3: "yxa", Scope: 'I', LanguageType: 'E', Name: "Mayawali"},
"yxg": {Part3: "yxg", Scope: 'I', LanguageType: 'E', Name: "Yagara"},
"yxl": {Part3: "yxl", Scope: 'I', LanguageType: 'E', Name: "Yardliyawarra"},
"yxm": {Part3: "yxm", Scope: 'I', LanguageType: 'E', Name: "Yinwum"},
"yxu": {Part3: "yxu", Scope: 'I', LanguageType: 'E', Name: "Yuyu"},
"yxy": {Part3: "yxy", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"yyr": {Part3: "yyr", Scope: 'I', LanguageType: 'E', Name: "<NAME>"},
"yyu": {Part3: "yyu", Scope: 'I', LanguageType: 'L', Name: "Yau (Sandaun Province)"},
"yyz": {Part3: "yyz", Scope: 'I', LanguageType: 'L', Name: "Ayizi"},
"yzg": {Part3: "yzg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"yzk": {Part3: "yzk", Scope: 'I', LanguageType: 'L', Name: "Zokhuo"},
"zaa": {Part3: "zaa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zab": {Part3: "zab", Scope: 'I', LanguageType: 'L', Name: "<NAME>ol<NAME>"},
"zac": {Part3: "zac", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zad": {Part3: "zad", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zae": {Part3: "zae", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zaf": {Part3: "zaf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zag": {Part3: "zag", Scope: 'I', LanguageType: 'L', Name: "Zaghawa"},
"zah": {Part3: "zah", Scope: 'I', LanguageType: 'L', Name: "Zangwal"},
"zai": {Part3: "zai", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zaj": {Part3: "zaj", Scope: 'I', LanguageType: 'L', Name: "Zaramo"},
"zak": {Part3: "zak", Scope: 'I', LanguageType: 'L', Name: "Zanaki"},
"zal": {Part3: "zal", Scope: 'I', LanguageType: 'L', Name: "Zauzou"},
"zam": {Part3: "zam", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zao": {Part3: "zao", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zap": {Part3: "zap", Part2B: "zap", Part2T: "zap", Scope: 'M', LanguageType: 'L', Name: "Zapotec"},
"zaq": {Part3: "zaq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zar": {Part3: "zar", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zas": {Part3: "zas", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zat": {Part3: "zat", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zau": {Part3: "zau", Scope: 'I', LanguageType: 'L', Name: "Zangskari"},
"zav": {Part3: "zav", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zaw": {Part3: "zaw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zax": {Part3: "zax", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zay": {Part3: "zay", Scope: 'I', LanguageType: 'L', Name: "Zayse-Zergulla"},
"zaz": {Part3: "zaz", Scope: 'I', LanguageType: 'L', Name: "Zari"},
"zba": {Part3: "zba", Scope: 'I', LanguageType: 'C', Name: "Balaibalan"},
"zbc": {Part3: "zbc", Scope: 'I', LanguageType: 'L', Name: "Central Berawan"},
"zbe": {Part3: "zbe", Scope: 'I', LanguageType: 'L', Name: "East Berawan"},
"zbl": {Part3: "zbl", Part2B: "zbl", Part2T: "zbl", Scope: 'I', LanguageType: 'C', Name: "Blissymbols"},
"zbt": {Part3: "zbt", Scope: 'I', LanguageType: 'L', Name: "Batui"},
"zbu": {Part3: "zbu", Scope: 'I', LanguageType: 'L', Name: "Bu (Bauchi State)"},
"zbw": {Part3: "zbw", Scope: 'I', LanguageType: 'L', Name: "West Berawan"},
"zca": {Part3: "zca", Scope: 'I', LanguageType: 'L', Name: "Coatecas Altas Zapotec"},
"zch": {Part3: "zch", Scope: 'I', LanguageType: 'L', Name: "Central Hongshuihe Zhuang"},
"zdj": {Part3: "zdj", Scope: 'I', LanguageType: 'L', Name: "Ngazidja Comorian"},
"zea": {Part3: "zea", Scope: 'I', LanguageType: 'L', Name: "Zeeuws"},
"zeg": {Part3: "zeg", Scope: 'I', LanguageType: 'L', Name: "Zenag"},
"zeh": {Part3: "zeh", Scope: 'I', LanguageType: 'L', Name: "Eastern Hongshuihe Zhuang"},
"zen": {Part3: "zen", Part2B: "zen", Part2T: "zen", Scope: 'I', LanguageType: 'L', Name: "Zenaga"},
"zga": {Part3: "zga", Scope: 'I', LanguageType: 'L', Name: "Kinga"},
"zgb": {Part3: "zgb", Scope: 'I', LanguageType: 'L', Name: "Guibei Zhuang"},
"zgh": {Part3: "zgh", Part2B: "zgh", Part2T: "zgh", Scope: 'I', LanguageType: 'L', Name: "Standard Moroccan Tamazight"},
"zgm": {Part3: "zgm", Scope: 'I', LanguageType: 'L', Name: "Minz Zhuang"},
"zgn": {Part3: "zgn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zgr": {Part3: "zgr", Scope: 'I', LanguageType: 'L', Name: "Magori"},
"zha": {Part3: "zha", Part2B: "zha", Part2T: "zha", Part1: "za", Scope: 'M', LanguageType: 'L', Name: "Zhuang"},
"zhb": {Part3: "zhb", Scope: 'I', LanguageType: 'L', Name: "Zhaba"},
"zhd": {Part3: "zhd", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zhi": {Part3: "zhi", Scope: 'I', LanguageType: 'L', Name: "Zhire"},
"zhn": {Part3: "zhn", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zho": {Part3: "zho", Part2B: "chi", Part2T: "zho", Part1: "zh", Scope: 'M', LanguageType: 'L', Name: "Chinese"},
"zhw": {Part3: "zhw", Scope: 'I', LanguageType: 'L', Name: "Zhoa"},
"zia": {Part3: "zia", Scope: 'I', LanguageType: 'L', Name: "Zia"},
"zib": {Part3: "zib", Scope: 'I', LanguageType: 'L', Name: "Zimbabwe Sign Language"},
"zik": {Part3: "zik", Scope: 'I', LanguageType: 'L', Name: "Zimakani"},
"zil": {Part3: "zil", Scope: 'I', LanguageType: 'L', Name: "Zialo"},
"zim": {Part3: "zim", Scope: 'I', LanguageType: 'L', Name: "Mesme"},
"zin": {Part3: "zin", Scope: 'I', LanguageType: 'L', Name: "Zinza"},
"ziw": {Part3: "ziw", Scope: 'I', LanguageType: 'L', Name: "Zigula"},
"ziz": {Part3: "ziz", Scope: 'I', LanguageType: 'L', Name: "Zizilivakan"},
"zka": {Part3: "zka", Scope: 'I', LanguageType: 'L', Name: "Kaimbulawa"},
"zkb": {Part3: "zkb", Scope: 'I', LanguageType: 'E', Name: "Koibal"},
"zkd": {Part3: "zkd", Scope: 'I', LanguageType: 'L', Name: "Kadu"},
"zkg": {Part3: "zkg", Scope: 'I', LanguageType: 'A', Name: "Koguryo"},
"zkh": {Part3: "zkh", Scope: 'I', LanguageType: 'H', Name: "Khorezmian"},
"zkk": {Part3: "zkk", Scope: 'I', LanguageType: 'E', Name: "Karankawa"},
"zkn": {Part3: "zkn", Scope: 'I', LanguageType: 'L', Name: "Kanan"},
"zko": {Part3: "zko", Scope: 'I', LanguageType: 'E', Name: "Kott"},
"zkp": {Part3: "zkp", Scope: 'I', LanguageType: 'E', Name: "São Paulo Kaingáng"},
"zkr": {Part3: "zkr", Scope: 'I', LanguageType: 'L', Name: "Zakhring"},
"zkt": {Part3: "zkt", Scope: 'I', LanguageType: 'H', Name: "Kitan"},
"zku": {Part3: "zku", Scope: 'I', LanguageType: 'L', Name: "Kaurna"},
"zkv": {Part3: "zkv", Scope: 'I', LanguageType: 'E', Name: "Krevinian"},
"zkz": {Part3: "zkz", Scope: 'I', LanguageType: 'H', Name: "Khazar"},
"zla": {Part3: "zla", Scope: 'I', LanguageType: 'L', Name: "Zula"},
"zlj": {Part3: "zlj", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zlm": {Part3: "zlm", Scope: 'I', LanguageType: 'L', Name: "Malay (individual language)"},
"zln": {Part3: "zln", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zlq": {Part3: "zlq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zma": {Part3: "zma", Scope: 'I', LanguageType: 'L', Name: "Manda (Australia)"},
"zmb": {Part3: "zmb", Scope: 'I', LanguageType: 'L', Name: "Zimba"},
"zmc": {Part3: "zmc", Scope: 'I', LanguageType: 'E', Name: "Margany"},
"zmd": {Part3: "zmd", Scope: 'I', LanguageType: 'L', Name: "Maridan"},
"zme": {Part3: "zme", Scope: 'I', LanguageType: 'E', Name: "Mangerr"},
"zmf": {Part3: "zmf", Scope: 'I', LanguageType: 'L', Name: "Mfinu"},
"zmg": {Part3: "zmg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zmh": {Part3: "zmh", Scope: 'I', LanguageType: 'E', Name: "Makolkol"},
"zmi": {Part3: "zmi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zmj": {Part3: "zmj", Scope: 'I', LanguageType: 'L', Name: "Maridjabin"},
"zmk": {Part3: "zmk", Scope: 'I', LanguageType: 'E', Name: "Mandandanyi"},
"zml": {Part3: "zml", Scope: 'I', LanguageType: 'E', Name: "Matngala"},
"zmm": {Part3: "zmm", Scope: 'I', LanguageType: 'L', Name: "Marimanindji"},
"zmn": {Part3: "zmn", Scope: 'I', LanguageType: 'L', Name: "Mbangwe"},
"zmo": {Part3: "zmo", Scope: 'I', LanguageType: 'L', Name: "Molo"},
"zmp": {Part3: "zmp", Scope: 'I', LanguageType: 'L', Name: "Mpuono"},
"zmq": {Part3: "zmq", Scope: 'I', LanguageType: 'L', Name: "Mituku"},
"zmr": {Part3: "zmr", Scope: 'I', LanguageType: 'L', Name: "Maranunggu"},
"zms": {Part3: "zms", Scope: 'I', LanguageType: 'L', Name: "Mbesa"},
"zmt": {Part3: "zmt", Scope: 'I', LanguageType: 'L', Name: "Maringarr"},
"zmu": {Part3: "zmu", Scope: 'I', LanguageType: 'E', Name: "Muruwari"},
"zmv": {Part3: "zmv", Scope: 'I', LanguageType: 'E', Name: "Mbariman-Gudhinma"},
"zmw": {Part3: "zmw", Scope: 'I', LanguageType: 'L', Name: "Mbo (Democratic Republic of Congo)"},
"zmx": {Part3: "zmx", Scope: 'I', LanguageType: 'L', Name: "Bomitaba"},
"zmy": {Part3: "zmy", Scope: 'I', LanguageType: 'L', Name: "Mariyedi"},
"zmz": {Part3: "zmz", Scope: 'I', LanguageType: 'L', Name: "Mbandja"},
"zna": {Part3: "zna", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zne": {Part3: "zne", Scope: 'I', LanguageType: 'L', Name: "Zande (individual language)"},
"zng": {Part3: "zng", Scope: 'I', LanguageType: 'L', Name: "Mang"},
"znk": {Part3: "znk", Scope: 'I', LanguageType: 'E', Name: "Manangkari"},
"zns": {Part3: "zns", Scope: 'I', LanguageType: 'L', Name: "Mangas"},
"zoc": {Part3: "zoc", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zoh": {Part3: "zoh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zom": {Part3: "zom", Scope: 'I', LanguageType: 'L', Name: "Zou"},
"zoo": {Part3: "zoo", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zoq": {Part3: "zoq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zor": {Part3: "zor", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zos": {Part3: "zos", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpa": {Part3: "zpa", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpb": {Part3: "zpb", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpc": {Part3: "zpc", Scope: 'I', LanguageType: 'L', Name: "Cho<NAME>apotec"},
"zpd": {Part3: "zpd", Scope: 'I', LanguageType: 'L', Name: "Southeastern Ixtlán Zapotec"},
"zpe": {Part3: "zpe", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpf": {Part3: "zpf", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpg": {Part3: "zpg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zph": {Part3: "zph", Scope: 'I', LanguageType: 'L', Name: "Totomachapan Zapotec"},
"zpi": {Part3: "zpi", Scope: 'I', LanguageType: 'L', Name: "<NAME>otec"},
"zpj": {Part3: "zpj", Scope: 'I', LanguageType: 'L', Name: "<NAME>apotec"},
"zpk": {Part3: "zpk", Scope: 'I', LanguageType: 'L', Name: "Tlacolulita Zapotec"},
"zpl": {Part3: "zpl", Scope: 'I', LanguageType: 'L', Name: "Lachixío Zapotec"},
"zpm": {Part3: "zpm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpn": {Part3: "zpn", Scope: 'I', LanguageType: 'L', Name: "Santa Inés Yatzechi Zapotec"},
"zpo": {Part3: "zpo", Scope: 'I', LanguageType: 'L', Name: "<NAME>apotec"},
"zpp": {Part3: "zpp", Scope: 'I', LanguageType: 'L', Name: "<NAME>apotec"},
"zpq": {Part3: "zpq", Scope: 'I', LanguageType: 'L', Name: "<NAME>apotec"},
"zpr": {Part3: "zpr", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zps": {Part3: "zps", Scope: 'I', LanguageType: 'L', Name: "Co<NAME>otec"},
"zpt": {Part3: "zpt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpu": {Part3: "zpu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpv": {Part3: "zpv", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpw": {Part3: "zpw", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpx": {Part3: "zpx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpy": {Part3: "zpy", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zpz": {Part3: "zpz", Scope: 'I', LanguageType: 'L', Name: "<NAME>apotec"},
"zqe": {Part3: "zqe", Scope: 'I', LanguageType: 'L', Name: "Qiubei Zhuang"},
"zra": {Part3: "zra", Scope: 'I', LanguageType: 'A', Name: "Kara (Korea)"},
"zrg": {Part3: "zrg", Scope: 'I', LanguageType: 'L', Name: "Mirgan"},
"zrn": {Part3: "zrn", Scope: 'I', LanguageType: 'L', Name: "Zerenkel"},
"zro": {Part3: "zro", Scope: 'I', LanguageType: 'L', Name: "Záparo"},
"zrp": {Part3: "zrp", Scope: 'I', LanguageType: 'E', Name: "Zarphatic"},
"zrs": {Part3: "zrs", Scope: 'I', LanguageType: 'L', Name: "Mairasi"},
"zsa": {Part3: "zsa", Scope: 'I', LanguageType: 'L', Name: "Sarasira"},
"zsk": {Part3: "zsk", Scope: 'I', LanguageType: 'A', Name: "Kaskean"},
"zsl": {Part3: "zsl", Scope: 'I', LanguageType: 'L', Name: "Zambian Sign Language"},
"zsm": {Part3: "zsm", Scope: 'I', LanguageType: 'L', Name: "Standard Malay"},
"zsr": {Part3: "zsr", Scope: 'I', LanguageType: 'L', Name: "Southern Rincon Zapotec"},
"zsu": {Part3: "zsu", Scope: 'I', LanguageType: 'L', Name: "Sukurum"},
"zte": {Part3: "zte", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztg": {Part3: "ztg", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztl": {Part3: "ztl", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztm": {Part3: "ztm", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztn": {Part3: "ztn", Scope: 'I', LanguageType: 'L', Name: "Santa Catarina Alb<NAME>"},
"ztp": {Part3: "ztp", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztq": {Part3: "ztq", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zts": {Part3: "zts", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztt": {Part3: "ztt", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztu": {Part3: "ztu", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"ztx": {Part3: "ztx", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zty": {Part3: "zty", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"zua": {Part3: "zua", Scope: 'I', LanguageType: 'L', Name: "Zeem"},
"zuh": {Part3: "zuh", Scope: 'I', LanguageType: 'L', Name: "Tokano"},
"zul": {Part3: "zul", Part2B: "zul", Part2T: "zul", Part1: "zu", Scope: 'I', LanguageType: 'L', Name: "Zulu"},
"zum": {Part3: "zum", Scope: 'I', LanguageType: 'L', Name: "Kumzari"},
"zun": {Part3: "zun", Part2B: "zun", Part2T: "zun", Scope: 'I', LanguageType: 'L', Name: "Zuni"},
"zuy": {Part3: "zuy", Scope: 'I', LanguageType: 'L', Name: "Zumaya"},
"zwa": {Part3: "zwa", Scope: 'I', LanguageType: 'L', Name: "Zay"},
"zxx": {Part3: "zxx", Part2B: "zxx", Part2T: "zxx", Scope: 'S', LanguageType: 'S', Name: "No linguistic content"},
"zyb": {Part3: "zyb", Scope: 'I', LanguageType: 'L', Name: "Yongbei Zhuang"},
"zyg": {Part3: "zyg", Scope: 'I', LanguageType: 'L', Name: "Yang Zhuang"},
"zyj": {Part3: "zyj", Scope: 'I', LanguageType: 'L', Name: "Youjiang Zhuang"},
"zyn": {Part3: "zyn", Scope: 'I', LanguageType: 'L', Name: "Yongnan Zhuang"},
"zyp": {Part3: "zyp", Scope: 'I', LanguageType: 'L', Name: "Zyphe Chin"},
"zza": {Part3: "zza", Part2B: "zza", Part2T: "zza", Scope: 'M', LanguageType: 'L', Name: "Zaza"},
"zzj": {Part3: "zzj", Scope: 'I', LanguageType: 'L', Name: "Zuojiang Zhuang"},
}
// LanguagesPart2 lookup table. Keys are ISO 639-2 codes
var LanguagesPart2 = map[string]Language{
"aar": {Part3: "aar", Part2B: "aar", Part2T: "aar", Part1: "aa", Scope: 'I', LanguageType: 'L', Name: "Afar"},
"abk": {Part3: "abk", Part2B: "abk", Part2T: "abk", Part1: "ab", Scope: 'I', LanguageType: 'L', Name: "Abkhazian"},
"ace": {Part3: "ace", Part2B: "ace", Part2T: "ace", Scope: 'I', LanguageType: 'L', Name: "Achinese"},
"ach": {Part3: "ach", Part2B: "ach", Part2T: "ach", Scope: 'I', LanguageType: 'L', Name: "Acoli"},
"ada": {Part3: "ada", Part2B: "ada", Part2T: "ada", Scope: 'I', LanguageType: 'L', Name: "Adangme"},
"ady": {Part3: "ady", Part2B: "ady", Part2T: "ady", Scope: 'I', LanguageType: 'L', Name: "Adyghe"},
"afh": {Part3: "afh", Part2B: "afh", Part2T: "afh", Scope: 'I', LanguageType: 'C', Name: "Afrihili"},
"afr": {Part3: "afr", Part2B: "afr", Part2T: "afr", Part1: "af", Scope: 'I', LanguageType: 'L', Name: "Afrikaans"},
"ain": {Part3: "ain", Part2B: "ain", Part2T: "ain", Scope: 'I', LanguageType: 'L', Name: "Ainu (Japan)"},
"aka": {Part3: "aka", Part2B: "aka", Part2T: "aka", Part1: "ak", Scope: 'M', LanguageType: 'L', Name: "Akan"},
"akk": {Part3: "akk", Part2B: "akk", Part2T: "akk", Scope: 'I', LanguageType: 'A', Name: "Akkadian"},
"ale": {Part3: "ale", Part2B: "ale", Part2T: "ale", Scope: 'I', LanguageType: 'L', Name: "Aleut"},
"alt": {Part3: "alt", Part2B: "alt", Part2T: "alt", Scope: 'I', LanguageType: 'L', Name: "Southern Altai"},
"amh": {Part3: "amh", Part2B: "amh", Part2T: "amh", Part1: "am", Scope: 'I', LanguageType: 'L', Name: "Amharic"},
"ang": {Part3: "ang", Part2B: "ang", Part2T: "ang", Scope: 'I', LanguageType: 'H', Name: "Old English (ca. 450-1100)"},
"anp": {Part3: "anp", Part2B: "anp", Part2T: "anp", Scope: 'I', LanguageType: 'L', Name: "Angika"},
"ara": {Part3: "ara", Part2B: "ara", Part2T: "ara", Part1: "ar", Scope: 'M', LanguageType: 'L', Name: "Arabic"},
"arc": {Part3: "arc", Part2B: "arc", Part2T: "arc", Scope: 'I', LanguageType: 'A', Name: "Official Aramaic (700-300 BCE)"},
"arg": {Part3: "arg", Part2B: "arg", Part2T: "arg", Part1: "an", Scope: 'I', LanguageType: 'L', Name: "Aragonese"},
"arn": {Part3: "arn", Part2B: "arn", Part2T: "arn", Scope: 'I', LanguageType: 'L', Name: "Mapudungun"},
"arp": {Part3: "arp", Part2B: "arp", Part2T: "arp", Scope: 'I', LanguageType: 'L', Name: "Arapaho"},
"arw": {Part3: "arw", Part2B: "arw", Part2T: "arw", Scope: 'I', LanguageType: 'L', Name: "Arawak"},
"asm": {Part3: "asm", Part2B: "asm", Part2T: "asm", Part1: "as", Scope: 'I', LanguageType: 'L', Name: "Assamese"},
"ast": {Part3: "ast", Part2B: "ast", Part2T: "ast", Scope: 'I', LanguageType: 'L', Name: "Asturian"},
"ava": {Part3: "ava", Part2B: "ava", Part2T: "ava", Part1: "av", Scope: 'I', LanguageType: 'L', Name: "Avaric"},
"ave": {Part3: "ave", Part2B: "ave", Part2T: "ave", Part1: "ae", Scope: 'I', LanguageType: 'A', Name: "Avestan"},
"awa": {Part3: "awa", Part2B: "awa", Part2T: "awa", Scope: 'I', LanguageType: 'L', Name: "Awadhi"},
"aym": {Part3: "aym", Part2B: "aym", Part2T: "aym", Part1: "ay", Scope: 'M', LanguageType: 'L', Name: "Aymara"},
"aze": {Part3: "aze", Part2B: "aze", Part2T: "aze", Part1: "az", Scope: 'M', LanguageType: 'L', Name: "Azerbaijani"},
"bak": {Part3: "bak", Part2B: "bak", Part2T: "bak", Part1: "ba", Scope: 'I', LanguageType: 'L', Name: "Bashkir"},
"bal": {Part3: "bal", Part2B: "bal", Part2T: "bal", Scope: 'M', LanguageType: 'L', Name: "Baluchi"},
"bam": {Part3: "bam", Part2B: "bam", Part2T: "bam", Part1: "bm", Scope: 'I', LanguageType: 'L', Name: "Bambara"},
"ban": {Part3: "ban", Part2B: "ban", Part2T: "ban", Scope: 'I', LanguageType: 'L', Name: "Balinese"},
"bas": {Part3: "bas", Part2B: "bas", Part2T: "bas", Scope: 'I', LanguageType: 'L', Name: "Basa (Cameroon)"},
"bej": {Part3: "bej", Part2B: "bej", Part2T: "bej", Scope: 'I', LanguageType: 'L', Name: "Beja"},
"bel": {Part3: "bel", Part2B: "bel", Part2T: "bel", Part1: "be", Scope: 'I', LanguageType: 'L', Name: "Belarusian"},
"bem": {Part3: "bem", Part2B: "bem", Part2T: "bem", Scope: 'I', LanguageType: 'L', Name: "Bemba (Zambia)"},
"ben": {Part3: "ben", Part2B: "ben", Part2T: "ben", Part1: "bn", Scope: 'I', LanguageType: 'L', Name: "Bengali"},
"bho": {Part3: "bho", Part2B: "bho", Part2T: "bho", Scope: 'I', LanguageType: 'L', Name: "Bhojpuri"},
"bik": {Part3: "bik", Part2B: "bik", Part2T: "bik", Scope: 'M', LanguageType: 'L', Name: "Bikol"},
"bin": {Part3: "bin", Part2B: "bin", Part2T: "bin", Scope: 'I', LanguageType: 'L', Name: "Bini"},
"bis": {Part3: "bis", Part2B: "bis", Part2T: "bis", Part1: "bi", Scope: 'I', LanguageType: 'L', Name: "Bislama"},
"bla": {Part3: "bla", Part2B: "bla", Part2T: "bla", Scope: 'I', LanguageType: 'L', Name: "Siksika"},
"tib": {Part3: "bod", Part2B: "tib", Part2T: "bod", Part1: "bo", Scope: 'I', LanguageType: 'L', Name: "Tibetan"},
"bod": {Part3: "bod", Part2B: "tib", Part2T: "bod", Part1: "bo", Scope: 'I', LanguageType: 'L', Name: "Tibetan"},
"bos": {Part3: "bos", Part2B: "bos", Part2T: "bos", Part1: "bs", Scope: 'I', LanguageType: 'L', Name: "Bosnian"},
"bra": {Part3: "bra", Part2B: "bra", Part2T: "bra", Scope: 'I', LanguageType: 'L', Name: "Braj"},
"bre": {Part3: "bre", Part2B: "bre", Part2T: "bre", Part1: "br", Scope: 'I', LanguageType: 'L', Name: "Breton"},
"bua": {Part3: "bua", Part2B: "bua", Part2T: "bua", Scope: 'M', LanguageType: 'L', Name: "Buriat"},
"bug": {Part3: "bug", Part2B: "bug", Part2T: "bug", Scope: 'I', LanguageType: 'L', Name: "Buginese"},
"bul": {Part3: "bul", Part2B: "bul", Part2T: "bul", Part1: "bg", Scope: 'I', LanguageType: 'L', Name: "Bulgarian"},
"byn": {Part3: "byn", Part2B: "byn", Part2T: "byn", Scope: 'I', LanguageType: 'L', Name: "Bilin"},
"cad": {Part3: "cad", Part2B: "cad", Part2T: "cad", Scope: 'I', LanguageType: 'L', Name: "Caddo"},
"car": {Part3: "car", Part2B: "car", Part2T: "car", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"cat": {Part3: "cat", Part2B: "cat", Part2T: "cat", Part1: "ca", Scope: 'I', LanguageType: 'L', Name: "Catalan"},
"ceb": {Part3: "ceb", Part2B: "ceb", Part2T: "ceb", Scope: 'I', LanguageType: 'L', Name: "Cebuano"},
"cze": {Part3: "ces", Part2B: "cze", Part2T: "ces", Part1: "cs", Scope: 'I', LanguageType: 'L', Name: "Czech"},
"ces": {Part3: "ces", Part2B: "cze", Part2T: "ces", Part1: "cs", Scope: 'I', LanguageType: 'L', Name: "Czech"},
"cha": {Part3: "cha", Part2B: "cha", Part2T: "cha", Part1: "ch", Scope: 'I', LanguageType: 'L', Name: "Chamorro"},
"chb": {Part3: "chb", Part2B: "chb", Part2T: "chb", Scope: 'I', LanguageType: 'E', Name: "Chibcha"},
"che": {Part3: "che", Part2B: "che", Part2T: "che", Part1: "ce", Scope: 'I', LanguageType: 'L', Name: "Chechen"},
"chg": {Part3: "chg", Part2B: "chg", Part2T: "chg", Scope: 'I', LanguageType: 'E', Name: "Chagatai"},
"chk": {Part3: "chk", Part2B: "chk", Part2T: "chk", Scope: 'I', LanguageType: 'L', Name: "Chuukese"},
"chm": {Part3: "chm", Part2B: "chm", Part2T: "chm", Scope: 'M', LanguageType: 'L', Name: "Mari (Russia)"},
"chn": {Part3: "chn", Part2B: "chn", Part2T: "chn", Scope: 'I', LanguageType: 'L', Name: "Chinook jargon"},
"cho": {Part3: "cho", Part2B: "cho", Part2T: "cho", Scope: 'I', LanguageType: 'L', Name: "Choctaw"},
"chp": {Part3: "chp", Part2B: "chp", Part2T: "chp", Scope: 'I', LanguageType: 'L', Name: "Chipewyan"},
"chr": {Part3: "chr", Part2B: "chr", Part2T: "chr", Scope: 'I', LanguageType: 'L', Name: "Cherokee"},
"chu": {Part3: "chu", Part2B: "chu", Part2T: "chu", Part1: "cu", Scope: 'I', LanguageType: 'A', Name: "Ch<NAME>"},
"chv": {Part3: "chv", Part2B: "chv", Part2T: "chv", Part1: "cv", Scope: 'I', LanguageType: 'L', Name: "Chuvash"},
"chy": {Part3: "chy", Part2B: "chy", Part2T: "chy", Scope: 'I', LanguageType: 'L', Name: "Cheyenne"},
"cnr": {Part3: "cnr", Part2B: "cnr", Part2T: "cnr", Scope: 'I', LanguageType: 'L', Name: "Montenegrin"},
"cop": {Part3: "cop", Part2B: "cop", Part2T: "cop", Scope: 'I', LanguageType: 'E', Name: "Coptic"},
"cor": {Part3: "cor", Part2B: "cor", Part2T: "cor", Part1: "kw", Scope: 'I', LanguageType: 'L', Name: "Cornish"},
"cos": {Part3: "cos", Part2B: "cos", Part2T: "cos", Part1: "co", Scope: 'I', LanguageType: 'L', Name: "Corsican"},
"cre": {Part3: "cre", Part2B: "cre", Part2T: "cre", Part1: "cr", Scope: 'M', LanguageType: 'L', Name: "Cree"},
"crh": {Part3: "crh", Part2B: "crh", Part2T: "crh", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"csb": {Part3: "csb", Part2B: "csb", Part2T: "csb", Scope: 'I', LanguageType: 'L', Name: "Kashubian"},
"wel": {Part3: "cym", Part2B: "wel", Part2T: "cym", Part1: "cy", Scope: 'I', LanguageType: 'L', Name: "Welsh"},
"cym": {Part3: "cym", Part2B: "wel", Part2T: "cym", Part1: "cy", Scope: 'I', LanguageType: 'L', Name: "Welsh"},
"dak": {Part3: "dak", Part2B: "dak", Part2T: "dak", Scope: 'I', LanguageType: 'L', Name: "Dakota"},
"dan": {Part3: "dan", Part2B: "dan", Part2T: "dan", Part1: "da", Scope: 'I', LanguageType: 'L', Name: "Danish"},
"dar": {Part3: "dar", Part2B: "dar", Part2T: "dar", Scope: 'I', LanguageType: 'L', Name: "Dargwa"},
"del": {Part3: "del", Part2B: "del", Part2T: "del", Scope: 'M', LanguageType: 'L', Name: "Delaware"},
"den": {Part3: "den", Part2B: "den", Part2T: "den", Scope: 'M', LanguageType: 'L', Name: "Slave (Athapascan)"},
"ger": {Part3: "deu", Part2B: "ger", Part2T: "deu", Part1: "de", Scope: 'I', LanguageType: 'L', Name: "German"},
"deu": {Part3: "deu", Part2B: "ger", Part2T: "deu", Part1: "de", Scope: 'I', LanguageType: 'L', Name: "German"},
"dgr": {Part3: "dgr", Part2B: "dgr", Part2T: "dgr", Scope: 'I', LanguageType: 'L', Name: "Dogrib"},
"din": {Part3: "din", Part2B: "din", Part2T: "din", Scope: 'M', LanguageType: 'L', Name: "Dinka"},
"div": {Part3: "div", Part2B: "div", Part2T: "div", Part1: "dv", Scope: 'I', LanguageType: 'L', Name: "Dhivehi"},
"doi": {Part3: "doi", Part2B: "doi", Part2T: "doi", Scope: 'M', LanguageType: 'L', Name: "Dogri (macrolanguage)"},
"dsb": {Part3: "dsb", Part2B: "dsb", Part2T: "dsb", Scope: 'I', LanguageType: 'L', Name: "Lower Sorbian"},
"dua": {Part3: "dua", Part2B: "dua", Part2T: "dua", Scope: 'I', LanguageType: 'L', Name: "Duala"},
"dum": {Part3: "dum", Part2B: "dum", Part2T: "dum", Scope: 'I', LanguageType: 'H', Name: "Middle Dutch (ca. 1050-1350)"},
"dyu": {Part3: "dyu", Part2B: "dyu", Part2T: "dyu", Scope: 'I', LanguageType: 'L', Name: "Dyula"},
"dzo": {Part3: "dzo", Part2B: "dzo", Part2T: "dzo", Part1: "dz", Scope: 'I', LanguageType: 'L', Name: "Dzongkha"},
"efi": {Part3: "efi", Part2B: "efi", Part2T: "efi", Scope: 'I', LanguageType: 'L', Name: "Efik"},
"egy": {Part3: "egy", Part2B: "egy", Part2T: "egy", Scope: 'I', LanguageType: 'A', Name: "Egyptian (Ancient)"},
"eka": {Part3: "eka", Part2B: "eka", Part2T: "eka", Scope: 'I', LanguageType: 'L', Name: "Ekajuk"},
"gre": {Part3: "ell", Part2B: "gre", Part2T: "ell", Part1: "el", Scope: 'I', LanguageType: 'L', Name: "Modern Greek (1453-)"},
"ell": {Part3: "ell", Part2B: "gre", Part2T: "ell", Part1: "el", Scope: 'I', LanguageType: 'L', Name: "Modern Greek (1453-)"},
"elx": {Part3: "elx", Part2B: "elx", Part2T: "elx", Scope: 'I', LanguageType: 'A', Name: "Elamite"},
"eng": {Part3: "eng", Part2B: "eng", Part2T: "eng", Part1: "en", Scope: 'I', LanguageType: 'L', Name: "English"},
"enm": {Part3: "enm", Part2B: "enm", Part2T: "enm", Scope: 'I', LanguageType: 'H', Name: "Middle English (1100-1500)"},
"epo": {Part3: "epo", Part2B: "epo", Part2T: "epo", Part1: "eo", Scope: 'I', LanguageType: 'C', Name: "Esperanto"},
"est": {Part3: "est", Part2B: "est", Part2T: "est", Part1: "et", Scope: 'M', LanguageType: 'L', Name: "Estonian"},
"baq": {Part3: "eus", Part2B: "baq", Part2T: "eus", Part1: "eu", Scope: 'I', LanguageType: 'L', Name: "Basque"},
"eus": {Part3: "eus", Part2B: "baq", Part2T: "eus", Part1: "eu", Scope: 'I', LanguageType: 'L', Name: "Basque"},
"ewe": {Part3: "ewe", Part2B: "ewe", Part2T: "ewe", Part1: "ee", Scope: 'I', LanguageType: 'L', Name: "Ewe"},
"ewo": {Part3: "ewo", Part2B: "ewo", Part2T: "ewo", Scope: 'I', LanguageType: 'L', Name: "Ewondo"},
"fan": {Part3: "fan", Part2B: "fan", Part2T: "fan", Scope: 'I', LanguageType: 'L', Name: "Fang (Equatorial Guinea)"},
"fao": {Part3: "fao", Part2B: "fao", Part2T: "fao", Part1: "fo", Scope: 'I', LanguageType: 'L', Name: "Faroese"},
"per": {Part3: "fas", Part2B: "per", Part2T: "fas", Part1: "fa", Scope: 'M', LanguageType: 'L', Name: "Persian"},
"fas": {Part3: "fas", Part2B: "per", Part2T: "fas", Part1: "fa", Scope: 'M', LanguageType: 'L', Name: "Persian"},
"fat": {Part3: "fat", Part2B: "fat", Part2T: "fat", Scope: 'I', LanguageType: 'L', Name: "Fanti"},
"fij": {Part3: "fij", Part2B: "fij", Part2T: "fij", Part1: "fj", Scope: 'I', LanguageType: 'L', Name: "Fijian"},
"fil": {Part3: "fil", Part2B: "fil", Part2T: "fil", Scope: 'I', LanguageType: 'L', Name: "Filipino"},
"fin": {Part3: "fin", Part2B: "fin", Part2T: "fin", Part1: "fi", Scope: 'I', LanguageType: 'L', Name: "Finnish"},
"fon": {Part3: "fon", Part2B: "fon", Part2T: "fon", Scope: 'I', LanguageType: 'L', Name: "Fon"},
"fre": {Part3: "fra", Part2B: "fre", Part2T: "fra", Part1: "fr", Scope: 'I', LanguageType: 'L', Name: "French"},
"fra": {Part3: "fra", Part2B: "fre", Part2T: "fra", Part1: "fr", Scope: 'I', LanguageType: 'L', Name: "French"},
"frm": {Part3: "frm", Part2B: "frm", Part2T: "frm", Scope: 'I', LanguageType: 'H', Name: "Middle French (ca. 1400-1600)"},
"fro": {Part3: "fro", Part2B: "fro", Part2T: "fro", Scope: 'I', LanguageType: 'H', Name: "Old French (842-ca. 1400)"},
"frr": {Part3: "frr", Part2B: "frr", Part2T: "frr", Scope: 'I', LanguageType: 'L', Name: "Northern Frisian"},
"frs": {Part3: "frs", Part2B: "frs", Part2T: "frs", Scope: 'I', LanguageType: 'L', Name: "Eastern Frisian"},
"fry": {Part3: "fry", Part2B: "fry", Part2T: "fry", Part1: "fy", Scope: 'I', LanguageType: 'L', Name: "Western Frisian"},
"ful": {Part3: "ful", Part2B: "ful", Part2T: "ful", Part1: "ff", Scope: 'M', LanguageType: 'L', Name: "Fulah"},
"fur": {Part3: "fur", Part2B: "fur", Part2T: "fur", Scope: 'I', LanguageType: 'L', Name: "Friulian"},
"gaa": {Part3: "gaa", Part2B: "gaa", Part2T: "gaa", Scope: 'I', LanguageType: 'L', Name: "Ga"},
"gay": {Part3: "gay", Part2B: "gay", Part2T: "gay", Scope: 'I', LanguageType: 'L', Name: "Gayo"},
"gba": {Part3: "gba", Part2B: "gba", Part2T: "gba", Scope: 'M', LanguageType: 'L', Name: "Gbaya (Central African Republic)"},
"gez": {Part3: "gez", Part2B: "gez", Part2T: "gez", Scope: 'I', LanguageType: 'A', Name: "Geez"},
"gil": {Part3: "gil", Part2B: "gil", Part2T: "gil", Scope: 'I', LanguageType: 'L', Name: "Gilbertese"},
"gla": {Part3: "gla", Part2B: "gla", Part2T: "gla", Part1: "gd", Scope: 'I', LanguageType: 'L', Name: "Scottish Gaelic"},
"gle": {Part3: "gle", Part2B: "gle", Part2T: "gle", Part1: "ga", Scope: 'I', LanguageType: 'L', Name: "Irish"},
"glg": {Part3: "glg", Part2B: "glg", Part2T: "glg", Part1: "gl", Scope: 'I', LanguageType: 'L', Name: "Galician"},
"glv": {Part3: "glv", Part2B: "glv", Part2T: "glv", Part1: "gv", Scope: 'I', LanguageType: 'L', Name: "Manx"},
"gmh": {Part3: "gmh", Part2B: "gmh", Part2T: "gmh", Scope: 'I', LanguageType: 'H', Name: "Middle High German (ca. 1050-1500)"},
"goh": {Part3: "goh", Part2B: "goh", Part2T: "goh", Scope: 'I', LanguageType: 'H', Name: "Old High German (ca. 750-1050)"},
"gon": {Part3: "gon", Part2B: "gon", Part2T: "gon", Scope: 'M', LanguageType: 'L', Name: "Gondi"},
"gor": {Part3: "gor", Part2B: "gor", Part2T: "gor", Scope: 'I', LanguageType: 'L', Name: "Gorontalo"},
"got": {Part3: "got", Part2B: "got", Part2T: "got", Scope: 'I', LanguageType: 'A', Name: "Gothic"},
"grb": {Part3: "grb", Part2B: "grb", Part2T: "grb", Scope: 'M', LanguageType: 'L', Name: "Grebo"},
"grc": {Part3: "grc", Part2B: "grc", Part2T: "grc", Scope: 'I', LanguageType: 'H', Name: "Ancient Greek (to 1453)"},
"grn": {Part3: "grn", Part2B: "grn", Part2T: "grn", Part1: "gn", Scope: 'M', LanguageType: 'L', Name: "Guarani"},
"gsw": {Part3: "gsw", Part2B: "gsw", Part2T: "gsw", Scope: 'I', LanguageType: 'L', Name: "Swiss German"},
"guj": {Part3: "guj", Part2B: "guj", Part2T: "guj", Part1: "gu", Scope: 'I', LanguageType: 'L', Name: "Gujarati"},
"gwi": {Part3: "gwi", Part2B: "gwi", Part2T: "gwi", Scope: 'I', LanguageType: 'L', Name: "Gwichʼin"},
"hai": {Part3: "hai", Part2B: "hai", Part2T: "hai", Scope: 'M', LanguageType: 'L', Name: "Haida"},
"hat": {Part3: "hat", Part2B: "hat", Part2T: "hat", Part1: "ht", Scope: 'I', LanguageType: 'L', Name: "Haitian"},
"hau": {Part3: "hau", Part2B: "hau", Part2T: "hau", Part1: "ha", Scope: 'I', LanguageType: 'L', Name: "Hausa"},
"haw": {Part3: "haw", Part2B: "haw", Part2T: "haw", Scope: 'I', LanguageType: 'L', Name: "Hawaiian"},
"heb": {Part3: "heb", Part2B: "heb", Part2T: "heb", Part1: "he", Scope: 'I', LanguageType: 'L', Name: "Hebrew"},
"her": {Part3: "her", Part2B: "her", Part2T: "her", Part1: "hz", Scope: 'I', LanguageType: 'L', Name: "Herero"},
"hil": {Part3: "hil", Part2B: "hil", Part2T: "hil", Scope: 'I', LanguageType: 'L', Name: "Hiligaynon"},
"hin": {Part3: "hin", Part2B: "hin", Part2T: "hin", Part1: "hi", Scope: 'I', LanguageType: 'L', Name: "Hindi"},
"hit": {Part3: "hit", Part2B: "hit", Part2T: "hit", Scope: 'I', LanguageType: 'A', Name: "Hittite"},
"hmn": {Part3: "hmn", Part2B: "hmn", Part2T: "hmn", Scope: 'M', LanguageType: 'L', Name: "Hmong"},
"hmo": {Part3: "hmo", Part2B: "hmo", Part2T: "hmo", Part1: "ho", Scope: 'I', LanguageType: 'L', Name: "Hiri Motu"},
"hrv": {Part3: "hrv", Part2B: "hrv", Part2T: "hrv", Part1: "hr", Scope: 'I', LanguageType: 'L', Name: "Croatian"},
"hsb": {Part3: "hsb", Part2B: "hsb", Part2T: "hsb", Scope: 'I', LanguageType: 'L', Name: "Upper Sorbian"},
"hun": {Part3: "hun", Part2B: "hun", Part2T: "hun", Part1: "hu", Scope: 'I', LanguageType: 'L', Name: "Hungarian"},
"hup": {Part3: "hup", Part2B: "hup", Part2T: "hup", Scope: 'I', LanguageType: 'L', Name: "Hupa"},
"arm": {Part3: "hye", Part2B: "arm", Part2T: "hye", Part1: "hy", Scope: 'I', LanguageType: 'L', Name: "Armenian"},
"hye": {Part3: "hye", Part2B: "arm", Part2T: "hye", Part1: "hy", Scope: 'I', LanguageType: 'L', Name: "Armenian"},
"iba": {Part3: "iba", Part2B: "iba", Part2T: "iba", Scope: 'I', LanguageType: 'L', Name: "Iban"},
"ibo": {Part3: "ibo", Part2B: "ibo", Part2T: "ibo", Part1: "ig", Scope: 'I', LanguageType: 'L', Name: "Igbo"},
"ido": {Part3: "ido", Part2B: "ido", Part2T: "ido", Part1: "io", Scope: 'I', LanguageType: 'C', Name: "Ido"},
"iii": {Part3: "iii", Part2B: "iii", Part2T: "iii", Part1: "ii", Scope: 'I', LanguageType: 'L', Name: "Sichuan Yi"},
"iku": {Part3: "iku", Part2B: "iku", Part2T: "iku", Part1: "iu", Scope: 'M', LanguageType: 'L', Name: "Inuktitut"},
"ile": {Part3: "ile", Part2B: "ile", Part2T: "ile", Part1: "ie", Scope: 'I', LanguageType: 'C', Name: "Interlingue"},
"ilo": {Part3: "ilo", Part2B: "ilo", Part2T: "ilo", Scope: 'I', LanguageType: 'L', Name: "Iloko"},
"ina": {Part3: "ina", Part2B: "ina", Part2T: "ina", Part1: "ia", Scope: 'I', LanguageType: 'C', Name: "Interlingua (International Auxiliary Language Association)"},
"ind": {Part3: "ind", Part2B: "ind", Part2T: "ind", Part1: "id", Scope: 'I', LanguageType: 'L', Name: "Indonesian"},
"inh": {Part3: "inh", Part2B: "inh", Part2T: "inh", Scope: 'I', LanguageType: 'L', Name: "Ingush"},
"ipk": {Part3: "ipk", Part2B: "ipk", Part2T: "ipk", Part1: "ik", Scope: 'M', LanguageType: 'L', Name: "Inupiaq"},
"ice": {Part3: "isl", Part2B: "ice", Part2T: "isl", Part1: "is", Scope: 'I', LanguageType: 'L', Name: "Icelandic"},
"isl": {Part3: "isl", Part2B: "ice", Part2T: "isl", Part1: "is", Scope: 'I', LanguageType: 'L', Name: "Icelandic"},
"ita": {Part3: "ita", Part2B: "ita", Part2T: "ita", Part1: "it", Scope: 'I', LanguageType: 'L', Name: "Italian"},
"jav": {Part3: "jav", Part2B: "jav", Part2T: "jav", Part1: "jv", Scope: 'I', LanguageType: 'L', Name: "Javanese"},
"jbo": {Part3: "jbo", Part2B: "jbo", Part2T: "jbo", Scope: 'I', LanguageType: 'C', Name: "Lojban"},
"jpn": {Part3: "jpn", Part2B: "jpn", Part2T: "jpn", Part1: "ja", Scope: 'I', LanguageType: 'L', Name: "Japanese"},
"jpr": {Part3: "jpr", Part2B: "jpr", Part2T: "jpr", Scope: 'I', LanguageType: 'L', Name: "Judeo-Persian"},
"jrb": {Part3: "jrb", Part2B: "jrb", Part2T: "jrb", Scope: 'M', LanguageType: 'L', Name: "Judeo-Arabic"},
"kaa": {Part3: "kaa", Part2B: "kaa", Part2T: "kaa", Scope: 'I', LanguageType: 'L', Name: "Kara-Kalpak"},
"kab": {Part3: "kab", Part2B: "kab", Part2T: "kab", Scope: 'I', LanguageType: 'L', Name: "Kabyle"},
"kac": {Part3: "kac", Part2B: "kac", Part2T: "kac", Scope: 'I', LanguageType: 'L', Name: "Kachin"},
"kal": {Part3: "kal", Part2B: "kal", Part2T: "kal", Part1: "kl", Scope: 'I', LanguageType: 'L', Name: "Kalaallisut"},
"kam": {Part3: "kam", Part2B: "kam", Part2T: "kam", Scope: 'I', LanguageType: 'L', Name: "Kamba (Kenya)"},
"kan": {Part3: "kan", Part2B: "kan", Part2T: "kan", Part1: "kn", Scope: 'I', LanguageType: 'L', Name: "Kannada"},
"kas": {Part3: "kas", Part2B: "kas", Part2T: "kas", Part1: "ks", Scope: 'I', LanguageType: 'L', Name: "Kashmiri"},
"geo": {Part3: "kat", Part2B: "geo", Part2T: "kat", Part1: "ka", Scope: 'I', LanguageType: 'L', Name: "Georgian"},
"kat": {Part3: "kat", Part2B: "geo", Part2T: "kat", Part1: "ka", Scope: 'I', LanguageType: 'L', Name: "Georgian"},
"kau": {Part3: "kau", Part2B: "kau", Part2T: "kau", Part1: "kr", Scope: 'M', LanguageType: 'L', Name: "Kanuri"},
"kaw": {Part3: "kaw", Part2B: "kaw", Part2T: "kaw", Scope: 'I', LanguageType: 'A', Name: "Kawi"},
"kaz": {Part3: "kaz", Part2B: "kaz", Part2T: "kaz", Part1: "kk", Scope: 'I', LanguageType: 'L', Name: "Kazakh"},
"kbd": {Part3: "kbd", Part2B: "kbd", Part2T: "kbd", Scope: 'I', LanguageType: 'L', Name: "Kabardian"},
"kha": {Part3: "kha", Part2B: "kha", Part2T: "kha", Scope: 'I', LanguageType: 'L', Name: "Khasi"},
"khm": {Part3: "khm", Part2B: "khm", Part2T: "khm", Part1: "km", Scope: 'I', LanguageType: 'L', Name: "Khmer"},
"kho": {Part3: "kho", Part2B: "kho", Part2T: "kho", Scope: 'I', LanguageType: 'A', Name: "Khotanese"},
"kik": {Part3: "kik", Part2B: "kik", Part2T: "kik", Part1: "ki", Scope: 'I', LanguageType: 'L', Name: "Kikuyu"},
"kin": {Part3: "kin", Part2B: "kin", Part2T: "kin", Part1: "rw", Scope: 'I', LanguageType: 'L', Name: "Kinyarwanda"},
"kir": {Part3: "kir", Part2B: "kir", Part2T: "kir", Part1: "ky", Scope: 'I', LanguageType: 'L', Name: "Kirghiz"},
"kmb": {Part3: "kmb", Part2B: "kmb", Part2T: "kmb", Scope: 'I', LanguageType: 'L', Name: "Kimbundu"},
"kok": {Part3: "kok", Part2B: "kok", Part2T: "kok", Scope: 'M', LanguageType: 'L', Name: "Konkani (macrolanguage)"},
"kom": {Part3: "kom", Part2B: "kom", Part2T: "kom", Part1: "kv", Scope: 'M', LanguageType: 'L', Name: "Komi"},
"kon": {Part3: "kon", Part2B: "kon", Part2T: "kon", Part1: "kg", Scope: 'M', LanguageType: 'L', Name: "Kongo"},
"kor": {Part3: "kor", Part2B: "kor", Part2T: "kor", Part1: "ko", Scope: 'I', LanguageType: 'L', Name: "Korean"},
"kos": {Part3: "kos", Part2B: "kos", Part2T: "kos", Scope: 'I', LanguageType: 'L', Name: "Kosraean"},
"kpe": {Part3: "kpe", Part2B: "kpe", Part2T: "kpe", Scope: 'M', LanguageType: 'L', Name: "Kpelle"},
"krc": {Part3: "krc", Part2B: "krc", Part2T: "krc", Scope: 'I', LanguageType: 'L', Name: "Karachay-Balkar"},
"krl": {Part3: "krl", Part2B: "krl", Part2T: "krl", Scope: 'I', LanguageType: 'L', Name: "Karelian"},
"kru": {Part3: "kru", Part2B: "kru", Part2T: "kru", Scope: 'I', LanguageType: 'L', Name: "Kurukh"},
"kua": {Part3: "kua", Part2B: "kua", Part2T: "kua", Part1: "kj", Scope: 'I', LanguageType: 'L', Name: "Kuanyama"},
"kum": {Part3: "kum", Part2B: "kum", Part2T: "kum", Scope: 'I', LanguageType: 'L', Name: "Kumyk"},
"kur": {Part3: "kur", Part2B: "kur", Part2T: "kur", Part1: "ku", Scope: 'M', LanguageType: 'L', Name: "Kurdish"},
"kut": {Part3: "kut", Part2B: "kut", Part2T: "kut", Scope: 'I', LanguageType: 'L', Name: "Kutenai"},
"lad": {Part3: "lad", Part2B: "lad", Part2T: "lad", Scope: 'I', LanguageType: 'L', Name: "Ladino"},
"lah": {Part3: "lah", Part2B: "lah", Part2T: "lah", Scope: 'M', LanguageType: 'L', Name: "Lahnda"},
"lam": {Part3: "lam", Part2B: "lam", Part2T: "lam", Scope: 'I', LanguageType: 'L', Name: "Lamba"},
"lao": {Part3: "lao", Part2B: "lao", Part2T: "lao", Part1: "lo", Scope: 'I', LanguageType: 'L', Name: "Lao"},
"lat": {Part3: "lat", Part2B: "lat", Part2T: "lat", Part1: "la", Scope: 'I', LanguageType: 'A', Name: "Latin"},
"lav": {Part3: "lav", Part2B: "lav", Part2T: "lav", Part1: "lv", Scope: 'M', LanguageType: 'L', Name: "Latvian"},
"lez": {Part3: "lez", Part2B: "lez", Part2T: "lez", Scope: 'I', LanguageType: 'L', Name: "Lezghian"},
"lim": {Part3: "lim", Part2B: "lim", Part2T: "lim", Part1: "li", Scope: 'I', LanguageType: 'L', Name: "Limburgan"},
"lin": {Part3: "lin", Part2B: "lin", Part2T: "lin", Part1: "ln", Scope: 'I', LanguageType: 'L', Name: "Lingala"},
"lit": {Part3: "lit", Part2B: "lit", Part2T: "lit", Part1: "lt", Scope: 'I', LanguageType: 'L', Name: "Lithuanian"},
"lol": {Part3: "lol", Part2B: "lol", Part2T: "lol", Scope: 'I', LanguageType: 'L', Name: "Mongo"},
"loz": {Part3: "loz", Part2B: "loz", Part2T: "loz", Scope: 'I', LanguageType: 'L', Name: "Lozi"},
"ltz": {Part3: "ltz", Part2B: "ltz", Part2T: "ltz", Part1: "lb", Scope: 'I', LanguageType: 'L', Name: "Luxembourgish"},
"lua": {Part3: "lua", Part2B: "lua", Part2T: "lua", Scope: 'I', LanguageType: 'L', Name: "Luba-Lulua"},
"lub": {Part3: "lub", Part2B: "lub", Part2T: "lub", Part1: "lu", Scope: 'I', LanguageType: 'L', Name: "Luba-Katanga"},
"lug": {Part3: "lug", Part2B: "lug", Part2T: "lug", Part1: "lg", Scope: 'I', LanguageType: 'L', Name: "Ganda"},
"lui": {Part3: "lui", Part2B: "lui", Part2T: "lui", Scope: 'I', LanguageType: 'E', Name: "Luiseno"},
"lun": {Part3: "lun", Part2B: "lun", Part2T: "lun", Scope: 'I', LanguageType: 'L', Name: "Lunda"},
"luo": {Part3: "luo", Part2B: "luo", Part2T: "luo", Scope: 'I', LanguageType: 'L', Name: "Luo (Kenya and Tanzania)"},
"lus": {Part3: "lus", Part2B: "lus", Part2T: "lus", Scope: 'I', LanguageType: 'L', Name: "Lushai"},
"mad": {Part3: "mad", Part2B: "mad", Part2T: "mad", Scope: 'I', LanguageType: 'L', Name: "Madurese"},
"mag": {Part3: "mag", Part2B: "mag", Part2T: "mag", Scope: 'I', LanguageType: 'L', Name: "Magahi"},
"mah": {Part3: "mah", Part2B: "mah", Part2T: "mah", Part1: "mh", Scope: 'I', LanguageType: 'L', Name: "Marshallese"},
"mai": {Part3: "mai", Part2B: "mai", Part2T: "mai", Scope: 'I', LanguageType: 'L', Name: "Maithili"},
"mak": {Part3: "mak", Part2B: "mak", Part2T: "mak", Scope: 'I', LanguageType: 'L', Name: "Makasar"},
"mal": {Part3: "mal", Part2B: "mal", Part2T: "mal", Part1: "ml", Scope: 'I', LanguageType: 'L', Name: "Malayalam"},
"man": {Part3: "man", Part2B: "man", Part2T: "man", Scope: 'M', LanguageType: 'L', Name: "Mandingo"},
"mar": {Part3: "mar", Part2B: "mar", Part2T: "mar", Part1: "mr", Scope: 'I', LanguageType: 'L', Name: "Marathi"},
"mas": {Part3: "mas", Part2B: "mas", Part2T: "mas", Scope: 'I', LanguageType: 'L', Name: "Masai"},
"mdf": {Part3: "mdf", Part2B: "mdf", Part2T: "mdf", Scope: 'I', LanguageType: 'L', Name: "Moksha"},
"mdr": {Part3: "mdr", Part2B: "mdr", Part2T: "mdr", Scope: 'I', LanguageType: 'L', Name: "Mandar"},
"men": {Part3: "men", Part2B: "men", Part2T: "men", Scope: 'I', LanguageType: 'L', Name: "Mende (Sierra Leone)"},
"mga": {Part3: "mga", Part2B: "mga", Part2T: "mga", Scope: 'I', LanguageType: 'H', Name: "Middle Irish (900-1200)"},
"mic": {Part3: "mic", Part2B: "mic", Part2T: "mic", Scope: 'I', LanguageType: 'L', Name: "Mi'kmaq"},
"min": {Part3: "min", Part2B: "min", Part2T: "min", Scope: 'I', LanguageType: 'L', Name: "Minangkabau"},
"mis": {Part3: "mis", Part2B: "mis", Part2T: "mis", Scope: 'S', LanguageType: 'S', Name: "Uncoded languages"},
"mac": {Part3: "mkd", Part2B: "mac", Part2T: "mkd", Part1: "mk", Scope: 'I', LanguageType: 'L', Name: "Macedonian"},
"mkd": {Part3: "mkd", Part2B: "mac", Part2T: "mkd", Part1: "mk", Scope: 'I', LanguageType: 'L', Name: "Macedonian"},
"mlg": {Part3: "mlg", Part2B: "mlg", Part2T: "mlg", Part1: "mg", Scope: 'M', LanguageType: 'L', Name: "Malagasy"},
"mlt": {Part3: "mlt", Part2B: "mlt", Part2T: "mlt", Part1: "mt", Scope: 'I', LanguageType: 'L', Name: "Maltese"},
"mnc": {Part3: "mnc", Part2B: "mnc", Part2T: "mnc", Scope: 'I', LanguageType: 'L', Name: "Manchu"},
"mni": {Part3: "mni", Part2B: "mni", Part2T: "mni", Scope: 'I', LanguageType: 'L', Name: "Manipuri"},
"moh": {Part3: "moh", Part2B: "moh", Part2T: "moh", Scope: 'I', LanguageType: 'L', Name: "Mohawk"},
"mon": {Part3: "mon", Part2B: "mon", Part2T: "mon", Part1: "mn", Scope: 'M', LanguageType: 'L', Name: "Mongolian"},
"mos": {Part3: "mos", Part2B: "mos", Part2T: "mos", Scope: 'I', LanguageType: 'L', Name: "Mossi"},
"mao": {Part3: "mri", Part2B: "mao", Part2T: "mri", Part1: "mi", Scope: 'I', LanguageType: 'L', Name: "Maori"},
"mri": {Part3: "mri", Part2B: "mao", Part2T: "mri", Part1: "mi", Scope: 'I', LanguageType: 'L', Name: "Maori"},
"may": {Part3: "msa", Part2B: "may", Part2T: "msa", Part1: "ms", Scope: 'M', LanguageType: 'L', Name: "Malay (macrolanguage)"},
"msa": {Part3: "msa", Part2B: "may", Part2T: "msa", Part1: "ms", Scope: 'M', LanguageType: 'L', Name: "Malay (macrolanguage)"},
"mul": {Part3: "mul", Part2B: "mul", Part2T: "mul", Scope: 'S', LanguageType: 'S', Name: "Multiple languages"},
"mus": {Part3: "mus", Part2B: "mus", Part2T: "mus", Scope: 'I', LanguageType: 'L', Name: "Creek"},
"mwl": {Part3: "mwl", Part2B: "mwl", Part2T: "mwl", Scope: 'I', LanguageType: 'L', Name: "Mirandese"},
"mwr": {Part3: "mwr", Part2B: "mwr", Part2T: "mwr", Scope: 'M', LanguageType: 'L', Name: "Marwari"},
"bur": {Part3: "mya", Part2B: "bur", Part2T: "mya", Part1: "my", Scope: 'I', LanguageType: 'L', Name: "Burmese"},
"mya": {Part3: "mya", Part2B: "bur", Part2T: "mya", Part1: "my", Scope: 'I', LanguageType: 'L', Name: "Burmese"},
"myv": {Part3: "myv", Part2B: "myv", Part2T: "myv", Scope: 'I', LanguageType: 'L', Name: "Erzya"},
"nap": {Part3: "nap", Part2B: "nap", Part2T: "nap", Scope: 'I', LanguageType: 'L', Name: "Neapolitan"},
"nau": {Part3: "nau", Part2B: "nau", Part2T: "nau", Part1: "na", Scope: 'I', LanguageType: 'L', Name: "Nauru"},
"nav": {Part3: "nav", Part2B: "nav", Part2T: "nav", Part1: "nv", Scope: 'I', LanguageType: 'L', Name: "Navajo"},
"nbl": {Part3: "nbl", Part2B: "nbl", Part2T: "nbl", Part1: "nr", Scope: 'I', LanguageType: 'L', Name: "South Ndebele"},
"nde": {Part3: "nde", Part2B: "nde", Part2T: "nde", Part1: "nd", Scope: 'I', LanguageType: 'L', Name: "North Ndebele"},
"ndo": {Part3: "ndo", Part2B: "ndo", Part2T: "ndo", Part1: "ng", Scope: 'I', LanguageType: 'L', Name: "Ndonga"},
"nds": {Part3: "nds", Part2B: "nds", Part2T: "nds", Scope: 'I', LanguageType: 'L', Name: "Low German"},
"nep": {Part3: "nep", Part2B: "nep", Part2T: "nep", Part1: "ne", Scope: 'M', LanguageType: 'L', Name: "Nepali (macrolanguage)"},
"new": {Part3: "new", Part2B: "new", Part2T: "new", Scope: 'I', LanguageType: 'L', Name: "Newari"},
"nia": {Part3: "nia", Part2B: "nia", Part2T: "nia", Scope: 'I', LanguageType: 'L', Name: "Nias"},
"niu": {Part3: "niu", Part2B: "niu", Part2T: "niu", Scope: 'I', LanguageType: 'L', Name: "Niuean"},
"dut": {Part3: "nld", Part2B: "dut", Part2T: "nld", Part1: "nl", Scope: 'I', LanguageType: 'L', Name: "Dutch"},
"nld": {Part3: "nld", Part2B: "dut", Part2T: "nld", Part1: "nl", Scope: 'I', LanguageType: 'L', Name: "Dutch"},
"nno": {Part3: "nno", Part2B: "nno", Part2T: "nno", Part1: "nn", Scope: 'I', LanguageType: 'L', Name: "Norwegian Nynorsk"},
"nob": {Part3: "nob", Part2B: "nob", Part2T: "nob", Part1: "nb", Scope: 'I', LanguageType: 'L', Name: "Norwegian Bokmål"},
"nog": {Part3: "nog", Part2B: "nog", Part2T: "nog", Scope: 'I', LanguageType: 'L', Name: "Nogai"},
"non": {Part3: "non", Part2B: "non", Part2T: "non", Scope: 'I', LanguageType: 'H', Name: "Old Norse"},
"nor": {Part3: "nor", Part2B: "nor", Part2T: "nor", Part1: "no", Scope: 'M', LanguageType: 'L', Name: "Norwegian"},
"nqo": {Part3: "nqo", Part2B: "nqo", Part2T: "nqo", Scope: 'I', LanguageType: 'L', Name: "N'Ko"},
"nso": {Part3: "nso", Part2B: "nso", Part2T: "nso", Scope: 'I', LanguageType: 'L', Name: "Pedi"},
"nwc": {Part3: "nwc", Part2B: "nwc", Part2T: "nwc", Scope: 'I', LanguageType: 'H', Name: "Class<NAME>"},
"nya": {Part3: "nya", Part2B: "nya", Part2T: "nya", Part1: "ny", Scope: 'I', LanguageType: 'L', Name: "Nyanja"},
"nym": {Part3: "nym", Part2B: "nym", Part2T: "nym", Scope: 'I', LanguageType: 'L', Name: "Nyamwezi"},
"nyn": {Part3: "nyn", Part2B: "nyn", Part2T: "nyn", Scope: 'I', LanguageType: 'L', Name: "Nyankole"},
"nyo": {Part3: "nyo", Part2B: "nyo", Part2T: "nyo", Scope: 'I', LanguageType: 'L', Name: "Nyoro"},
"nzi": {Part3: "nzi", Part2B: "nzi", Part2T: "nzi", Scope: 'I', LanguageType: 'L', Name: "Nzima"},
"oci": {Part3: "oci", Part2B: "oci", Part2T: "oci", Part1: "oc", Scope: 'I', LanguageType: 'L', Name: "Occitan (post 1500)"},
"oji": {Part3: "oji", Part2B: "oji", Part2T: "oji", Part1: "oj", Scope: 'M', LanguageType: 'L', Name: "Ojibwa"},
"ori": {Part3: "ori", Part2B: "ori", Part2T: "ori", Part1: "or", Scope: 'M', LanguageType: 'L', Name: "Oriya (macrolanguage)"},
"orm": {Part3: "orm", Part2B: "orm", Part2T: "orm", Part1: "om", Scope: 'M', LanguageType: 'L', Name: "Oromo"},
"osa": {Part3: "osa", Part2B: "osa", Part2T: "osa", Scope: 'I', LanguageType: 'L', Name: "Osage"},
"oss": {Part3: "oss", Part2B: "oss", Part2T: "oss", Part1: "os", Scope: 'I', LanguageType: 'L', Name: "Ossetian"},
"ota": {Part3: "ota", Part2B: "ota", Part2T: "ota", Scope: 'I', LanguageType: 'H', Name: "Ottoman Turkish (1500-1928)"},
"pag": {Part3: "pag", Part2B: "pag", Part2T: "pag", Scope: 'I', LanguageType: 'L', Name: "Pangasinan"},
"pal": {Part3: "pal", Part2B: "pal", Part2T: "pal", Scope: 'I', LanguageType: 'A', Name: "Pahlavi"},
"pam": {Part3: "pam", Part2B: "pam", Part2T: "pam", Scope: 'I', LanguageType: 'L', Name: "Pampanga"},
"pan": {Part3: "pan", Part2B: "pan", Part2T: "pan", Part1: "pa", Scope: 'I', LanguageType: 'L', Name: "Panjabi"},
"pap": {Part3: "pap", Part2B: "pap", Part2T: "pap", Scope: 'I', LanguageType: 'L', Name: "Papiamento"},
"pau": {Part3: "pau", Part2B: "pau", Part2T: "pau", Scope: 'I', LanguageType: 'L', Name: "Palauan"},
"peo": {Part3: "peo", Part2B: "peo", Part2T: "peo", Scope: 'I', LanguageType: 'H', Name: "Old Persian (ca. 600-400 B.C.)"},
"phn": {Part3: "phn", Part2B: "phn", Part2T: "phn", Scope: 'I', LanguageType: 'A', Name: "Phoenician"},
"pli": {Part3: "pli", Part2B: "pli", Part2T: "pli", Part1: "pi", Scope: 'I', LanguageType: 'A', Name: "Pali"},
"pol": {Part3: "pol", Part2B: "pol", Part2T: "pol", Part1: "pl", Scope: 'I', LanguageType: 'L', Name: "Polish"},
"pon": {Part3: "pon", Part2B: "pon", Part2T: "pon", Scope: 'I', LanguageType: 'L', Name: "Pohnpeian"},
"por": {Part3: "por", Part2B: "por", Part2T: "por", Part1: "pt", Scope: 'I', LanguageType: 'L', Name: "Portuguese"},
"pro": {Part3: "pro", Part2B: "pro", Part2T: "pro", Scope: 'I', LanguageType: 'H', Name: "Old Provençal (to 1500)"},
"pus": {Part3: "pus", Part2B: "pus", Part2T: "pus", Part1: "ps", Scope: 'M', LanguageType: 'L', Name: "Pushto"},
"que": {Part3: "que", Part2B: "que", Part2T: "que", Part1: "qu", Scope: 'M', LanguageType: 'L', Name: "Quechua"},
"raj": {Part3: "raj", Part2B: "raj", Part2T: "raj", Scope: 'M', LanguageType: 'L', Name: "Rajasthani"},
"rap": {Part3: "rap", Part2B: "rap", Part2T: "rap", Scope: 'I', LanguageType: 'L', Name: "Rapanui"},
"rar": {Part3: "rar", Part2B: "rar", Part2T: "rar", Scope: 'I', LanguageType: 'L', Name: "Rarotongan"},
"roh": {Part3: "roh", Part2B: "roh", Part2T: "roh", Part1: "rm", Scope: 'I', LanguageType: 'L', Name: "Romansh"},
"rom": {Part3: "rom", Part2B: "rom", Part2T: "rom", Scope: 'M', LanguageType: 'L', Name: "Romany"},
"rum": {Part3: "ron", Part2B: "rum", Part2T: "ron", Part1: "ro", Scope: 'I', LanguageType: 'L', Name: "Romanian"},
"ron": {Part3: "ron", Part2B: "rum", Part2T: "ron", Part1: "ro", Scope: 'I', LanguageType: 'L', Name: "Romanian"},
"run": {Part3: "run", Part2B: "run", Part2T: "run", Part1: "rn", Scope: 'I', LanguageType: 'L', Name: "Rundi"},
"rup": {Part3: "rup", Part2B: "rup", Part2T: "rup", Scope: 'I', LanguageType: 'L', Name: "Macedo-Romanian"},
"rus": {Part3: "rus", Part2B: "rus", Part2T: "rus", Part1: "ru", Scope: 'I', LanguageType: 'L', Name: "Russian"},
"sad": {Part3: "sad", Part2B: "sad", Part2T: "sad", Scope: 'I', LanguageType: 'L', Name: "Sandawe"},
"sag": {Part3: "sag", Part2B: "sag", Part2T: "sag", Part1: "sg", Scope: 'I', LanguageType: 'L', Name: "Sango"},
"sah": {Part3: "sah", Part2B: "sah", Part2T: "sah", Scope: 'I', LanguageType: 'L', Name: "Yakut"},
"sam": {Part3: "sam", Part2B: "sam", Part2T: "sam", Scope: 'I', LanguageType: 'E', Name: "Samaritan Aramaic"},
"san": {Part3: "san", Part2B: "san", Part2T: "san", Part1: "sa", Scope: 'I', LanguageType: 'A', Name: "Sanskrit"},
"sas": {Part3: "sas", Part2B: "sas", Part2T: "sas", Scope: 'I', LanguageType: 'L', Name: "Sasak"},
"sat": {Part3: "sat", Part2B: "sat", Part2T: "sat", Scope: 'I', LanguageType: 'L', Name: "Santali"},
"scn": {Part3: "scn", Part2B: "scn", Part2T: "scn", Scope: 'I', LanguageType: 'L', Name: "Sicilian"},
"sco": {Part3: "sco", Part2B: "sco", Part2T: "sco", Scope: 'I', LanguageType: 'L', Name: "Scots"},
"sel": {Part3: "sel", Part2B: "sel", Part2T: "sel", Scope: 'I', LanguageType: 'L', Name: "Selkup"},
"sga": {Part3: "sga", Part2B: "sga", Part2T: "sga", Scope: 'I', LanguageType: 'H', Name: "Old Irish (to 900)"},
"shn": {Part3: "shn", Part2B: "shn", Part2T: "shn", Scope: 'I', LanguageType: 'L', Name: "Shan"},
"sid": {Part3: "sid", Part2B: "sid", Part2T: "sid", Scope: 'I', LanguageType: 'L', Name: "Sidamo"},
"sin": {Part3: "sin", Part2B: "sin", Part2T: "sin", Part1: "si", Scope: 'I', LanguageType: 'L', Name: "Sinhala"},
"slo": {Part3: "slk", Part2B: "slo", Part2T: "slk", Part1: "sk", Scope: 'I', LanguageType: 'L', Name: "Slovak"},
"slk": {Part3: "slk", Part2B: "slo", Part2T: "slk", Part1: "sk", Scope: 'I', LanguageType: 'L', Name: "Slovak"},
"slv": {Part3: "slv", Part2B: "slv", Part2T: "slv", Part1: "sl", Scope: 'I', LanguageType: 'L', Name: "Slovenian"},
"sma": {Part3: "sma", Part2B: "sma", Part2T: "sma", Scope: 'I', LanguageType: 'L', Name: "Southern Sami"},
"sme": {Part3: "sme", Part2B: "sme", Part2T: "sme", Part1: "se", Scope: 'I', LanguageType: 'L', Name: "Northern Sami"},
"smj": {Part3: "smj", Part2B: "smj", Part2T: "smj", Scope: 'I', LanguageType: 'L', Name: "Lule Sami"},
"smn": {Part3: "smn", Part2B: "smn", Part2T: "smn", Scope: 'I', LanguageType: 'L', Name: "Inari Sami"},
"smo": {Part3: "smo", Part2B: "smo", Part2T: "smo", Part1: "sm", Scope: 'I', LanguageType: 'L', Name: "Samoan"},
"sms": {Part3: "sms", Part2B: "sms", Part2T: "sms", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"sna": {Part3: "sna", Part2B: "sna", Part2T: "sna", Part1: "sn", Scope: 'I', LanguageType: 'L', Name: "Shona"},
"snd": {Part3: "snd", Part2B: "snd", Part2T: "snd", Part1: "sd", Scope: 'I', LanguageType: 'L', Name: "Sindhi"},
"snk": {Part3: "snk", Part2B: "snk", Part2T: "snk", Scope: 'I', LanguageType: 'L', Name: "Soninke"},
"sog": {Part3: "sog", Part2B: "sog", Part2T: "sog", Scope: 'I', LanguageType: 'A', Name: "Sogdian"},
"som": {Part3: "som", Part2B: "som", Part2T: "som", Part1: "so", Scope: 'I', LanguageType: 'L', Name: "Somali"},
"sot": {Part3: "sot", Part2B: "sot", Part2T: "sot", Part1: "st", Scope: 'I', LanguageType: 'L', Name: "Southern Sotho"},
"spa": {Part3: "spa", Part2B: "spa", Part2T: "spa", Part1: "es", Scope: 'I', LanguageType: 'L', Name: "Spanish"},
"alb": {Part3: "sqi", Part2B: "alb", Part2T: "sqi", Part1: "sq", Scope: 'M', LanguageType: 'L', Name: "Albanian"},
"sqi": {Part3: "sqi", Part2B: "alb", Part2T: "sqi", Part1: "sq", Scope: 'M', LanguageType: 'L', Name: "Albanian"},
"srd": {Part3: "srd", Part2B: "srd", Part2T: "srd", Part1: "sc", Scope: 'M', LanguageType: 'L', Name: "Sardinian"},
"srn": {Part3: "srn", Part2B: "srn", Part2T: "srn", Scope: 'I', LanguageType: 'L', Name: "Sranan Tongo"},
"srp": {Part3: "srp", Part2B: "srp", Part2T: "srp", Part1: "sr", Scope: 'I', LanguageType: 'L', Name: "Serbian"},
"srr": {Part3: "srr", Part2B: "srr", Part2T: "srr", Scope: 'I', LanguageType: 'L', Name: "Serer"},
"ssw": {Part3: "ssw", Part2B: "ssw", Part2T: "ssw", Part1: "ss", Scope: 'I', LanguageType: 'L', Name: "Swati"},
"suk": {Part3: "suk", Part2B: "suk", Part2T: "suk", Scope: 'I', LanguageType: 'L', Name: "Sukuma"},
"sun": {Part3: "sun", Part2B: "sun", Part2T: "sun", Part1: "su", Scope: 'I', LanguageType: 'L', Name: "Sundanese"},
"sus": {Part3: "sus", Part2B: "sus", Part2T: "sus", Scope: 'I', LanguageType: 'L', Name: "Susu"},
"sux": {Part3: "sux", Part2B: "sux", Part2T: "sux", Scope: 'I', LanguageType: 'A', Name: "Sumerian"},
"swa": {Part3: "swa", Part2B: "swa", Part2T: "swa", Part1: "sw", Scope: 'M', LanguageType: 'L', Name: "Swahili (macrolanguage)"},
"swe": {Part3: "swe", Part2B: "swe", Part2T: "swe", Part1: "sv", Scope: 'I', LanguageType: 'L', Name: "Swedish"},
"syc": {Part3: "syc", Part2B: "syc", Part2T: "syc", Scope: 'I', LanguageType: 'H', Name: "Classical Syriac"},
"syr": {Part3: "syr", Part2B: "syr", Part2T: "syr", Scope: 'M', LanguageType: 'L', Name: "Syriac"},
"tah": {Part3: "tah", Part2B: "tah", Part2T: "tah", Part1: "ty", Scope: 'I', LanguageType: 'L', Name: "Tahitian"},
"tam": {Part3: "tam", Part2B: "tam", Part2T: "tam", Part1: "ta", Scope: 'I', LanguageType: 'L', Name: "Tamil"},
"tat": {Part3: "tat", Part2B: "tat", Part2T: "tat", Part1: "tt", Scope: 'I', LanguageType: 'L', Name: "Tatar"},
"tel": {Part3: "tel", Part2B: "tel", Part2T: "tel", Part1: "te", Scope: 'I', LanguageType: 'L', Name: "Telugu"},
"tem": {Part3: "tem", Part2B: "tem", Part2T: "tem", Scope: 'I', LanguageType: 'L', Name: "Timne"},
"ter": {Part3: "ter", Part2B: "ter", Part2T: "ter", Scope: 'I', LanguageType: 'L', Name: "Tereno"},
"tet": {Part3: "tet", Part2B: "tet", Part2T: "tet", Scope: 'I', LanguageType: 'L', Name: "Tetum"},
"tgk": {Part3: "tgk", Part2B: "tgk", Part2T: "tgk", Part1: "tg", Scope: 'I', LanguageType: 'L', Name: "Tajik"},
"tgl": {Part3: "tgl", Part2B: "tgl", Part2T: "tgl", Part1: "tl", Scope: 'I', LanguageType: 'L', Name: "Tagalog"},
"tha": {Part3: "tha", Part2B: "tha", Part2T: "tha", Part1: "th", Scope: 'I', LanguageType: 'L', Name: "Thai"},
"tig": {Part3: "tig", Part2B: "tig", Part2T: "tig", Scope: 'I', LanguageType: 'L', Name: "Tigre"},
"tir": {Part3: "tir", Part2B: "tir", Part2T: "tir", Part1: "ti", Scope: 'I', LanguageType: 'L', Name: "Tigrinya"},
"tiv": {Part3: "tiv", Part2B: "tiv", Part2T: "tiv", Scope: 'I', LanguageType: 'L', Name: "Tiv"},
"tkl": {Part3: "tkl", Part2B: "tkl", Part2T: "tkl", Scope: 'I', LanguageType: 'L', Name: "Tokelau"},
"tlh": {Part3: "tlh", Part2B: "tlh", Part2T: "tlh", Scope: 'I', LanguageType: 'C', Name: "Klingon"},
"tli": {Part3: "tli", Part2B: "tli", Part2T: "tli", Scope: 'I', LanguageType: 'L', Name: "Tlingit"},
"tmh": {Part3: "tmh", Part2B: "tmh", Part2T: "tmh", Scope: 'M', LanguageType: 'L', Name: "Tamashek"},
"tog": {Part3: "tog", Part2B: "tog", Part2T: "tog", Scope: 'I', LanguageType: 'L', Name: "Tonga (Nyasa)"},
"ton": {Part3: "ton", Part2B: "ton", Part2T: "ton", Part1: "to", Scope: 'I', LanguageType: 'L', Name: "Tonga (Tonga Islands)"},
"tpi": {Part3: "tpi", Part2B: "tpi", Part2T: "tpi", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"tsi": {Part3: "tsi", Part2B: "tsi", Part2T: "tsi", Scope: 'I', LanguageType: 'L', Name: "Tsimshian"},
"tsn": {Part3: "tsn", Part2B: "tsn", Part2T: "tsn", Part1: "tn", Scope: 'I', LanguageType: 'L', Name: "Tswana"},
"tso": {Part3: "tso", Part2B: "tso", Part2T: "tso", Part1: "ts", Scope: 'I', LanguageType: 'L', Name: "Tsonga"},
"tuk": {Part3: "tuk", Part2B: "tuk", Part2T: "tuk", Part1: "tk", Scope: 'I', LanguageType: 'L', Name: "Turkmen"},
"tum": {Part3: "tum", Part2B: "tum", Part2T: "tum", Scope: 'I', LanguageType: 'L', Name: "Tumbuka"},
"tur": {Part3: "tur", Part2B: "tur", Part2T: "tur", Part1: "tr", Scope: 'I', LanguageType: 'L', Name: "Turkish"},
"tvl": {Part3: "tvl", Part2B: "tvl", Part2T: "tvl", Scope: 'I', LanguageType: 'L', Name: "Tuvalu"},
"twi": {Part3: "twi", Part2B: "twi", Part2T: "twi", Part1: "tw", Scope: 'I', LanguageType: 'L', Name: "Twi"},
"tyv": {Part3: "tyv", Part2B: "tyv", Part2T: "tyv", Scope: 'I', LanguageType: 'L', Name: "Tuvinian"},
"udm": {Part3: "udm", Part2B: "udm", Part2T: "udm", Scope: 'I', LanguageType: 'L', Name: "Udmurt"},
"uga": {Part3: "uga", Part2B: "uga", Part2T: "uga", Scope: 'I', LanguageType: 'A', Name: "Ugaritic"},
"uig": {Part3: "uig", Part2B: "uig", Part2T: "uig", Part1: "ug", Scope: 'I', LanguageType: 'L', Name: "Uighur"},
"ukr": {Part3: "ukr", Part2B: "ukr", Part2T: "ukr", Part1: "uk", Scope: 'I', LanguageType: 'L', Name: "Ukrainian"},
"umb": {Part3: "umb", Part2B: "umb", Part2T: "umb", Scope: 'I', LanguageType: 'L', Name: "Umbundu"},
"und": {Part3: "und", Part2B: "und", Part2T: "und", Scope: 'S', LanguageType: 'S', Name: "Undetermined"},
"urd": {Part3: "urd", Part2B: "urd", Part2T: "urd", Part1: "ur", Scope: 'I', LanguageType: 'L', Name: "Urdu"},
"uzb": {Part3: "uzb", Part2B: "uzb", Part2T: "uzb", Part1: "uz", Scope: 'M', LanguageType: 'L', Name: "Uzbek"},
"vai": {Part3: "vai", Part2B: "vai", Part2T: "vai", Scope: 'I', LanguageType: 'L', Name: "Vai"},
"ven": {Part3: "ven", Part2B: "ven", Part2T: "ven", Part1: "ve", Scope: 'I', LanguageType: 'L', Name: "Venda"},
"vie": {Part3: "vie", Part2B: "vie", Part2T: "vie", Part1: "vi", Scope: 'I', LanguageType: 'L', Name: "Vietnamese"},
"vol": {Part3: "vol", Part2B: "vol", Part2T: "vol", Part1: "vo", Scope: 'I', LanguageType: 'C', Name: "Volapük"},
"vot": {Part3: "vot", Part2B: "vot", Part2T: "vot", Scope: 'I', LanguageType: 'L', Name: "Votic"},
"wal": {Part3: "wal", Part2B: "wal", Part2T: "wal", Scope: 'I', LanguageType: 'L', Name: "Wolaytta"},
"war": {Part3: "war", Part2B: "war", Part2T: "war", Scope: 'I', LanguageType: 'L', Name: "<NAME>)"},
"was": {Part3: "was", Part2B: "was", Part2T: "was", Scope: 'I', LanguageType: 'L', Name: "Washo"},
"wln": {Part3: "wln", Part2B: "wln", Part2T: "wln", Part1: "wa", Scope: 'I', LanguageType: 'L', Name: "Walloon"},
"wol": {Part3: "wol", Part2B: "wol", Part2T: "wol", Part1: "wo", Scope: 'I', LanguageType: 'L', Name: "Wolof"},
"xal": {Part3: "xal", Part2B: "xal", Part2T: "xal", Scope: 'I', LanguageType: 'L', Name: "Kalmyk"},
"xho": {Part3: "xho", Part2B: "xho", Part2T: "xho", Part1: "xh", Scope: 'I', LanguageType: 'L', Name: "Xhosa"},
"yao": {Part3: "yao", Part2B: "yao", Part2T: "yao", Scope: 'I', LanguageType: 'L', Name: "Yao"},
"yap": {Part3: "yap", Part2B: "yap", Part2T: "yap", Scope: 'I', LanguageType: 'L', Name: "Yapese"},
"yid": {Part3: "yid", Part2B: "yid", Part2T: "yid", Part1: "yi", Scope: 'M', LanguageType: 'L', Name: "Yiddish"},
"yor": {Part3: "yor", Part2B: "yor", Part2T: "yor", Part1: "yo", Scope: 'I', LanguageType: 'L', Name: "Yoruba"},
"zap": {Part3: "zap", Part2B: "zap", Part2T: "zap", Scope: 'M', LanguageType: 'L', Name: "Zapotec"},
"zbl": {Part3: "zbl", Part2B: "zbl", Part2T: "zbl", Scope: 'I', LanguageType: 'C', Name: "Blissymbols"},
"zen": {Part3: "zen", Part2B: "zen", Part2T: "zen", Scope: 'I', LanguageType: 'L', Name: "Zenaga"},
"zgh": {Part3: "zgh", Part2B: "zgh", Part2T: "zgh", Scope: 'I', LanguageType: 'L', Name: "Standard Moroccan Tamazight"},
"zha": {Part3: "zha", Part2B: "zha", Part2T: "zha", Part1: "za", Scope: 'M', LanguageType: 'L', Name: "Zhuang"},
"chi": {Part3: "zho", Part2B: "chi", Part2T: "zho", Part1: "zh", Scope: 'M', LanguageType: 'L', Name: "Chinese"},
"zho": {Part3: "zho", Part2B: "chi", Part2T: "zho", Part1: "zh", Scope: 'M', LanguageType: 'L', Name: "Chinese"},
"zul": {Part3: "zul", Part2B: "zul", Part2T: "zul", Part1: "zu", Scope: 'I', LanguageType: 'L', Name: "Zulu"},
"zun": {Part3: "zun", Part2B: "zun", Part2T: "zun", Scope: 'I', LanguageType: 'L', Name: "Zuni"},
"zxx": {Part3: "zxx", Part2B: "zxx", Part2T: "zxx", Scope: 'S', LanguageType: 'S', Name: "No linguistic content"},
"zza": {Part3: "zza", Part2B: "zza", Part2T: "zza", Scope: 'M', LanguageType: 'L', Name: "Zaza"},
}
// LanguagesPart1 lookup table. Keys are ISO 639-1 codes
var LanguagesPart1 = map[string]Language{
"aa": {Part3: "aar", Part2B: "aar", Part2T: "aar", Part1: "aa", Scope: 'I', LanguageType: 'L', Name: "Afar"},
"ab": {Part3: "abk", Part2B: "abk", Part2T: "abk", Part1: "ab", Scope: 'I', LanguageType: 'L', Name: "Abkhazian"},
"af": {Part3: "afr", Part2B: "afr", Part2T: "afr", Part1: "af", Scope: 'I', LanguageType: 'L', Name: "Afrikaans"},
"ak": {Part3: "aka", Part2B: "aka", Part2T: "aka", Part1: "ak", Scope: 'M', LanguageType: 'L', Name: "Akan"},
"am": {Part3: "amh", Part2B: "amh", Part2T: "amh", Part1: "am", Scope: 'I', LanguageType: 'L', Name: "Amharic"},
"ar": {Part3: "ara", Part2B: "ara", Part2T: "ara", Part1: "ar", Scope: 'M', LanguageType: 'L', Name: "Arabic"},
"an": {Part3: "arg", Part2B: "arg", Part2T: "arg", Part1: "an", Scope: 'I', LanguageType: 'L', Name: "Aragonese"},
"as": {Part3: "asm", Part2B: "asm", Part2T: "asm", Part1: "as", Scope: 'I', LanguageType: 'L', Name: "Assamese"},
"av": {Part3: "ava", Part2B: "ava", Part2T: "ava", Part1: "av", Scope: 'I', LanguageType: 'L', Name: "Avaric"},
"ae": {Part3: "ave", Part2B: "ave", Part2T: "ave", Part1: "ae", Scope: 'I', LanguageType: 'A', Name: "Avestan"},
"ay": {Part3: "aym", Part2B: "aym", Part2T: "aym", Part1: "ay", Scope: 'M', LanguageType: 'L', Name: "Aymara"},
"az": {Part3: "aze", Part2B: "aze", Part2T: "aze", Part1: "az", Scope: 'M', LanguageType: 'L', Name: "Azerbaijani"},
"ba": {Part3: "bak", Part2B: "bak", Part2T: "bak", Part1: "ba", Scope: 'I', LanguageType: 'L', Name: "Bashkir"},
"bm": {Part3: "bam", Part2B: "bam", Part2T: "bam", Part1: "bm", Scope: 'I', LanguageType: 'L', Name: "Bambara"},
"be": {Part3: "bel", Part2B: "bel", Part2T: "bel", Part1: "be", Scope: 'I', LanguageType: 'L', Name: "Belarusian"},
"bn": {Part3: "ben", Part2B: "ben", Part2T: "ben", Part1: "bn", Scope: 'I', LanguageType: 'L', Name: "Bengali"},
"bi": {Part3: "bis", Part2B: "bis", Part2T: "bis", Part1: "bi", Scope: 'I', LanguageType: 'L', Name: "Bislama"},
"bo": {Part3: "bod", Part2B: "tib", Part2T: "bod", Part1: "bo", Scope: 'I', LanguageType: 'L', Name: "Tibetan"},
"bs": {Part3: "bos", Part2B: "bos", Part2T: "bos", Part1: "bs", Scope: 'I', LanguageType: 'L', Name: "Bosnian"},
"br": {Part3: "bre", Part2B: "bre", Part2T: "bre", Part1: "br", Scope: 'I', LanguageType: 'L', Name: "Breton"},
"bg": {Part3: "bul", Part2B: "bul", Part2T: "bul", Part1: "bg", Scope: 'I', LanguageType: 'L', Name: "Bulgarian"},
"ca": {Part3: "cat", Part2B: "cat", Part2T: "cat", Part1: "ca", Scope: 'I', LanguageType: 'L', Name: "Catalan"},
"cs": {Part3: "ces", Part2B: "cze", Part2T: "ces", Part1: "cs", Scope: 'I', LanguageType: 'L', Name: "Czech"},
"ch": {Part3: "cha", Part2B: "cha", Part2T: "cha", Part1: "ch", Scope: 'I', LanguageType: 'L', Name: "Chamorro"},
"ce": {Part3: "che", Part2B: "che", Part2T: "che", Part1: "ce", Scope: 'I', LanguageType: 'L', Name: "Chechen"},
"cu": {Part3: "chu", Part2B: "chu", Part2T: "chu", Part1: "cu", Scope: 'I', LanguageType: 'A', Name: "Church Slavic"},
"cv": {Part3: "chv", Part2B: "chv", Part2T: "chv", Part1: "cv", Scope: 'I', LanguageType: 'L', Name: "Chuvash"},
"kw": {Part3: "cor", Part2B: "cor", Part2T: "cor", Part1: "kw", Scope: 'I', LanguageType: 'L', Name: "Cornish"},
"co": {Part3: "cos", Part2B: "cos", Part2T: "cos", Part1: "co", Scope: 'I', LanguageType: 'L', Name: "Corsican"},
"cr": {Part3: "cre", Part2B: "cre", Part2T: "cre", Part1: "cr", Scope: 'M', LanguageType: 'L', Name: "Cree"},
"cy": {Part3: "cym", Part2B: "wel", Part2T: "cym", Part1: "cy", Scope: 'I', LanguageType: 'L', Name: "Welsh"},
"da": {Part3: "dan", Part2B: "dan", Part2T: "dan", Part1: "da", Scope: 'I', LanguageType: 'L', Name: "Danish"},
"de": {Part3: "deu", Part2B: "ger", Part2T: "deu", Part1: "de", Scope: 'I', LanguageType: 'L', Name: "German"},
"dv": {Part3: "div", Part2B: "div", Part2T: "div", Part1: "dv", Scope: 'I', LanguageType: 'L', Name: "Dhivehi"},
"dz": {Part3: "dzo", Part2B: "dzo", Part2T: "dzo", Part1: "dz", Scope: 'I', LanguageType: 'L', Name: "Dzongkha"},
"el": {Part3: "ell", Part2B: "gre", Part2T: "ell", Part1: "el", Scope: 'I', LanguageType: 'L', Name: "Modern Greek (1453-)"},
"en": {Part3: "eng", Part2B: "eng", Part2T: "eng", Part1: "en", Scope: 'I', LanguageType: 'L', Name: "English"},
"eo": {Part3: "epo", Part2B: "epo", Part2T: "epo", Part1: "eo", Scope: 'I', LanguageType: 'C', Name: "Esperanto"},
"et": {Part3: "est", Part2B: "est", Part2T: "est", Part1: "et", Scope: 'M', LanguageType: 'L', Name: "Estonian"},
"eu": {Part3: "eus", Part2B: "baq", Part2T: "eus", Part1: "eu", Scope: 'I', LanguageType: 'L', Name: "Basque"},
"ee": {Part3: "ewe", Part2B: "ewe", Part2T: "ewe", Part1: "ee", Scope: 'I', LanguageType: 'L', Name: "Ewe"},
"fo": {Part3: "fao", Part2B: "fao", Part2T: "fao", Part1: "fo", Scope: 'I', LanguageType: 'L', Name: "Faroese"},
"fa": {Part3: "fas", Part2B: "per", Part2T: "fas", Part1: "fa", Scope: 'M', LanguageType: 'L', Name: "Persian"},
"fj": {Part3: "fij", Part2B: "fij", Part2T: "fij", Part1: "fj", Scope: 'I', LanguageType: 'L', Name: "Fijian"},
"fi": {Part3: "fin", Part2B: "fin", Part2T: "fin", Part1: "fi", Scope: 'I', LanguageType: 'L', Name: "Finnish"},
"fr": {Part3: "fra", Part2B: "fre", Part2T: "fra", Part1: "fr", Scope: 'I', LanguageType: 'L', Name: "French"},
"fy": {Part3: "fry", Part2B: "fry", Part2T: "fry", Part1: "fy", Scope: 'I', LanguageType: 'L', Name: "Western Frisian"},
"ff": {Part3: "ful", Part2B: "ful", Part2T: "ful", Part1: "ff", Scope: 'M', LanguageType: 'L', Name: "Fulah"},
"gd": {Part3: "gla", Part2B: "gla", Part2T: "gla", Part1: "gd", Scope: 'I', LanguageType: 'L', Name: "S<NAME>"},
"ga": {Part3: "gle", Part2B: "gle", Part2T: "gle", Part1: "ga", Scope: 'I', LanguageType: 'L', Name: "Irish"},
"gl": {Part3: "glg", Part2B: "glg", Part2T: "glg", Part1: "gl", Scope: 'I', LanguageType: 'L', Name: "Galician"},
"gv": {Part3: "glv", Part2B: "glv", Part2T: "glv", Part1: "gv", Scope: 'I', LanguageType: 'L', Name: "Manx"},
"gn": {Part3: "grn", Part2B: "grn", Part2T: "grn", Part1: "gn", Scope: 'M', LanguageType: 'L', Name: "Guarani"},
"gu": {Part3: "guj", Part2B: "guj", Part2T: "guj", Part1: "gu", Scope: 'I', LanguageType: 'L', Name: "Gujarati"},
"ht": {Part3: "hat", Part2B: "hat", Part2T: "hat", Part1: "ht", Scope: 'I', LanguageType: 'L', Name: "Haitian"},
"ha": {Part3: "hau", Part2B: "hau", Part2T: "hau", Part1: "ha", Scope: 'I', LanguageType: 'L', Name: "Hausa"},
"sh": {Part3: "hbs", Part1: "sh", Scope: 'M', LanguageType: 'L', Name: "Serbo-Croatian", Comment: "Code element for 639-1 has been deprecated"},
"he": {Part3: "heb", Part2B: "heb", Part2T: "heb", Part1: "he", Scope: 'I', LanguageType: 'L', Name: "Hebrew"},
"hz": {Part3: "her", Part2B: "her", Part2T: "her", Part1: "hz", Scope: 'I', LanguageType: 'L', Name: "Herero"},
"hi": {Part3: "hin", Part2B: "hin", Part2T: "hin", Part1: "hi", Scope: 'I', LanguageType: 'L', Name: "Hindi"},
"ho": {Part3: "hmo", Part2B: "hmo", Part2T: "hmo", Part1: "ho", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"hr": {Part3: "hrv", Part2B: "hrv", Part2T: "hrv", Part1: "hr", Scope: 'I', LanguageType: 'L', Name: "Croatian"},
"hu": {Part3: "hun", Part2B: "hun", Part2T: "hun", Part1: "hu", Scope: 'I', LanguageType: 'L', Name: "Hungarian"},
"hy": {Part3: "hye", Part2B: "arm", Part2T: "hye", Part1: "hy", Scope: 'I', LanguageType: 'L', Name: "Armenian"},
"ig": {Part3: "ibo", Part2B: "ibo", Part2T: "ibo", Part1: "ig", Scope: 'I', LanguageType: 'L', Name: "Igbo"},
"io": {Part3: "ido", Part2B: "ido", Part2T: "ido", Part1: "io", Scope: 'I', LanguageType: 'C', Name: "Ido"},
"ii": {Part3: "iii", Part2B: "iii", Part2T: "iii", Part1: "ii", Scope: 'I', LanguageType: 'L', Name: "<NAME>"},
"iu": {Part3: "iku", Part2B: "iku", Part2T: "iku", Part1: "iu", Scope: 'M', LanguageType: 'L', Name: "Inuktitut"},
"ie": {Part3: "ile", Part2B: "ile", Part2T: "ile", Part1: "ie", Scope: 'I', LanguageType: 'C', Name: "Interlingue"},
"ia": {Part3: "ina", Part2B: "ina", Part2T: "ina", Part1: "ia", Scope: 'I', LanguageType: 'C', Name: "Interlingua (International Auxiliary Language Association)"},
"id": {Part3: "ind", Part2B: "ind", Part2T: "ind", Part1: "id", Scope: 'I', LanguageType: 'L', Name: "Indonesian"},
"ik": {Part3: "ipk", Part2B: "ipk", Part2T: "ipk", Part1: "ik", Scope: 'M', LanguageType: 'L', Name: "Inupiaq"},
"is": {Part3: "isl", Part2B: "ice", Part2T: "isl", Part1: "is", Scope: 'I', LanguageType: 'L', Name: "Icelandic"},
"it": {Part3: "ita", Part2B: "ita", Part2T: "ita", Part1: "it", Scope: 'I', LanguageType: 'L', Name: "Italian"},
"jv": {Part3: "jav", Part2B: "jav", Part2T: "jav", Part1: "jv", Scope: 'I', LanguageType: 'L', Name: "Javanese"},
"ja": {Part3: "jpn", Part2B: "jpn", Part2T: "jpn", Part1: "ja", Scope: 'I', LanguageType: 'L', Name: "Japanese"},
"kl": {Part3: "kal", Part2B: "kal", Part2T: "kal", Part1: "kl", Scope: 'I', LanguageType: 'L', Name: "Kalaallisut"},
"kn": {Part3: "kan", Part2B: "kan", Part2T: "kan", Part1: "kn", Scope: 'I', LanguageType: 'L', Name: "Kannada"},
"ks": {Part3: "kas", Part2B: "kas", Part2T: "kas", Part1: "ks", Scope: 'I', LanguageType: 'L', Name: "Kashmiri"},
"ka": {Part3: "kat", Part2B: "geo", Part2T: "kat", Part1: "ka", Scope: 'I', LanguageType: 'L', Name: "Georgian"},
"kr": {Part3: "kau", Part2B: "kau", Part2T: "kau", Part1: "kr", Scope: 'M', LanguageType: 'L', Name: "Kanuri"},
"kk": {Part3: "kaz", Part2B: "kaz", Part2T: "kaz", Part1: "kk", Scope: 'I', LanguageType: 'L', Name: "Kazakh"},
"km": {Part3: "khm", Part2B: "khm", Part2T: "khm", Part1: "km", Scope: 'I', LanguageType: 'L', Name: "Khmer"},
"ki": {Part3: "kik", Part2B: "kik", Part2T: "kik", Part1: "ki", Scope: 'I', LanguageType: 'L', Name: "Kikuyu"},
"rw": {Part3: "kin", Part2B: "kin", Part2T: "kin", Part1: "rw", Scope: 'I', LanguageType: 'L', Name: "Kinyarwanda"},
"ky": {Part3: "kir", Part2B: "kir", Part2T: "kir", Part1: "ky", Scope: 'I', LanguageType: 'L', Name: "Kirghiz"},
"kv": {Part3: "kom", Part2B: "kom", Part2T: "kom", Part1: "kv", Scope: 'M', LanguageType: 'L', Name: "Komi"},
"kg": {Part3: "kon", Part2B: "kon", Part2T: "kon", Part1: "kg", Scope: 'M', LanguageType: 'L', Name: "Kongo"},
"ko": {Part3: "kor", Part2B: "kor", Part2T: "kor", Part1: "ko", Scope: 'I', LanguageType: 'L', Name: "Korean"},
"kj": {Part3: "kua", Part2B: "kua", Part2T: "kua", Part1: "kj", Scope: 'I', LanguageType: 'L', Name: "Kuanyama"},
"ku": {Part3: "kur", Part2B: "kur", Part2T: "kur", Part1: "ku", Scope: 'M', LanguageType: 'L', Name: "Kurdish"},
"lo": {Part3: "lao", Part2B: "lao", Part2T: "lao", Part1: "lo", Scope: 'I', LanguageType: 'L', Name: "Lao"},
"la": {Part3: "lat", Part2B: "lat", Part2T: "lat", Part1: "la", Scope: 'I', LanguageType: 'A', Name: "Latin"},
"lv": {Part3: "lav", Part2B: "lav", Part2T: "lav", Part1: "lv", Scope: 'M', LanguageType: 'L', Name: "Latvian"},
"li": {Part3: "lim", Part2B: "lim", Part2T: "lim", Part1: "li", Scope: 'I', LanguageType: 'L', Name: "Limburgan"},
"ln": {Part3: "lin", Part2B: "lin", Part2T: "lin", Part1: "ln", Scope: 'I', LanguageType: 'L', Name: "Lingala"},
"lt": {Part3: "lit", Part2B: "lit", Part2T: "lit", Part1: "lt", Scope: 'I', LanguageType: 'L', Name: "Lithuanian"},
"lb": {Part3: "ltz", Part2B: "ltz", Part2T: "ltz", Part1: "lb", Scope: 'I', LanguageType: 'L', Name: "Luxembourgish"},
"lu": {Part3: "lub", Part2B: "lub", Part2T: "lub", Part1: "lu", Scope: 'I', LanguageType: 'L', Name: "Luba-Katanga"},
"lg": {Part3: "lug", Part2B: "lug", Part2T: "lug", Part1: "lg", Scope: 'I', LanguageType: 'L', Name: "Ganda"},
"mh": {Part3: "mah", Part2B: "mah", Part2T: "mah", Part1: "mh", Scope: 'I', LanguageType: 'L', Name: "Marshallese"},
"ml": {Part3: "mal", Part2B: "mal", Part2T: "mal", Part1: "ml", Scope: 'I', LanguageType: 'L', Name: "Malayalam"},
"mr": {Part3: "mar", Part2B: "mar", Part2T: "mar", Part1: "mr", Scope: 'I', LanguageType: 'L', Name: "Marathi"},
"mk": {Part3: "mkd", Part2B: "mac", Part2T: "mkd", Part1: "mk", Scope: 'I', LanguageType: 'L', Name: "Macedonian"},
"mg": {Part3: "mlg", Part2B: "mlg", Part2T: "mlg", Part1: "mg", Scope: 'M', LanguageType: 'L', Name: "Malagasy"},
"mt": {Part3: "mlt", Part2B: "mlt", Part2T: "mlt", Part1: "mt", Scope: 'I', LanguageType: 'L', Name: "Maltese"},
"mn": {Part3: "mon", Part2B: "mon", Part2T: "mon", Part1: "mn", Scope: 'M', LanguageType: 'L', Name: "Mongolian"},
"mi": {Part3: "mri", Part2B: "mao", Part2T: "mri", Part1: "mi", Scope: 'I', LanguageType: 'L', Name: "Maori"},
"ms": {Part3: "msa", Part2B: "may", Part2T: "msa", Part1: "ms", Scope: 'M', LanguageType: 'L', Name: "Malay (macrolanguage)"},
"my": {Part3: "mya", Part2B: "bur", Part2T: "mya", Part1: "my", Scope: 'I', LanguageType: 'L', Name: "Burmese"},
"na": {Part3: "nau", Part2B: "nau", Part2T: "nau", Part1: "na", Scope: 'I', LanguageType: 'L', Name: "Nauru"},
"nv": {Part3: "nav", Part2B: "nav", Part2T: "nav", Part1: "nv", Scope: 'I', LanguageType: 'L', Name: "Navajo"},
"nr": {Part3: "nbl", Part2B: "nbl", Part2T: "nbl", Part1: "nr", Scope: 'I', LanguageType: 'L', Name: "South Ndebele"},
"nd": {Part3: "nde", Part2B: "nde", Part2T: "nde", Part1: "nd", Scope: 'I', LanguageType: 'L', Name: "North Ndebele"},
"ng": {Part3: "ndo", Part2B: "ndo", Part2T: "ndo", Part1: "ng", Scope: 'I', LanguageType: 'L', Name: "Ndonga"},
"ne": {Part3: "nep", Part2B: "nep", Part2T: "nep", Part1: "ne", Scope: 'M', LanguageType: 'L', Name: "Nepali (macrolanguage)"},
"nl": {Part3: "nld", Part2B: "dut", Part2T: "nld", Part1: "nl", Scope: 'I', LanguageType: 'L', Name: "Dutch"},
"nn": {Part3: "nno", Part2B: "nno", Part2T: "nno", Part1: "nn", Scope: 'I', LanguageType: 'L', Name: "Norwegian Nynorsk"},
"nb": {Part3: "nob", Part2B: "nob", Part2T: "nob", Part1: "nb", Scope: 'I', LanguageType: 'L', Name: "Norwegian Bokmål"},
"no": {Part3: "nor", Part2B: "nor", Part2T: "nor", Part1: "no", Scope: 'M', LanguageType: 'L', Name: "Norwegian"},
"ny": {Part3: "nya", Part2B: "nya", Part2T: "nya", Part1: "ny", Scope: 'I', LanguageType: 'L', Name: "Nyanja"},
"oc": {Part3: "oci", Part2B: "oci", Part2T: "oci", Part1: "oc", Scope: 'I', LanguageType: 'L', Name: "Occitan (post 1500)"},
"oj": {Part3: "oji", Part2B: "oji", Part2T: "oji", Part1: "oj", Scope: 'M', LanguageType: 'L', Name: "Ojibwa"},
"or": {Part3: "ori", Part2B: "ori", Part2T: "ori", Part1: "or", Scope: 'M', LanguageType: 'L', Name: "Oriya (macrolanguage)"},
"om": {Part3: "orm", Part2B: "orm", Part2T: "orm", Part1: "om", Scope: 'M', LanguageType: 'L', Name: "Oromo"},
"os": {Part3: "oss", Part2B: "oss", Part2T: "oss", Part1: "os", Scope: 'I', LanguageType: 'L', Name: "Ossetian"},
"pa": {Part3: "pan", Part2B: "pan", Part2T: "pan", Part1: "pa", Scope: 'I', LanguageType: 'L', Name: "Panjabi"},
"pi": {Part3: "pli", Part2B: "pli", Part2T: "pli", Part1: "pi", Scope: 'I', LanguageType: 'A', Name: "Pali"},
"pl": {Part3: "pol", Part2B: "pol", Part2T: "pol", Part1: "pl", Scope: 'I', LanguageType: 'L', Name: "Polish"},
"pt": {Part3: "por", Part2B: "por", Part2T: "por", Part1: "pt", Scope: 'I', LanguageType: 'L', Name: "Portuguese"},
"ps": {Part3: "pus", Part2B: "pus", Part2T: "pus", Part1: "ps", Scope: 'M', LanguageType: 'L', Name: "Pushto"},
"qu": {Part3: "que", Part2B: "que", Part2T: "que", Part1: "qu", Scope: 'M', LanguageType: 'L', Name: "Quechua"},
"rm": {Part3: "roh", Part2B: "roh", Part2T: "roh", Part1: "rm", Scope: 'I', LanguageType: 'L', Name: "Romansh"},
"ro": {Part3: "ron", Part2B: "rum", Part2T: "ron", Part1: "ro", Scope: 'I', LanguageType: 'L', Name: "Romanian"},
"rn": {Part3: "run", Part2B: "run", Part2T: "run", Part1: "rn", Scope: 'I', LanguageType: 'L', Name: "Rundi"},
"ru": {Part3: "rus", Part2B: "rus", Part2T: "rus", Part1: "ru", Scope: 'I', LanguageType: 'L', Name: "Russian"},
"sg": {Part3: "sag", Part2B: "sag", Part2T: "sag", Part1: "sg", Scope: 'I', LanguageType: 'L', Name: "Sango"},
"sa": {Part3: "san", Part2B: "san", Part2T: "san", Part1: "sa", Scope: 'I', LanguageType: 'A', Name: "Sanskrit"},
"si": {Part3: "sin", Part2B: "sin", Part2T: "sin", Part1: "si", Scope: 'I', LanguageType: 'L', Name: "Sinhala"},
"sk": {Part3: "slk", Part2B: "slo", Part2T: "slk", Part1: "sk", Scope: 'I', LanguageType: 'L', Name: "Slovak"},
"sl": {Part3: "slv", Part2B: "slv", Part2T: "slv", Part1: "sl", Scope: 'I', LanguageType: 'L', Name: "Slovenian"},
"se": {Part3: "sme", Part2B: "sme", Part2T: "sme", Part1: "se", Scope: 'I', LanguageType: 'L', Name: "Northern Sami"},
"sm": {Part3: "smo", Part2B: "smo", Part2T: "smo", Part1: "sm", Scope: 'I', LanguageType: 'L', Name: "Samoan"},
"sn": {Part3: "sna", Part2B: "sna", Part2T: "sna", Part1: "sn", Scope: 'I', LanguageType: 'L', Name: "Shona"},
"sd": {Part3: "snd", Part2B: "snd", Part2T: "snd", Part1: "sd", Scope: 'I', LanguageType: 'L', Name: "Sindhi"},
"so": {Part3: "som", Part2B: "som", Part2T: "som", Part1: "so", Scope: 'I', LanguageType: 'L', Name: "Somali"},
"st": {Part3: "sot", Part2B: "sot", Part2T: "sot", Part1: "st", Scope: 'I', LanguageType: 'L', Name: "Southern Sotho"},
"es": {Part3: "spa", Part2B: "spa", Part2T: "spa", Part1: "es", Scope: 'I', LanguageType: 'L', Name: "Spanish"},
"sq": {Part3: "sqi", Part2B: "alb", Part2T: "sqi", Part1: "sq", Scope: 'M', LanguageType: 'L', Name: "Albanian"},
"sc": {Part3: "srd", Part2B: "srd", Part2T: "srd", Part1: "sc", Scope: 'M', LanguageType: 'L', Name: "Sardinian"},
"sr": {Part3: "srp", Part2B: "srp", Part2T: "srp", Part1: "sr", Scope: 'I', LanguageType: 'L', Name: "Serbian"},
"ss": {Part3: "ssw", Part2B: "ssw", Part2T: "ssw", Part1: "ss", Scope: 'I', LanguageType: 'L', Name: "Swati"},
"su": {Part3: "sun", Part2B: "sun", Part2T: "sun", Part1: "su", Scope: 'I', LanguageType: 'L', Name: "Sundanese"},
"sw": {Part3: "swa", Part2B: "swa", Part2T: "swa", Part1: "sw", Scope: 'M', LanguageType: 'L', Name: "Swahili (macrolanguage)"},
"sv": {Part3: "swe", Part2B: "swe", Part2T: "swe", Part1: "sv", Scope: 'I', LanguageType: 'L', Name: "Swedish"},
"ty": {Part3: "tah", Part2B: "tah", Part2T: "tah", Part1: "ty", Scope: 'I', LanguageType: 'L', Name: "Tahitian"},
"ta": {Part3: "tam", Part2B: "tam", Part2T: "tam", Part1: "ta", Scope: 'I', LanguageType: 'L', Name: "Tamil"},
"tt": {Part3: "tat", Part2B: "tat", Part2T: "tat", Part1: "tt", Scope: 'I', LanguageType: 'L', Name: "Tatar"},
"te": {Part3: "tel", Part2B: "tel", Part2T: "tel", Part1: "te", Scope: 'I', LanguageType: 'L', Name: "Telugu"},
"tg": {Part3: "tgk", Part2B: "tgk", Part2T: "tgk", Part1: "tg", Scope: 'I', LanguageType: 'L', Name: "Tajik"},
"tl": {Part3: "tgl", Part2B: "tgl", Part2T: "tgl", Part1: "tl", Scope: 'I', LanguageType: 'L', Name: "Tagalog"},
"th": {Part3: "tha", Part2B: "tha", Part2T: "tha", Part1: "th", Scope: 'I', LanguageType: 'L', Name: "Thai"},
"ti": {Part3: "tir", Part2B: "tir", Part2T: "tir", Part1: "ti", Scope: 'I', LanguageType: 'L', Name: "Tigrinya"},
"to": {Part3: "ton", Part2B: "ton", Part2T: "ton", Part1: "to", Scope: 'I', LanguageType: 'L', Name: "Tonga (Tonga Islands)"},
"tn": {Part3: "tsn", Part2B: "tsn", Part2T: "tsn", Part1: "tn", Scope: 'I', LanguageType: 'L', Name: "Tswana"},
"ts": {Part3: "tso", Part2B: "tso", Part2T: "tso", Part1: "ts", Scope: 'I', LanguageType: 'L', Name: "Tsonga"},
"tk": {Part3: "tuk", Part2B: "tuk", Part2T: "tuk", Part1: "tk", Scope: 'I', LanguageType: 'L', Name: "Turkmen"},
"tr": {Part3: "tur", Part2B: "tur", Part2T: "tur", Part1: "tr", Scope: 'I', LanguageType: 'L', Name: "Turkish"},
"tw": {Part3: "twi", Part2B: "twi", Part2T: "twi", Part1: "tw", Scope: 'I', LanguageType: 'L', Name: "Twi"},
"ug": {Part3: "uig", Part2B: "uig", Part2T: "uig", Part1: "ug", Scope: 'I', LanguageType: 'L', Name: "Uighur"},
"uk": {Part3: "ukr", Part2B: "ukr", Part2T: "ukr", Part1: "uk", Scope: 'I', LanguageType: 'L', Name: "Ukrainian"},
"ur": {Part3: "urd", Part2B: "urd", Part2T: "urd", Part1: "ur", Scope: 'I', LanguageType: 'L', Name: "Urdu"},
"uz": {Part3: "uzb", Part2B: "uzb", Part2T: "uzb", Part1: "uz", Scope: 'M', LanguageType: 'L', Name: "Uzbek"},
"ve": {Part3: "ven", Part2B: "ven", Part2T: "ven", Part1: "ve", Scope: 'I', LanguageType: 'L', Name: "Venda"},
"vi": {Part3: "vie", Part2B: "vie", Part2T: "vie", Part1: "vi", Scope: 'I', LanguageType: 'L', Name: "Vietnamese"},
"vo": {Part3: "vol", Part2B: "vol", Part2T: "vol", Part1: "vo", Scope: 'I', LanguageType: 'C', Name: "Volapük"},
"wa": {Part3: "wln", Part2B: "wln", Part2T: "wln", Part1: "wa", Scope: 'I', LanguageType: 'L', Name: "Walloon"},
"wo": {Part3: "wol", Part2B: "wol", Part2T: "wol", Part1: "wo", Scope: 'I', LanguageType: 'L', Name: "Wolof"},
"xh": {Part3: "xho", Part2B: "xho", Part2T: "xho", Part1: "xh", Scope: 'I', LanguageType: 'L', Name: "Xhosa"},
"yi": {Part3: "yid", Part2B: "yid", Part2T: "yid", Part1: "yi", Scope: 'M', LanguageType: 'L', Name: "Yiddish"},
"yo": {Part3: "yor", Part2B: "yor", Part2T: "yor", Part1: "yo", Scope: 'I', LanguageType: 'L', Name: "Yoruba"},
"za": {Part3: "zha", Part2B: "zha", Part2T: "zha", Part1: "za", Scope: 'M', LanguageType: 'L', Name: "Zhuang"},
"zh": {Part3: "zho", Part2B: "chi", Part2T: "zho", Part1: "zh", Scope: 'M', LanguageType: 'L', Name: "Chinese"},
"zu": {Part3: "zul", Part2B: "zul", Part2T: "zul", Part1: "zu", Scope: 'I', LanguageType: 'L', Name: "Zulu"},
} | lang-db.go | 0.506103 | 0.57818 | lang-db.go | starcoder |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.