摘要 |
A method, non-transitory computer readable medium, and apparatus for predicting a location of a short text are disclosed. For example, the method trains a model for each parent node of a grid of a plurality of parent nodes of a geographical area using a plurality of previously received short texts having a known location, receives the short text, applies a hierarchical modeling algorithm to the short text to calculate a weighted probability for one or more child nodes of one or more of the plurality of parent nodes and predicts the location of the short text within the grid of the geographical area based upon a child node of the one or more child nodes having a highest weighted probability. |
主权项 |
1. A method for predicting a location of a short text, comprising:
training, by a processor, a model for each parent node of a grid of a plurality of parent nodes of a geographical area using a plurality of previously received short texts having a known location; receiving, by the processor, the short text; applying, by the processor, a hierarchical modeling algorithm to the short text to calculate a weighted probability for one or more child nodes of one or more of the plurality of parent nodes; predicting, by the processor, the location of the short text within the grid of the geographical area based upon a child node of the one or more child nodes having a highest weighted probability; repeating, by the processor, the receiving, the applying and the predicting for a plurality of short texts; generating, by the processor, a graphical representation of the location of each one of the plurality of short texts within the grid, wherein the graphical representation comprises a plurality of parent nodes and each one of the plurality of parent nodes is associated with a different location; displaying, by the processor, the graphical representation in a first window; receiving, by the processor, a selection of a parent node of the plurality of parent nodes of the graphical representation; and displaying, by the processor, in a second window a list of one or more of the plurality of short texts that were predicted to be in the location of the parent node that is selected. |