Which particle should I use?


I am trying to make the following sentence:

"I need to eat something" , but I don't know which particle I should use, I've
come up with these 2 sentences, which one is right?

1 何かを食べるのが必要

2 何かを食べるを必要

Should I use が or を?

Also I don't get if 必要 is a verb or not so I'm not sure if I should use です at
the end of both.

Edit: in the second sentence I have two を particles, is it allowed or the
sentence should be:

何かに食べるを必要




# Which sentence is right?

>   1. 何かを食べるのが必要
>

This is right(but somewhat unnatural).

>   2. 何かを食べるを必要
>

This is wrong(Even so most native speakers would understand what you mean).

This is because 必要 is not a verb.

The sentence @user3856370 wrote:

> 何か食べるものがほしい。

is better.

It seems like you are assuming that the pattern `OBJECT を VERB` will translate
to `SUBJECT VERB OBJECT` in English and similarly that `SUBJECT が VERB`
equates to `SUBJECT is(are,be) ADJECTIVE` or `SUBJECT is(are,be) NOUN`, right?

I am not really understanding what you mean by "verb" in your question.

# Should You use `です`?

`です` is optional in terms of grammar, but I feel that adding `です` is better.

`です` impresses listeners politeness or objectivity.

Moreover, in this sentence, you might be trying to ask for a favor or persuade
someone to do something. Especially in these cases, adding `です` is better
since it is more polite.

Thus, I would suggest:

> 何か食べるものがほしいです

# IS having two を-particles allowed?

For example, the sentence

> 何か を 食べること を やめた

is grammatical.

Using the `NOUN(SUBJECT) を VERB` → `OBJECT VERB NOUN(SUBJECT)` rule,

> 何かを食べるを必要

There are two candidates for parsing this:

  1. ((何か を 食べる) を 必要)
  2. (何か を (食べる を 必要))

## candidate 2

`食べる を 必要` is `VERB を ADJECTIVE`.  
This way of parsing it is not grammatical, thus candidate 2 is invalid.

## candidate 1

`何か を 食べる` is `SUBJECT を VERB`.  
This is grammatical and a complete sentence.

Next,  
((何か を 食べる) を 必要) is `SENTENCE を ADJECTIVE`.  
This is not grammatical, thus candidate 1 is invalid.

And thus,

> 何かに食べるを必要 is wrong.




If you want to use 必要 then:

> 何か食べるものが必要だ。

I'm not a native speaker but I think this has more of a meaning that 'eating
something is a requirement'. Perhaps

> 何か食べるものがほしい。

would be better.

必要 is not a verb. It is a na-adjective. When it modifies a noun you add な to
the end of it. When it is used as a predicate it takes だ or です.

I replaced の with もの because it is a 'tangible thing' that you are needing.

