AGENT SKILL
computational-linguistics
Computational linguistics fundamentals
- License 许可
- MIT
- 最近更新
- 2026-03-01
- Stars
- ★ 3
- Forks
- 2
01 前言 Front Matter
- name
- computational-linguistics
- license
- MIT
- metadata
- { "audience": "machine-learning-engineers", "category": "artificial-intelligence" }
- description
- Computational linguistics fundamentals
- compatibility
- opencode
02 资源文件 2
- 资产文件assets/icon.png7.8 KB
- 资产文件assets/logo.png32.3 KB
03 SKILL.md 正文
What I do
- Apply linguistic theory to computation
- Build language models with linguistic structure
- Implement syntactic and semantic analysis
- Create cross-linguistic NLP systems
- Handle multilingual text processing
When to use me
Use me when:
- Building linguistically-aware NLP
- Multilingual applications
- Grammar and syntax processing
- Semantic representation
Key Concepts
Linguistic Analysis Levels
┌─────────────────────────────────────────────┐
│ Discourse │
│ (context, coherence) │
├─────────────────────────────────────────────┤
│ Semantics │
│ (meaning, representation) │
├─────────────────────────────────────────────┤
│ Pragmatics │
│ (intent, context, speech acts) │
├─────────────────────────────────────────────┤
│ Syntax │
│ (grammar, structure rules) │
├─────────────────────────────────────────────┤
│ Morphology │
│ (word formation, inflections) │
├─────────────────────────────────────────────┤
│ Phonology/Orthography │
│ (sounds, written form) │
└─────────────────────────────────────────────┘
Syntax Parsing
import spacy
nlp = spacy.load("en_core_web_sm")
doc = nlp("The cat sat on the mat.")
# Part-of-speech tags
for token in doc:
print(token.text, token.pos_, token.tag_)
# Dependency parsing
for token in doc:
print(token.text, token.dep_, token.head.text)
# Named entities
for ent in doc.ents:
print(ent.text, ent.label_)
Semantic Representation
- Formal Semantics: Lambda calculus, FOL
- Frame Semantics: FrameNet
- Semantic Primitives: Primitive theory
- Distributional Semantics: Word embeddings
Linguistic Resources
- WordNet: Lexical database
- UD: Universal Dependencies
- Penn Treebank: Syntactic annotations
- BabelNet: Multilingual lexical knowledge
04 同仓库更多 Skills
xamarin
Xamarin cross-platform development
★ 3
wrangling
Data wrangling fundamentals
★ 3
windows
Windows operating system administration and scripting
★ 3
wide-column
Wide-column data model
★ 3
wide-column-stores
Wide-column database stores
★ 3
websockets
WebSocket implementation and best practices
★ 3