"Airline" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Airline
-
- Interpreter Types
- Airline
- ComputedAirline
-
- Text Contents
- Airport
- Aircraft
- Ship
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Airline
-
- Interpreter Types
- Airline
- ComputedAirline
-
- Text Contents
- Airport
- Aircraft
- Ship
- Related Guides
-
See Also
"Airline" (Text Content Type)
Text identified as the name of an airline.
Details
- "Airline" can be used in TextCases, TextPosition and TextContents.
- "Airline" corresponds to any mention of an airline (real or not real) in the context of the text.
- Homonyms of airlines that are not airlines should not be detected as "Airline" (if the context allows disambiguation).
- TextCases[…,"Airline""Interpretation"] attempts to return entities of type "Airline", as Interpreter["Airline"] does.
- Any specific "Airline" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of airlines in a text:
TextCases["On October 25, 2015, British Airways became the third carrier at MIA to operate the Airbus A380, after Lufthansa and Air France.", "Airline"]Get the result as a list of "Airline" entities:
TextCases["On October 25, 2015, British Airways became the third carrier at MIA to operate the Airbus A380, after Lufthansa and Air France.", "Airline" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Airline"] to text snippets:
Interpreter["Airline"][{"British Airways", "Lufthansa", "Air France"}]Get properties about occurrences of airlines:
TextContents["On October 25, 2015, British Airways became the third carrier at MIA to operate the Airbus A380, after Lufthansa and Air France.", "Airline", All]Find mentions of Compagnie National Air France in a text:
TextContents["The concourse contains a premium lounge for international passengers flying in first and business class as well as OneWorld Emerald and Sapphire elite members. On October 25, 2015, British Airways became the third carrier at MIA to operate the Airbus A380, after Lufthansa and Air France. The flight to London-Heathrow boards at gates E6/E8. The seven-story Miami-International Airport hotel and many Miami-Dade Aviation Department executive offices are in the Concourse E portion of the terminal. Level 1 houses two domestic baggage carousels.", Entity["Airline", "CompagnieNationalAirFrance::8p963"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: Airline
Interpreter Types: Airline ComputedAirline