0

I am trying to expand my knowledge in natural language processing and I recently came across concept of semantic representation of text.

I understand its definition "an abstract language in which meanings can be represented", but what are some ways to create semantics representation of text? I can't find a satisfying answer for that.

Thank you for your answers.

David Batista
  • 3,029
  • 2
  • 23
  • 42
awarus
  • 21
  • 5

1 Answers1

2

One of the simplest semantic representation of text would be transforming text into propositions:

If you get stressed or you don't eat well, then you get ill.

could be represented as:

get_stressed ∨ ¬eat_well → get_ill

in logic.

A sub-field called Semantic Role Labeling of NLP (with many rich resources propBank, verbNet, frameNet ...) is something you may find useful to look at, also. Especially, representing verbs with their roles, agents, direct-indirect objects or prepositions, sentences are represented as graphs serving semantics. Jurafsky has a chapter for SLR in chapter 18 in his book here : Chapter 18 - Semantic Role Labeling and Argument Structure

As in Jurafsky's sample, a verb's arguments could be extracted in a sentence:

John[AGENT] broke the window[THEME] with a rock[INSTRUMENT].

and could be simply represented like: break(John, the window, a rock)

Complete Book link

Hope this helps,

Cheers

Faisal Maqbool
  • 121
  • 1
  • 8
berkin
  • 548
  • 6
  • 18