AI-generated Key Takeaways
-
FlightNumberEntity
provides extracted airline and flight number information from text. -
It inherits from the
Entity
class and is identified byTYPE_FLIGHT_NUMBER
. -
You can retrieve the airline code using
getAirlineCode()
(two or three letter IATA code). -
You can retrieve the flight number using
getFlightNumber()
(1 to 4 digit number as a String).
A flight number entity extracted from a piece of text. It provides the detected values for the airline and flight number.
Inherited Constant Summary
Public Method Summary
String |
getAirlineCode()
Returns the IATA airline designator detected for this entity (two or three
letters String).
|
String |
getFlightNumber()
Returns the flight number detected for this entity (1 to 4 digit number,
represented as a String).
|
Inherited Method Summary
Public Methods
public String getAirlineCode ()
Returns the IATA airline designator detected for this entity (two or three letters String).
public String getFlightNumber ()
Returns the flight number detected for this entity (1 to 4 digit number, represented as a String).