Skip to main content

rust_macios/
natural_language.rs

1//! Analyze natural language text and deduce its language-specific metadata.
2
3use crate::foundation;
4
5/* Tokenization
6 */
7
8mod nl_tokenizer;
9pub use nl_tokenizer::*;
10
11/* Language identification
12 */
13
14mod nl_language_recognizer;
15pub use nl_language_recognizer::*;
16
17mod nl_language;
18pub use nl_language::*;
19
20/// The languages that the Natural Language framework supports.
21pub type NLLanguage = foundation::NSString;
22
23/* Linguistic tags
24 */
25
26mod nl_tagger;
27pub use nl_tagger::*;
28
29mod nl_gazetteer;
30pub use nl_gazetteer::*;
31
32/* Text embedding */
33mod nl_embedding;
34pub use nl_embedding::*;
35
36/* Natural language models
37 */
38
39mod nl_model;
40pub use nl_model::*;
41
42mod nl_model_configuration;
43pub use nl_model_configuration::*;