Crate ticker_sniffer

Crate ticker_sniffer 

Source

Re-exports§

pub use config::DEFAULT_COMPANY_TOKEN_PROCESSOR_CONFIG;
pub use structs::CompanySymbolListPreprocessor;
pub use structs::CompanyTokenMapper;
pub use structs::CompanyTokenProcessor;
pub use structs::CompanyTokenProcessorConfig;
pub use structs::Error;
pub use structs::TokenMapper;
pub use structs::TokenParityState;
pub use structs::TokenRangeState;
pub use structs::Tokenizer;
pub use types::AlternateCompanyName;
pub use types::CompanyName;
pub use types::CompanySymbolList;
pub use types::TickerSymbol;
pub use types::TickerSymbolFrequencyMap;
pub use types::Token;
pub use types::TokenId;
pub use types::TokenRef;
pub use types::TokenVector;

Modules§

config
constants
sort_results
structs
types

Statics§

COMPRESSED_COMPANY_SYMBOL_LIST_BYTE_ARRAY

Functions§

extract_tickers_from_text
Extracts ticker symbols from the provided text using the default configuration.
extract_tickers_from_text_with_custom_config
Extracts ticker symbols from the provided text using a custom configuration.
sort_results
Sorts a mapping of ticker symbols to their frequencies.