The Hilmalkov model: the word-like state behind the word series
Dismantling word labels into state transfer and observational generation and clarifying the approximation of models.
Learning objectives and first steps2 objectives 2 first fixes
Try to do it after reading
- Dismantling word labels into state transfer and observational generation and clarifying the approximation of models.
- Check the input, label and evaluation conditions in the example
Suggested first
- Text Tasks and Language Expressions
- Conditional probability and vector calculations
Observe words, extrapolate hidden words
The word type labels want to assign a label to each word in the sentence, such as a word, verb or adjective. The Hilmarkov model looks at the word type as a hidden state and the actual word as a state-generated observation. It also describes how the adjacent labels are connected and which words are more likely to appear under a label.
The first step usually leaves the current label to the previous one and the current word to the current one. The dependence on real languages is much greater, but this approximation makes learning and decoding easier to decompose. The starting state, the end state and the sentence boundary must be clear, otherwise the cross-wording of labels that should not be adjacent will be counted as evidence of diversion.
Where do the two probabilities come from
In marked material, the probability of transfer can be estimated from the label binary frequency, and the probability of launch can be estimated from the word frequency corresponding to a label. For example, terminology is often followed by verbs providing evidence of diversion; "Running" often appears under the verb label to provide evidence of launch. It may also be a term, and ultimately needs to be decided jointly with the labels around it.
Construct an example of two labels: 0.6 for the word to the verb and 0.4 for the word to the word; The probability of a word being fired under a verb is 0.3 and under a noun is 0.1. If the last step is defined as a noun, the local multipliers for the two extensions are 0.18 and 0.04, respectively. This comparison still does not include subsequent words and cannot be used directly as the best path for the entire sentence.
Conditions resulting from the creation of models
Model defines the probability of a combination of labels and words, and then selects the labels based on the observed sentence. The launch item needs to be standardized throughout the list, and the lack of a word can be a clear problem. Smoothing avoids zero probabilities, but information about names, numbers and forms often requires additional design; The simple possibility of giving all the unknown words the same small probability would throw away a lot of clues.
In addition to the overall word accuracy rate, the evaluation should look at the non-observed and ambiguous terms separately. HF points and easy functional words may hide errors. The tab set, the word-splitting rules and the acronyms must also be consistent and the results under the different verb criteria cannot be directly compared.
The limitations of HMM explain exactly why the follow-up model introduced a richer observation feature. It is suitable for learning sequence probabilities decomposition and dynamic planning, but should not be described as a language that can be expressed in its entirety. Debugs first check whether each line is transferred, launch probability is consolidated, and then check the decoding results with a short list of all paths.
Check understanding
Is the probability of launching a word after a given word?
In this generation model, the probability of launching is the probability of a word being observed after a label has been given. The presumption of labels in the given sentence should be combined with transfer, a priori and unimonization, and conditions should not be reversed.
Why is it wrong to select the word type of the most likely launch at each location?
There is also transfer dependency between labels. A group of best labels may form extremely low probability or even illegal sequences, and should be more complete than a partial launch item.
Sources and reconciliations
Definitions, methods and interfaces are available.
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.