languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
11.81k stars 1.38k forks source link

[en] Wrong tagging AS_ADVERB #4345

Open MikeUnwalla opened 3 years ago

MikeUnwalla commented 3 years ago

AS_ADVERB tags 'as' as an adverb (RB), but it is a preposition (IN):

The sacrifice fly as a statistical category was instituted in 1908, only to be discontinued in 1931.

Reference: https://www.lexico.com/definition/as

atif-github-venture commented 2 years ago

The link you shared, mentions "as" an adverb when used as "comparison" or to "emphasize". To me it sounds your example sentence is like a comparison "sacrifice" as a "statistical category". Correct me if I am wrong. @MikeUnwalla

MikeUnwalla commented 2 years ago

@atif-github-venture, 'sacrifice fly' is a technical term in baseball (https://baseball-statistics.com/Leaders/glossary.htm).

The example sentence (I think) refers to the function of the sacrifice fly.

Sorry for not including the baseball reference when I made the issue.