HullBreach Studios Ltd.
Home
AI Models
APIs
SDKs

Artificial Intelligence

Precious Metals Word Tagger PRODUCTION

General

This machine learning model tags English natural language queries relating to precious metals, quantities, weights, purities, and currencies. It handles a broad variety of units across geographical regions and time periods and can infer a variety of additional ones from context. It has support for metals, units, and currencies, in common formats (e.g. symbols, slangs, full names, etc.). This model can serve as a step in the process of developing a simple chatbot, as has been incorporated into HullBreach Studios' Loot Flipping. This initial version of the ML model was release with Loot Flipping Pro v6.0.0 in July 2024. (Later releases added support for more currencies and refined training data in both Loot Flipping Pro and Loot Flipping Lite.).

Type

Trained Labels

Formatting and Samples

Usage (Swift)

import NaturalLanguage

let inputText = ""

if let mlModel = try? MetalSpot(configuration: MLModelConfiguration()).model,
	let metalSpotModel = try? NLModel(mlModel: mlModel) {

	let tagger = NLTagger(tagSchemes: [NLTagScheme("PriceBot")])
	tagger.string = inputText.lowercased()
	tagger.setModels([metalSpotModel], forTagScheme: NLTagScheme("PriceBot"))

	let tags = tagger.tags(in: inputText.startIndex..<inputText.endIndex, unit: .word, scheme: NLTagScheme("PriceBot"), options: [.omitWhitespace, .omitPunctuation, .joinContractions]).map({ tag, range in

		return ["word": String(inputText[range]), "tag": tag?.rawValue ?? ""]

	}).filter({ $0["tag"] != "NONE" })
}
				

Navajo Language Parts of Speech IN-DEVELOPMENT

General

This in-development model tags syntactic structures of written Navajo text in preparation for translation into other languages. It has a special focus on descriptive compound words, such as verbose examples like "chidí naaʼnaʼí beeʼeldǫǫhtsoh bikááʼ dah naaznilígíí" (military tank).

Type

Formatting and Samples

Currency Exchange Rate IN-DEVELOPMENT

General

This model tags two currencies and a quantity for one of those currencies to determine exchange rate conversion.

Type

Formatting and Samples