Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
2 lines
522 B
Text
2 lines
522 B
Text
The "embedDescriptor" method uses information stored in the first sub-phrase to embed the descriptor after the direction so that we end up with phrases like "N winds 10 mph" instead of "Winds N 10 mph". It's Trigger Condition is that all sub-phrases have the "words" attribute set. When this is the case, "embedDescriptor" checks to see if the "embedded_descriptor_flag" is set. If so, it uses the "dirStr" and "phraseDescriptor" attributes of the first non-empty sub-phrase (set by "vector_words") to switch the order.
|
|
|