Natural Language Processing
Build a word from shared fragments
Remove the whole-word contribution
A missing whole-word entry need not leave Botie without a representation when its spelling fragments have vectors.
BOTIE
The inputs we are comparing
Word vector
A known whole word
- 01
- 10
Only the subwords are known
- 00
- 10
First subword vector
A known whole word
- 00
- 12
Only the subwords are known
- 00
- 11
Second subword vector
Same in both cases
- 01
- 11
Result for a known whole word
- 02
- 13
For a list use brackets, such as [2, 4]. For a matrix put each row in brackets. Text answers can stay as text.
Two spelling fragments pull in different directions
This check uses the pieces from “Assemble the word from its available parts”.
BOTIE
- Word vector
- 00
- 10
- 20
- First subword vector
- 02
- 1-1
- 23
- Second subword vector
- 0-2
- 14
- 21
Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
What would be missing if neither the word nor any of its fragments had useful vectors?
Sharing spelling features provides coverage, but does not by itself establish the meaning of an unfamiliar word.
This is a small construction problem. The lesson explains the assumptions and the parts of the full method that this example leaves out.
Work through the Python challenges →